Documentation
¶
Index ¶
- Constants
- type Key
- type Middleware
- func (m *Middleware) CaddyModule() caddy.ModuleInfo
- func (m *Middleware) Provision(ctx caddy.Context) error
- func (m *Middleware) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
- func (m *Middleware) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
- func (m *Middleware) Validate() error
Constants ¶
View Source
const (
Prefix = "lst_"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
func (*Middleware) CaddyModule ¶
func (m *Middleware) CaddyModule() caddy.ModuleInfo
func (*Middleware) ServeHTTP ¶
func (m *Middleware) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
func (*Middleware) UnmarshalCaddyfile ¶
func (m *Middleware) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
UnmarshalCaddyfile sets up Lessor from Caddyfile tokens. Syntax: UnmarshalCaddyfile sets up the DNS provider from Caddyfile tokens. Syntax:
token [<token_file>] { file <token_file> issuer <issuer_url> }
func (*Middleware) Validate ¶
func (m *Middleware) Validate() error
Click to show internal directories.
Click to hide internal directories.