Documentation ¶
Overview ¶
Package plugin_simplecache_conteo is a plugin to cache responses to disk.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CacheSystem ¶ added in v1.0.2
type Config ¶
type Config struct { Path string `json:"path" yaml:"path" toml:"path"` MaxExpiry int `json:"maxExpiry" yaml:"maxExpiry" toml:"maxExpiry"` Cleanup int `json:"cleanup" yaml:"cleanup" toml:"cleanup"` Memory bool `json:"memory" yaml:"memory" toml:"memory"` AddStatusHeader bool `json:"addStatusHeader" yaml:"addStatusHeader" toml:"addStatusHeader"` FlushHeader string `json:"flushHeader" yaml:"flushHeader" toml:"flushHeader"` NextGenFormats []string `json:"nextGenFormats" yaml:"nextGenFormats" toml:"nextGenFormats"` Headers []string `json:"headers" yaml:"headers" toml:"headers"` Key KeyContext `json:"key" yaml:"key" toml:"key"` Debug bool `json:"debug" yaml:"debug" toml:"debug"` }
Config configures the middleware.
type KeyContext ¶ added in v0.0.7
Directories ¶
Path | Synopsis |
---|---|
provider
|
|
api
Package plugin_simplecache_conteo is a plugin to cache responses to disk.
|
Package plugin_simplecache_conteo is a plugin to cache responses to disk. |
local
Package plugin_simplecache_conteo is a plugin to cache responses to disk.
|
Package plugin_simplecache_conteo is a plugin to cache responses to disk. |
Click to show internal directories.
Click to hide internal directories.