Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsistentRing ¶
Consistent HashRing implementation
func (*ConsistentRing) BuildRing ¶
func (r *ConsistentRing) BuildRing(shards []Shard) *HashRing
Build a consistent HashRing with given shard information
type HashRing ¶
type HashRing struct {
// contains filtered or unexported fields
}
HashRing object for a clustered connector
type NodeReader ¶
type NodeReader interface {
ReadNodes() []Shard
}
type RingBuilder ¶
Click to show internal directories.
Click to hide internal directories.