httpcache

package module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

README

traefik-http-cache-plugin

HTTP cache service developed as a Traefik plugin.

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL