Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
Bucket is a source we hash into. The Label() is used as the hash key and Weight represents how much we weight this bucket against others
type Continuum ¶
type Continuum struct {
// contains filtered or unexported fields
}
Continuum stores the ketama hashring and allows users to hash bytes into the ring
Click to show internal directories.
Click to hide internal directories.