Documentation
¶
Index ¶
- type WKD
- func (WKD) CaddyModule() caddy.ModuleInfo
- func (w *WKD) Discover(hash, domain string) ([]*openpgp.Entity, error)
- func (w *WKD) Provision(ctx caddy.Context) error
- func (w *WKD) ServeHTTP(rw http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
- func (w *WKD) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
- func (w *WKD) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WKD ¶
type WKD struct {
Path string `json:"path"`
Extensions []string `json:"extensions,omitempty"`
// Override domain for key filtering. If set, keys are filtered
// against this domain instead of the request Host header.
Domain string `json:"domain,omitempty"`
// Skip domain filtering entirely. Serves all keys regardless
// of domain. Use with caution.
DangerousAllowAnyHost bool `json:"dangerous_allow_any_host,omitempty"`
// contains filtered or unexported fields
}
func (WKD) CaddyModule ¶
func (WKD) CaddyModule() caddy.ModuleInfo
Click to show internal directories.
Click to hide internal directories.