Documentation ¶
Index ¶
- func AuthRequired() gin.HandlerFunc
- func AuthServerRequest() gin.HandlerFunc
- func GetUserMsg(c *gin.Context)
- func HealthCheck(c *gin.Context)
- func LdapLogin(c *gin.Context)
- func ListRole(c *gin.Context)
- func ListUser(c *gin.Context)
- func Login(c *gin.Context)
- func Logout(c *gin.Context)
- func Register(c *gin.Context)
- func UpdateRole(c *gin.Context)
- func UpdateRoleUser(c *gin.Context)
- func UpdateUserMsg(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthRequired ¶
func AuthRequired() gin.HandlerFunc
func AuthServerRequest ¶ added in v1.5.4
func AuthServerRequest() 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 UpdateRole ¶ added in v1.1.0
func UpdateRoleUser ¶ added in v1.1.0
func UpdateUserMsg ¶ added in v1.0.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.