consistentHashBalancer

package
v0.0.0-...-fe3c5db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2018 License: MIT Imports: 9 Imported by: 0

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

func NewBuilder(key interface{}) balancer.Builder

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL