MCPcopy Create free account
hub / github.com/dhij/ecomm / authKey

Struct authKey

ecomm-api/handler/middleware.go:12–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10)
11
12type authKey struct{}
13
14func GetAuthMiddlewareFunc(tokenMaker *token.JWTMaker) func(http.Handler) http.Handler {
15 return func(next http.Handler) http.Handler {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected