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

Method CaddyModule

modules/caddyhttp/reverseproxy/admin.go:43–48  ·  view source on GitHub ↗

CaddyModule returns the Caddy module information.

()

Source from the content-addressed store, hash-verified

41
42// CaddyModule returns the Caddy module information.
43func (adminUpstreams) CaddyModule() caddy.ModuleInfo {
44 return caddy.ModuleInfo{
45 ID: "admin.api.reverse_proxy",
46 New: func() caddy.Module { return new(adminUpstreams) },
47 }
48}
49
50// Routes returns a route for the /reverse_proxy/upstreams endpoint.
51func (al adminUpstreams) Routes() []caddy.AdminRoute {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected