user

package
v0.0.0-...-bb0d4a4 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthRequired

func AuthRequired() gin.HandlerFunc

func AuthServerRequest

func AuthServerRequest() gin.HandlerFunc

func GetUserMsg

func GetUserMsg(c *gin.Context)

func HealthCheck

func HealthCheck(c *gin.Context)

func ListRole

func ListRole(c *gin.Context)

func ListUser

func ListUser(c *gin.Context)

func Login

func Login(c *gin.Context)

@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

func Logout(c *gin.Context)

@Summary 登出 @Produce json @Success 200 {string} json "{"message": "successfully logout"}" @Router /login [get]

func Register

func Register(c *gin.Context)

func UpdateRole

func UpdateRole(c *gin.Context)

func UpdateRoleUser

func UpdateRoleUser(c *gin.Context)

func UpdateUserMsg

func UpdateUserMsg(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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