package
0.0.0-20201010064512-ade9fc0d65ef
Repository: https://github.com/mdgsf/utils.git
Documentation: pkg.go.dev

# README

cache

fork from beego/cache.

# Packages

No description provided by the author

# Functions

GetBool convert interface to bool.
GetFloat64 convert interface to float64.
GetInt convert interface to int.
GetInt64 convert interface to int64.
GetString convert interface to string.
NewCache Create a new cache driver by adapter name and config string.
NewMemoryCache returns a new MemoryCache.
Register makes a cache adapter available by the adapter name.

# Variables

1 minute.
No description provided by the author

# Structs

MemoryCache is Memory cache adapter.
MemoryItem store memory cache item.

# Interfaces

Cache interface contains all behaviors for cache adapter.

# Type aliases

Instance is a function create a new Cache Instance.