Documentation ¶
Index ¶
Constants ¶
View Source
const ( ShardTypeHash = iota + 1 ShardTypeRange )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Sharder ¶
type Sharder struct {
// contains filtered or unexported fields
}
func NewSharder ¶
func (*Sharder) CalculateShard ¶
func (*Sharder) CalculateShardWithShardIDs ¶
Click to show internal directories.
Click to hide internal directories.