Documentation ¶
Index ¶
- type WPVersion
- func (m *WPVersion) CaddyModule() caddy.ModuleInfo
- func (m *WPVersion) Cleanup() error
- func (m *WPVersion) InterfaceGuard() caddyhttp.MiddlewareHandler
- func (m *WPVersion) Provision(ctx caddy.Context) error
- func (m *WPVersion) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
- func (m *WPVersion) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WPVersion ¶
type WPVersion struct { BasePath string `json:"base_path"` CacheExpiryDuration time.Duration `json:"cache_expiry_duration"` // contains filtered or unexported fields }
WPVersion is the middleware struct.
func (*WPVersion) CaddyModule ¶
func (m *WPVersion) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (*WPVersion) InterfaceGuard ¶ added in v0.0.4
func (m *WPVersion) InterfaceGuard() caddyhttp.MiddlewareHandler
Click to show internal directories.
Click to hide internal directories.