Documentation
¶
Index ¶
- func Clear()
- func Delete(key string)
- func DeleteTag(tag string)
- func GC()
- func Get[T any](key string) (T, bool)
- func GetStale[T any](key string) (T, bool)
- func RunGCInterval(ctx context.Context, d time.Duration)
- func Set(key string, value any, opt *SetOptions)
- func SetDisable(value bool)
- type SetOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Set ¶
func Set(key string, value any, opt *SetOptions)
func SetDisable ¶
func SetDisable(value bool)
Types ¶
type SetOptions ¶
Click to show internal directories.
Click to hide internal directories.