MCPcopy
hub / github.com/fabiolb/fabio / testAuth

Struct testAuth

route/auth_test.go:11–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type testAuth struct {
12 ok bool
13}
14
15func (t *testAuth) Authorized(r *http.Request, w http.ResponseWriter) bool {
16 return t.ok

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected