//
pkg.gl
Category
github.com/patrickascher/gofer
cache
package
0.1.14-beta9
Repository:
https://github.com/patrickascher/gofer.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
8
Files
340 SLOC
#
Packages
memory
Package memory implements the cache.Interface and registers a memory provider.
mocks
No description provided by the author
#
Functions
New
New returns a specific cache provider by its name and given options.
Register
Register a new cache provider by name.
#
Constants
DefaultExpiration
DefaultExpiration of the cache provider.
DefaultPrefix
DefaultPrefix of the cache provider.
MEMORY
All predefined providers are listed here.
NoExpiration
NoExpiration for the cache item.
#
Variables
ErrNotExist
Error messages.
#
Interfaces
Interface
Interface description for cache providers.
Item
Item interface for the cached object.
Manager
Manager for cache operations.