Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // 400 ErrorAlreadyRegistered = errors.New("already registered") ErrorIDCannotRequest = errors.New("ID cannot be requested") ErrorIDUnchangeable = errors.New("ID is unchangeable") // 401 ErrorAuthenticationFailed = errors.New("authentication failed") // 404 ErrorNotFound = errors.New("not found") )
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(s service.Service, config *HandlerConfig) *Handler
type HandlerConfig ¶ added in v1.2.2
type JwtCustomClaims ¶
type JwtCustomClaims struct {
jwt.RegisteredClaims
UserId uint
}
Click to show internal directories.
Click to hide internal directories.