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

Struct adminHandler

admin.go:767–777  ·  admin.go::adminHandler

Source from the content-addressed store, hash-verified

765}
766
767type adminHandler struct {
768 mux *http.ServeMux
769
770 // security for local/plaintext endpoint
771 enforceOrigin bool
772 enforceHost bool
773 allowedOrigins []*url.URL
774
775 // security for remote/encrypted endpoint
776 remoteControl *RemoteAdmin
777}
778
779// ServeHTTP is the external entry point for API requests.
780// It will only be called once per request.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected