controllers

package
v0.0.0-...-855b128 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAuthRoutes

func RegisterAuthRoutes(group *gin.RouterGroup)

Types

type LoginRequest

type LoginRequest struct {
	Email    string `json:"email"`
	Password string `json:"password"`
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL