MCPcopy
hub / github.com/caddyserver/caddy / init

Function init

modules/caddyhttp/caddyauth/caddyfile.go:24–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22)
23
24func init() {
25 httpcaddyfile.RegisterHandlerDirective("basicauth", parseCaddyfile) // deprecated
26 httpcaddyfile.RegisterHandlerDirective("basic_auth", parseCaddyfile)
27}
28
29// parseCaddyfile sets up the handler from Caddyfile tokens. Syntax:
30//

Callers

nothing calls this directly

Calls 1

RegisterHandlerDirectiveFunction · 0.92

Tested by

no test coverage detected