cache

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	Store      map[string]interface{} `json:"store"`
	Key        string                 `json:"key"`
	Timeout    string                 `json:"timeout"`
	Hash       string                 `json:"hash"`
	Check      config.CheckList       `json:"check"`
	ReleaseKey string                 `json:"releasekey"`

	HashFun func(b []byte) string
	Cache   cache.Cache
	// contains filtered or unexported fields
}

func (*Cache) Handler

func (p *Cache) Handler() fasthttp.RequestHandler

func (*Cache) Init

func (p *Cache) Init(c *middleware.Config) (err error)

func (*Cache) Process

func (*Cache) UnInit

func (p *Cache) UnInit()

Jump to

Keyboard shortcuts

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