Documentation
¶
Overview ¶
Package plugin_simplecache_conteo is a plugin to cache responses to disk.
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 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"`
AddStatusHeader bool `json:"addStatusHeader" yaml:"addStatusHeader" toml:"addStatusHeader"`
NextGenFormats []string `json:"nextGenFormats" yaml:"nextGenFormats" toml:"nextGenFormats"`
Headers []string `json:"headers" yaml:"headers" toml:"headers"`
BypassHeaders []string `json:"bypassHeaders" yaml:"bypassHeaders" toml:"bypassHeaders"`
Key *keyContext `json:"key" yaml:"key" toml:"key"`
}
Config configures the middleware.
Click to show internal directories.
Click to hide internal directories.