httpapi

package
v0.0.0-...-4f56fcc Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	// contains filtered or unexported fields
}

func NewAuth

func NewAuth(service *auth.Service) *Auth

NewAuth cria uma nova instância do controlador Auth.

func (*Auth) Mount

func (a *Auth) Mount(router *gin.RouterGroup)

Mount define as rotas de autenticação.

type User

type User struct {
	// contains filtered or unexported fields
}

func NewUser

func NewUser(service *users.Service, authMiddleware *middleware.AuthMiddleware) *User

NewUser cria uma nova instância do controlador User.

func (*User) Mount

func (u *User) Mount(router *gin.RouterGroup)

Mount define as rotas de usuário.

type Version

type Version struct{}

Version representa a estrutura do controlador da versão.

func NewVersion

func NewVersion() Version

Cria um novo controlador para a versão.

func (*Version) Mount

func (v *Version) Mount(router *gin.RouterGroup)

Mount associa o controlador ao grupo de rotas.

Jump to

Keyboard shortcuts

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