Documentation ¶
Overview ¶
Package conteo_traefik_cache is a plugin to cache responses to disk.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CacheSystem ¶
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"` LocalCacheOnly bool `json:"localCacheOnly" yaml:"localCacheOnly" toml:"localCacheOnly"` }
Config configures the middleware.
type KeyContext ¶
Click to show internal directories.
Click to hide internal directories.