cache

package
v0.0.0-...-b1f09d4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2018 License: MIT Imports: 4 Imported by: 0

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 Default

func Default(c echo.Context) ec.CacheStore

shortcut to get Cache

func NewClient

func NewClient() ec.CacheStore

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL