Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KetamaHash ¶
type KetamaHash struct { }
type ModularHash ¶
type ModularHash struct {
// contains filtered or unexported fields
}
func ModularHashIEEE ¶
func ModularHashIEEE() *ModularHash
func NewModularHash ¶
func NewModularHash(check CheckSum) *ModularHash
type Replication ¶
type RoundRobinSelector ¶
type RoundRobinSelector struct {
// contains filtered or unexported fields
}
func NewRoundRobin ¶
func NewRoundRobin() *RoundRobinSelector
func (*RoundRobinSelector) Replicate ¶
func (replica *RoundRobinSelector) Replicate(N int) int
Click to show internal directories.
Click to hide internal directories.