controller

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthController

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

func NewAuthController

func NewAuthController(s *service.UserService) *AuthController

func (*AuthController) GetChangePassword

func (ctrl *AuthController) GetChangePassword(ctx *gin.Context)

func (*AuthController) GetLogin

func (ctrl *AuthController) GetLogin(ctx *gin.Context)

func (*AuthController) Logout

func (ctrl *AuthController) Logout(ctx *gin.Context)

func (*AuthController) PostChangePassword

func (ctrl *AuthController) PostChangePassword(ctx *gin.Context)

func (*AuthController) PostLogin

func (ctrl *AuthController) PostLogin(ctx *gin.Context)

func (*AuthController) RegistRoute

func (ctrl *AuthController) RegistRoute(route gin.IRouter)

Jump to

Keyboard shortcuts

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