Versions in this module Expand all Collapse all v0 v0.0.1 Apr 10, 2021 Changes in this version + func ToBytes(v string) (b []byte) + type AllocationBucketFunc interface + F func(op *Options, k string) int + Init func(options *Options) bucket + Name func() string + type AvgBucket struct + func (a *AvgBucket) F(op *Options, k string) int + func (a *AvgBucket) Init(op *Options) (b bucket) + func (a *AvgBucket) Name() string + type Hash func(data []byte) uint32 + type Map struct + func New(options ...Option) *Map + func (m *Map) Delete(k string) + func (m *Map) Load(k string) (interface{}, bool) + func (m *Map) LoadAndDelete(k string) (value interface{}, loaded bool) + func (m *Map) LoadOrStore(k string, v interface{}) (actual interface{}, loaded bool) + func (m *Map) Range(f func(k string, v interface{}) bool) + func (m *Map) Store(k string, v interface{}) + type Option interface + Apply func(options *Options) + func WithAllocationBucket(f AllocationBucketFunc) Option + func WithBucket(bucketSize uint32) Option + func WithHash(hash Hash) Option + type Options struct