Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRoutes ¶
func CreateRoutes(e *echo.Echo)
Types ¶
type JWTClaims ¶
type JWTClaims struct { Id string `json:"id"` Username string `json:"username"` IsAdmin bool `json:"is_admin"` jwt.RegisteredClaims }
func DecodeUserTokenJwt ¶
type LoginResponse ¶
type LoginResponse struct {
AccessToken string `json:"accessToken"`
}
type RegisterDTO ¶
type RegisterResponse ¶
type RegisterResponse struct {
AccessToken string `json:"accessToken"`
}
Click to show internal directories.
Click to hide internal directories.