Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinKey ¶
type BinKey interface { // include only KVS compatable types, to fall in main constatrains. Comparable can be extended with go update to include array types declareted in next line comparable ~string | ~bool | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~[]bool | ~[]uint8 | ~[]int8 | ~[]int16 | ~[]uint16 | ~[]int32 | ~[]uint32 | ~[]int64 | ~[]uint64 | ~float32 | ~float64 | ~[]float32 | ~[]float64 }
type HaxMap ¶ added in v1.1.0
type HaxMap[K constraints.Integer | constraints.Float | constraints.Complex | ~string | uintptr, V any] struct { *haxmap.Map[K, V] }
type KVS ¶
type KVS[K comparable, V any] interface { Get(key K) (V, bool) Set(key K, value V) Range(func(key K, value V) bool) Close() }
type LevelDbKVS ¶
type LevelDbKVS[K ~int64, V ValueBytes[V]] struct { // contains filtered or unexported fields }
func NewLevelDbKV ¶
func NewLevelDbKV[K ~int64, V ValueBytes[V]](db *leveldb.DB) *LevelDbKVS[K, V]
func (*LevelDbKVS[K, V]) Close ¶
func (kvs *LevelDbKVS[K, V]) Close()
func (*LevelDbKVS[K, V]) Range ¶
func (kvs *LevelDbKVS[K, V]) Range(iterCall func(key K, value V) bool)
type MutexMap ¶
type MutexMap[K comparable, V any] struct { // contains filtered or unexported fields }
func NewMutexMap ¶
func NewMutexMap[K comparable, V any]() *MutexMap[K, V]
type ValueBytes ¶
type XMap ¶
type XMap[K comparable, V any] struct { // contains filtered or unexported fields }
func NewIntXMap ¶ added in v1.1.0
func NewIntXMap[K xsync.IntegerConstraint, V any]() *XMap[K, V]
func NewStringXMap ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.