Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultTimeout = time.Duration(100) * time.Millisecond
Variables ¶
Functions ¶
This section is empty.
Types ¶
type HashRing ¶
type MCConn ¶
type MCConn struct {
// contains filtered or unexported fields
}
type Proxy ¶
type Proxy struct { MaxIdle int // contains filtered or unexported fields }
func NewProxyFromSelector ¶
func NewProxyFromSelector(ss ServerSelector) *Proxy
func (*Proxy) ListenAndServe ¶
type ServerList ¶
type ServerList struct {
// contains filtered or unexported fields
}
func (*ServerList) Monitor ¶
func (self *ServerList) Monitor()
func (*ServerList) PickServer ¶
func (self *ServerList) PickServer(key string) (net.Addr, error)
func (*ServerList) SetServers ¶
func (self *ServerList) SetServers(servers ...string) error
Click to show internal directories.
Click to hide internal directories.