//
pkg.gl
Category
github.com/haikalvidya/goNews-RESTAPI
internal
redis
package
0.0.0-20210921081420-5276c5b233db
Repository:
https://github.com/haikalvidya/gonews-restapi.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
2
Files
63 SLOC
#
Functions
Delete
delete a key.
Exists
Check Existance of a key.
Flush
flushing all.
Get
get a key.
InitializeStorage
init the storage service and return a store pointer.
Set
set a key and value.
#
Constants
CacheDuration
set timer for cache redis duration.
#
Structs
StorageService
define struct of wrapper for raw redis client.