MCPcopy Create free account
hub / github.com/allegro/bigcache / emptyTestHandler

Function emptyTestHandler

server/middleware_test.go:11–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9)
10
11func emptyTestHandler() service {
12 return func(h http.Handler) http.Handler {
13 return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
14 w.WriteHeader(http.StatusAccepted)
15 })
16 }
17}
18
19func TestServiceLoader(t *testing.T) {
20 req, err := http.NewRequest("GET", "/api/v1/stats", nil)

Callers 1

TestServiceLoaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…