Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultExpiration = 3600 DEFAULT = time.Duration(0) FOREVER = time.Duration(-1) DefaultKey = "github.com/foxiswho/echo-go/modules/cache" )
Variables ¶
This section is empty.
Functions ¶
func Cache ¶
func Cache() echo.MiddlewareFunc
func Client ¶
func Client() ec.CacheStore
func NewClient ¶
func NewClient() ec.CacheStore
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.