auth

package
v0.0.0-...-a0869b6 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCallback

func GetCallback(c *gin.Context)

func GetInfo

func GetInfo(c *gin.Context)

func GetLogin

func GetLogin(c *gin.Context)

func GetLogout

func GetLogout(c *gin.Context)

func GetUserData

func GetUserData(token string, result chan UserResult)

func Init

func Init()

Types

type RoleResult

type RoleResult struct {
	Roles []string
	// contains filtered or unexported fields
}

type UserResult

type UserResult struct {
	UserData dbTypes.User `json:"user"`
	Message  string       `json:"message"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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