manager

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2022 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeManagerPassword

func ChangeManagerPassword(c *gin.Context) (int, interface{})

ChangeManagerPassword will change a manager's password to a random string.

func DeleteManager

func DeleteManager(c *gin.Context) (int, interface{})

DeleteManager is delete manager handler.

func GetAllManager

func GetAllManager(c *gin.Context) (int, interface{})

GetAllManager returns all the manager.

func ManagerLogin

func ManagerLogin(c *gin.Context) (int, interface{})

ManagerLogin is manager login handler.

func ManagerLogout

func ManagerLogout(c *gin.Context) (int, interface{})

ManagerLogout is the manager logout handler.

func NewManager

func NewManager(c *gin.Context) (int, interface{})

NewManager is add a new manager handler.

func RefreshManagerToken

func RefreshManagerToken(c *gin.Context) (int, interface{})

RefreshManagerToken can refresh a manager's token. For the check down bot also use a manager account in Cardinal, they can't login by themselves.

Types

This section is empty.

Jump to

Keyboard shortcuts

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