package
Version:
v0.2.3
Opens a new window with list of versions in this module.
Published: Mar 10, 2021
License: AGPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
type Item struct {
Content []byte
Expiration int64
}
Item is a cached reference
Expired returns true if the item has expired.
Storage mecanism for caching strings in memory
NewStorage creates a new in memory storage
Get a cached content by key
Set a cached content by key
Source Files
¶
Click to show internal directories.
Click to hide internal directories.