Documentation ¶
Overview ¶
Package consistentHashBalancer is all about building balancers that use a consistent hash keyed off a specific context.Value.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBuilder ¶
NewBuilder creates a new consistentHash balancer builder that keys off of a context value for field. it requires a two step calling process for each value used. b := consistentHash.NewBuilder("keyName") balancer.Register(b) grpc.WithBalancerName(b.Name)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.