Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultHashSeed = 0 MaxTrafficValue = 1000 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BucketService ¶
type BucketService interface {
// contains filtered or unexported methods
}
type Mmh3BucketService ¶
type Mmh3BucketService struct {
// contains filtered or unexported fields
}
func NewMmh3BucketService ¶
func NewMmh3BucketService() *Mmh3BucketService
func (*Mmh3BucketService) GetTrafficBucketIndex ¶
func (m *Mmh3BucketService) GetTrafficBucketIndex(hashKey string) (uint32, error)
Click to show internal directories.
Click to hide internal directories.