Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RandomPolicy ¶
type RandomPolicy struct { }
func NewRandomPolicy ¶
func NewRandomPolicy() *RandomPolicy
func (*RandomPolicy) AssignSlave ¶
func (r *RandomPolicy) AssignSlave(num int, slaveAddrList []string) ([]string, error)
Click to show internal directories.
Click to hide internal directories.