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 (*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.
Click to show internal directories.
Click to hide internal directories.