Documentation ¶
Index ¶
Constants ¶
View Source
const (
// TokenKey is authenticated token key
TokenKey = "authenticated-token"
)
Variables ¶
This section is empty.
Functions ¶
func NewAuthMiddleware ¶
func NewAuthMiddleware(ur repository.User) middleware.Auth
NewAuthMiddleware is create middleware for auth
func NewStateHandler ¶
NewStateHandler is create action handler for state
func NewUserHandler ¶ added in v1.6.3
func NewUserHandler(ur repository.User) handler.User
NewUserHandler is create action handler for user
func ValidationErrors ¶
ValidationErrors is create validation error message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.