controller

package
v0.0.0-...-a371a4b Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IUserController

type IUserController interface {
	AddUser(c *gin.Context)
	Login(c *gin.Context)
	DeleteUser(C *gin.Context)
}

func NewUserController

func NewUserController(userService service.IUserService, jwt jwt.IJWTPackage) IUserController

type UserController

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

func (UserController) AddUser

func (userController UserController) AddUser(c *gin.Context)

func (UserController) DeleteUser

func (userController UserController) DeleteUser(c *gin.Context)

func (UserController) Login

func (userController UserController) Login(c *gin.Context)

Jump to

Keyboard shortcuts

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