Versions in this module Expand all Collapse all v0 v0.1.0 Aug 4, 2022 Changes in this version + var ErrNoServers = errors.New("k8s-memcache-selector: no servers configured or available") + type Logger interface + Errorf func(format string, args ...any) + Infof func(format string, args ...any) + type Option func(o *options) + func WithLogger(log Logger) Option + type ServerList struct + func NewServerList(ctx context.Context, addr string, opt ...Option) (*ServerList, error) + func (ss *ServerList) Each(f func(net.Addr) error) error + func (ss *ServerList) PickServer(key string) (net.Addr, error)