Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster interface { Start() Shutdown() Join(addr ...string) (int, error) Members() []Member MembersByReplicaSet(replicaSets ...uint64) []Member MemberByID(string) Member MemberByHash(uint64) Member ReplicaSet() uint64 ServerID() []byte TotalReplicas() int Addr() string SetGatewayAddrs(hostPorts []string) error SetTunnelAddrs(hostPorts []string) error Subscribe(d Delegate) }
Click to show internal directories.
Click to hide internal directories.