handler

package
v0.0.0-...-96417ad Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountHandler

type AccountHandler interface {
	CreateAccount(ctx *gin.Context)
	Login(ctx *gin.Context)
	UpdateAccountInfo(ctx *gin.Context) //修改phone,email,password
	GetUserInfo(ctx *gin.Context)
	UpdateUserInfo(ctx *gin.Context)
}

func NewAccountHandler

func NewAccountHandler(h *Handler, service service.AccountService) AccountHandler

type Handler

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

func NewHandler

func NewHandler(l *log.Logger, jwt *jwt.JWT) *Handler

Jump to

Keyboard shortcuts

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