Versions in this module Expand all Collapse all v1 v1.0.2 Jun 30, 2022 Changes in this version + type Hash func(data []byte) uint32 + type LB struct + func NewLB() LB + func (l *LB) RR() *RR + func (l *LB) Shuffle() *Shuffle + type Map struct + func New(replicas int, fn Hash) *Map + func (m *Map) Add(keys ...string) + func (m *Map) Get(key string) string + type RR struct + func (r *RR) SwitchTo(indexSize int) (int, error) + type Shuffle struct + func (s *Shuffle) SwitchTo(indexSize int) (int, error)