Back to godoc.org

Package cache

v0.0.0-...-b5fa30d
Latest Go to latest

The latest major version is .

Published: May 29, 2019 | License: MIT | Module: github.com/hb-go/echo-web

Index

Constants

const (
	DefaultExpiration = 3600
	DEFAULT           = time.Duration(0)
	FOREVER           = time.Duration(-1)
	DefaultKey        = "github.com/hb-go/echo-web/modules/cache"
)

func Cache

func Cache() echo.MiddlewareFunc

func Default

func Default(c echo.Context) ec.CacheStore

shortcut to get Cache

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier