Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthRequired ¶
func AuthRequired() gin.HandlerFunc
func GetUserMsg ¶ added in v1.0.1
func HealthCheck ¶
func Login ¶
@Summary 登录 @Produce json @Param username query string true "username" @Param password query string true "password" @Success 200 {string} json "{"message": "login success"}" @Router /login [post]
func Logout ¶
@Summary 登出 @Produce json @Success 200 {string} json "{"message": "successfully logout"}" @Router /login [get]
func UpdateUserMsg ¶ added in v1.0.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.