README ¶ traefik-http-cache-plugin HTTP cache service developed as a Traefik plugin. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func New(ctx context.Context, next http.Handler, config *Config, name string) (http.Handler, error) type Config func CreateConfig() *Config type LogPlugin func (p *LogPlugin) ServeHTTP(rw http.ResponseWriter, req *http.Request) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(ctx context.Context, next http.Handler, config *Config, name string) (http.Handler, error) Types ¶ type Config ¶ type Config struct { EnableCache bool `json:"enableCache,omitempty"` } func CreateConfig ¶ func CreateConfig() *Config type LogPlugin ¶ type LogPlugin struct { // contains filtered or unexported fields } func (*LogPlugin) ServeHTTP ¶ func (p *LogPlugin) ServeHTTP(rw http.ResponseWriter, req *http.Request) Source Files ¶ View all Source files httpcache.go Click to show internal directories. Click to hide internal directories.