Documentation
¶
Overview ¶
Package plugin_simplecache is a plugin to cache responses to disk.
Package plugin_simplecache 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"`
}
Config configures the middleware.
Click to show internal directories.
Click to hide internal directories.