api

package
v0.0.0-...-97a7533 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentUser

func CurrentUser(c *gin.Context) *models.User

CurrentUser 获取当前用户

func ErrorResponse

func ErrorResponse(err error) serializer.Response

ErrorResponse 返回错误消息

func Ping

func Ping(c *gin.Context)

Ping 状态检查页面

func UserLogin

func UserLogin(c *gin.Context)

func UserRegister

func UserRegister(c *gin.Context)

UserRegister 用户注册接口

Types

This section is empty.

Jump to

Keyboard shortcuts

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