# Functions
NewResolverCallback creates a new ResolverCallback watching the passed registry.Registry.
TargetHostMatches checks target.Address host against the passed string.
TargetPIDMatches is a generic matcher for PID.
WithPriorityToLocal provides a BalancerOption to prioritize connections to local host.
WithPriorityToProcess is mainly for testing purpopse, to prioritize connections to current process.
WithRestrictToLocal provides a BalancerOption to forbid connection to hosts other than local.
WithRestrictToProcess is mainly for testing purpose, forbidding connection to other processes.
# Structs
BalancerOptions holds internal load balancer strategies.
ClientConfig holds configuration for a specific client (http or grpc).
ClusterConfig holds configuration for cluster.
LBStrategy holds LoadBalancer strategies for a given client.
No description provided by the author
# Interfaces
BalancerTarget is a load balancer target providing its own internal info.
ResolverCallback is a generic watcher for registry, that rebuilds the list of available targets and calls the passed callbacks on change event.
# Type aliases
No description provided by the author
BalancerTargetFilter is a generic signature for matching a BalancerTarget against specific condition.
No description provided by the author