MCPcopy Create free account
hub / github.com/TomDoesTech/GOTTH / AuthMiddleware

Struct AuthMiddleware

internal/middleware/middleware.go:103–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103type AuthMiddleware struct {
104 sessionStore store.SessionStore
105 sessionCookieName string
106}
107
108func NewAuthMiddleware(sessionStore store.SessionStore, sessionCookieName string) *AuthMiddleware {
109 return &AuthMiddleware{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected