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

Method ServeHTTP

modules/caddyhttp/caddyhttp.go:91–91  ·  view source on GitHub ↗
(http.ResponseWriter, *http.Request, Handler)

Source from the content-addressed store, hash-verified

89// write the response.
90type MiddlewareHandler interface {
91 ServeHTTP(http.ResponseWriter, *http.Request, Handler) error
92}
93
94// emptyHandler is used as a no-op handler.

Callers

nothing calls this directly

Implementers 15

adminHandleradmin.go
Handlermodules/caddypki/acmeserver/acmeserver
Servermodules/caddyhttp/server.go
StaticResponsemodules/caddyhttp/staticresp.go
Subroutemodules/caddyhttp/subroute.go
metricsInstrumentedRoutemodules/caddyhttp/metrics.go
StaticErrormodules/caddyhttp/staticerror.go
Invokemodules/caddyhttp/invoke.go
Rewritemodules/caddyhttp/rewrite/rewrite.go
Interceptmodules/caddyhttp/intercept/intercept.
Encodemodules/caddyhttp/encode/encode.go
LogAppendmodules/caddyhttp/logging/logappend.go

Calls

no outgoing calls

Tested by

no test coverage detected