Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheEngine ¶
type CacheEngine struct {
// contains filtered or unexported fields
}
CacheEngine handles the caching operations
func (*CacheEngine) Delete ¶
func (c *CacheEngine) Delete(key string) error
Delete removes a record from cache by a given key
func (*CacheEngine) Get ¶
func (c *CacheEngine) Get(key string) (interface{}, error)
Get retrieves a val from cache by a given key
Click to show internal directories.
Click to hide internal directories.