Versions in this module Expand all Collapse all v0 v0.0.2 Jun 1, 2021 v0.0.1 Jun 1, 2021 Changes in this version + const AuthorizationCookieName + const SolutionNamespaceCookieName + var AppContextKey = &contextKey + func ClearAuthCookie(w http.ResponseWriter) + func SetAuthCookie(w http.ResponseWriter, token string) + func WebsocketInitFunc() transport.WebsocketInitFunc + type AppContext struct + Cancel context.CancelFunc + SolutionNamespace string + Token uint + User *domain.User + func ForAppContext(ctx context.Context) *AppContext + type AuthMiddleWare struct + func NewAuthMiddleWare() *AuthMiddleWare + func (m *AuthMiddleWare) Authenticate(next http.Handler) http.Handler