Documentation ¶
Overview ¶
Package plugin_simplecache_lvlsgroup is a plugin to cache responses to disk.
Package plugin_simplecache_lvlsgroup 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"` CacheQueryParams bool `json:"cacheQueryParams" yaml:"cacheQueryParams" toml:"cacheQueryParams"` BlacklistedHeaders []string `json:"blacklistedHeaders" yaml:"blacklistedHeaders" toml:"blacklistedHeaders"` }
Config configures the middleware.
Click to show internal directories.
Click to hide internal directories.