Discover Packages
gofr.dev
examples
universal-example
redis
store
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Oct 24, 2023
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
Documentation
¶
Model is the type on which all the core layer's functionality is implemented
Get returns the value for a given key, throws an error, if something goes wrong.
Set accept key-value pair, and sets those in Redis, if expiration is non-zero value, it set an expiration(TTL)
on those keys, if expiration is zero, then keys have no expiration time.
Store is the abstraction of core layer
Source Files
¶
Click to show internal directories.
Click to hide internal directories.