Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeatureShard ¶
type FeatureShard struct {
// contains filtered or unexported fields
}
func NewFeatureShard ¶
func NewFeatureShard(nodes []string, replicaNum int) *FeatureShard
func (*FeatureShard) GetNodesByFeature ¶
func (this *FeatureShard) GetNodesByFeature(key []int64) (nodes []string, err error)
func (*FeatureShard) SetNodes ¶
func (this *FeatureShard) SetNodes(nodes []string, replicaNum int) *FeatureShard
Click to show internal directories.
Click to hide internal directories.