handlers

package
v0.0.0-...-7b933b0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPublicKey

func GetPublicKey(c *gin.Context)

GetPublicKey @BasePath / @Summary get public key @Schemes @Description get public key from server, use this to encryption @Tags hello-hutao @Accept json @Produce json @Success 200 {object} res.GetPublicKeyResponse @Router /public_key [get]

func Login

func Login()

Login 登陆

func Logoff

func Logoff()

Logoff 注销

func Logout

func Logout()

Logout 退出

func ModifyPassword

func ModifyPassword()

ModifyPassword 修改密码

func Register

func Register(ctx *gin.Context)

Register 注册 @BasePath /api/v1 @Summary user register @Tags user @Accept json @Produce json @Param user body services.User true "user info" @Success 200 {object} services.Hello @Router /api/v1/user/register [post]

func ResetPassword

func ResetPassword()

ResetPassword 重制密码

func SayHello

func SayHello(ctx *gin.Context)

SayHello @BasePath /api/v1 @Summary get hello @Schemes @Description get hello @Tags hello-hutao @Accept json @Produce json @Param name query string false "name" @Success 200 {object} services.Hello @Router /api/v1/hello [get]

Types

This section is empty.

Jump to

Keyboard shortcuts

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