Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAuthRoutes ¶
func RegisterAuthRoutes(group *gin.RouterGroup)
Types ¶
type LoginRequest ¶
LoginRequest representa o corpo da solicitação de login.
type LoginResponse ¶
type LoginResponse struct {
Token string `json:"token"`
}
LoginResponse representa a resposta do token JWT após um login bem-sucedido.
Click to show internal directories.
Click to hide internal directories.