package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Jan 4, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func GetOrSet(key string, value interface{}, expire ...int) []byte
GetOrSet returns existing value or if record doesn't exist
func Set(key string, value interface{}, expire ...int)
Set the cache data
func Sets(value interface{}, expire ...int)
Sets cache data based on value
Source Files
¶
Click to show internal directories.
Click to hide internal directories.