Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(servers []goketama.ServerInfo, spots int) memcache.ServerSelector
Types ¶
type ServerList ¶
ServerList is a simple ServerSelector. Its zero value is usable.
func (*ServerList) PickServer ¶
func (sl *ServerList) PickServer(key string) (net.Addr, error)
Click to show internal directories.
Click to hide internal directories.