Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyNode ¶ added in v1.6.13
type KeyNode[K comparable, T any] struct { Next *KeyNode[K, T] Key K Value T }
type LinkedKeyNode ¶ added in v1.6.13
type LinkedKeyNode[K comparable, T any] struct { Prev, Next *LinkedKeyNode[K, T] Key K Value T }
type LinkedNode ¶ added in v1.6.13
type LinkedNode[T any] struct { Prev, Next *LinkedNode[T] Value T }
type LinkedOrderedKeyNode ¶ added in v1.6.13
type LinkedOrderedKeyNode[K constraints.Ordered, T any] struct { Prev, Next *LinkedOrderedKeyNode[K, T] Key K Value T }
type OrderedKeyNode ¶ added in v1.6.13
type OrderedKeyNode[K constraints.Ordered, T any] struct { Next *OrderedKeyNode[K, T] Key K Value T }
type Remove ¶ added in v1.7.6
type Remove[K constraints.Key, V any] interface { Remove(key K) bool }
type SetWithExpire ¶
type StoreWithExpire ¶
type StoreWithExpire[K constraints.Key, V any] interface { SetWithExpire[K, V] Get[K, V] Delete[K, V] }
Directories
¶
| Path | Synopsis |
|---|---|
|
Package consistenthash provides an implementation of a ring hash.
|
Package consistenthash provides an implementation of a ring hash. |
|
tree
|
|
Click to show internal directories.
Click to hide internal directories.