MCPcopy
hub / github.com/grafana/dskit / Func

FuncType Func

middleware/middleware.go:18–18  ·  view source on GitHub ↗

Func is to Interface as http.HandlerFunc is to http.Handler

func(http.Handler) http.Handler

Source from the content-addressed store, hash-verified

16
17// Func is to Interface as http.HandlerFunc is to http.Handler
18type Func func(http.Handler) http.Handler
19
20// Wrap implements Interface
21func (m Func) Wrap(next http.Handler) http.Handler {

Callers 5

http_auth.goFile · 0.85
middleware.goFile · 0.85
MergeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected