user

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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 GetUserMsg(c *gin.Context)

func HealthCheck

func HealthCheck(c *gin.Context)

func LdapLogin

func LdapLogin(c *gin.Context)

func ListRole added in v1.1.0

func ListRole(c *gin.Context)

func ListUser added in v1.1.0

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 added in v1.0.1

func Register(c *gin.Context)

func UpdateRole added in v1.1.0

func UpdateRole(c *gin.Context)

func UpdateRoleUser added in v1.1.0

func UpdateRoleUser(c *gin.Context)

func UpdateUserMsg added in v1.0.1

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