Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // 400 ErrAlreadyRegistered = errors.New("already registered") ErrIDCannotRequest = errors.New("ID cannot be requested") ErrIDUnchangeable = errors.New("ID is unchangeable") // 401 ErrAuthenticationFailed = errors.New("authentication failed") // 404 ErrNotFound = 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.