Documentation
¶
Index ¶
- func Contains(key interface{}) bool
- func Expire()
- func Get(keys ...interface{}) (interface{}, bool)
- func GetMemoryLimit() int64
- func Init(fs ...Finalizer) (err error)
- func Len() int
- func Remove(keys ...any)
- func Set(ttl time.Duration, keyAndValue ...any)
- func Try(dest any, fallback func() error, ttl time.Duration, keys ...any) error
- type Finalizer
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.