package
Version:
v0.8.1
Opens a new window with list of versions in this module.
Published: Jul 27, 2024
License: MIT
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
¶
Get an itemfrom the cache. May be nil if non-existent.
GetWithID returns data from the cache using a kay appended to an id.
func Save(key string, data interface{})
Save a piece of data in the cache.
func SaveWithID(key string, id int, data interface{})
SaveWithID saves data to the cache, and appends the key to an id.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.