| 101 | } |
| 102 | |
| 103 | type AuthMiddleware struct { |
| 104 | sessionStore store.SessionStore |
| 105 | sessionCookieName string |
| 106 | } |
| 107 | |
| 108 | func NewAuthMiddleware(sessionStore store.SessionStore, sessionCookieName string) *AuthMiddleware { |
| 109 | return &AuthMiddleware{ |
nothing calls this directly
no outgoing calls
no test coverage detected