Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HMAC ¶
type HMAC struct {
Algorithm string `json:"algorithm,omitempty"`
Secret string `json:"secret,omitempty"`
Name string `json:"name,omitempty"`
// contains filtered or unexported fields
}
HMAC implements an HTTP handler that validates request body with hmac.
func (HMAC) CaddyModule ¶
func (HMAC) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (*HMAC) UnmarshalCaddyfile ¶
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
hmac [<name>] <algorithm> <secret>
Click to show internal directories.
Click to hide internal directories.