Documentation
¶
Index ¶
- func AnyKey(k interface{}) uint64
- func ByteKey(k byte) uint64
- func BytesKey(k []byte) uint64
- func Int16Key(k int16) uint64
- func Int32Key(k int32) uint64
- func Int64Key(k int64) uint64
- func Int8Key(k int8) uint64
- func IntKey(k int) uint64
- func StringKey(k string) uint64
- func Uint16Key(k uint16) uint64
- func Uint32Key(k uint32) uint64
- func Uint64Key(k uint64) uint64
- func Uint8Key(k uint8) uint64
- type Cache
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache represents key-value storage.
func New ¶
New creates key-value storage. resolution – configures cleanup manager. Cleanup operation locks storage so think twice before setting it to small value.
Click to show internal directories.
Click to hide internal directories.