Documentation ¶
Index ¶
- func Clear(cache Cache) error
- func Delete(cache Cache, key string) error
- func Get[T any](cache Cache, key string) (T, error)
- func GetAll(cache Cache) (map[string]string, error)
- func GetMulti(cache Cache, keys []string) (map[string]string, error)
- func Set(cache Cache, key string, value any, expireSec int64) error
- type Cache
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.