pagecache

package
v0.0.0-...-91dbda9 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BasePath  string = ""
	ExpireSec int64  = 0
)

Functions

func ClearExpiredFiles

func ClearExpiredFiles()

func InCacheList

func InCacheList(controllerName, actionName string) bool

func InitCache

func InitCache()

func NeedWrite

func NeedWrite(controllerName, actionName string, params map[string]string) bool

func Read

func Read(controllerName, actionName string, params map[string]string) (*string, error)

func Write

func Write(controllerName, actionName string, content *string, params map[string]string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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