Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileKV ¶
type FileKV[K comparable, V any] struct { // contains filtered or unexported fields }
FlieKV Generic KV storage
type Option ¶
type Option struct {
// contains filtered or unexported fields
}
Option FileKV configuration options
func BucketCount ¶
BucketCount create a config option for initial bucket count
func HashFunction ¶
func HashFunction[K comparable](hashFunction func(K) []byte) Option
HashFunction create config option for custom hash function
func LoadFactor ¶
LoadFactor create config option for load factor
Click to show internal directories.
Click to hide internal directories.