Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Delete ¶
type Delete[K constraints.Key, V any] interface { Delete(key K) }
type DurationGenerator ¶
type Get ¶
type Get[K constraints.Key, V any] interface { Get(key K) V }
type IdGenerator ¶
type IdGenerator[T constraints.ID] interface { Id() T }
type Key ¶
type Key[T constraints.Key] interface { Key() T }
type Set ¶
type Set[K constraints.Key, V any] interface { Set(key K, v V) }
type SetWithExpire ¶
type SetWithExpire[K constraints.Key, V any] interface { SetWithExpire(key K, v V, expire time.Duration) }
type StoreWithExpire ¶
type StoreWithExpire[K constraints.Key, V any] interface { SetWithExpire[K, V] Get[K, V] Delete[K, V] }
Click to show internal directories.
Click to hide internal directories.