Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthRequired ¶
func AuthRequired() gin.HandlerFunc
func AuthServer ¶
func AuthServer() gin.HandlerFunc
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]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.