MCPcopy
hub / github.com/gorilla/mux / testMiddleware

Struct testMiddleware

middleware_test.go:9–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7)
8
9type testMiddleware struct {
10 timesCalled uint
11}
12
13func (tm *testMiddleware) Middleware(h http.Handler) http.Handler {
14 return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected