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

Struct authenticationMiddleware

example_authentication_middleware_test.go:11–13  ·  view source on GitHub ↗

Define our struct

Source from the content-addressed store, hash-verified

9
10// Define our struct
11type authenticationMiddleware struct {
12 tokenUsers map[string]string
13}
14
15// Initialize it somewhere
16func (amw *authenticationMiddleware) Populate() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected