package
0.0.0-20240307075223-cfe2c2f43987
Repository: https://github.com/nextlag/gomart.git
Documentation: pkg.go.dev

# Functions

CookieAuthentication возвращает middleware для аутентификации пользователя по аутентификационной куке.
GetCookie retrieves the user's login from the "ErrAuth" cookie.
SetAuth creates a new cookie for the provided login and sets it in the HTTP response.

# Constants

No description provided by the author
LoginKey - ключ для контекста с логином пользователя.

# Structs

Claims introduces a custom claims framework for JWT.