MCPcopy Create free account
hub / github.com/caddyserver/caddy / CaddyModule

Method CaddyModule

modules/caddyhttp/matchers.go:781–786  ·  view source on GitHub ↗

CaddyModule returns the Caddy module information.

()

Source from the content-addressed store, hash-verified

779
780// CaddyModule returns the Caddy module information.
781func (MatchMethod) CaddyModule() caddy.ModuleInfo {
782 return caddy.ModuleInfo{
783 ID: "http.matchers.method",
784 New: func() caddy.Module { return new(MatchMethod) },
785 }
786}
787
788// UnmarshalCaddyfile implements caddyfile.Unmarshaler.
789func (m *MatchMethod) UnmarshalCaddyfile(d *caddyfile.Dispenser) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected