Documentation
¶
Index ¶
- Variables
- func AuthRequired() gin.HandlerFunc
- func AuthServerRequest() gin.HandlerFunc
- func BuildRegexPattern(template string) string
- func DistinctStringList(input, excludeList []string) (output []string)
- func GetUserMsg(c *gin.Context)
- func HealthCheck(c *gin.Context)
- func InitApiMenuMap(apiMenuCodeMap map[string]string)
- func ListManageRole(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 ¶
Functions ¶
func AuthRequired ¶
func AuthRequired() gin.HandlerFunc
func AuthServerRequest ¶
func AuthServerRequest() gin.HandlerFunc
func BuildRegexPattern ¶
func DistinctStringList ¶
func GetUserMsg ¶
func HealthCheck ¶
func InitApiMenuMap ¶
func ListManageRole ¶
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 ¶
Logout @Summary 登出 @Produce json @Success 200 {string} json "{"message": "successfully logout"}" @Router /login [get]
func UpdateRole ¶
func UpdateRoleUser ¶
func UpdateUserMsg ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.