func NewPeerResolver(numberOfShards int, resolver membership.Resolver, namedPort string) PeerResolver {
	return PeerResolver{
		numberOfShards: numberOfShards,
		resolver:       resolver,
		namedPort:      namedPort,
	}
}
// NewPeerResolver creates a new history peer resolver.
NewPeerResolver creates a new history peer resolver.
// NewPeerResolver creates a new history peer resolver .
func NewPeerResolver(numberOfShards int, resolver membership.Resolver, namedPort string) PeerResolver {
	return PeerResolver{
		numberOfShards: numberOfShards,
		resolver:       resolver,
		namedPort:      namedPort,
	}
}
func NewPeerResolver ( numberOfShards int , resolver membership . Resolver , namedPort string ) PeerResolver { return PeerResolver { numberOfShards : numberOfShards , resolver : resolver , namedPort : namedPort , } }
NewPeerResolver creates a new history peer resolver.
NewPeerResolver creates a new history peer resolver .