Documentation ¶
Index ¶
- func ChangeManagerPassword(c *gin.Context) (int, interface{})
- func DeleteManager(c *gin.Context) (int, interface{})
- func GetAllManager(c *gin.Context) (int, interface{})
- func ManagerLogin(c *gin.Context) (int, interface{})
- func ManagerLogout(c *gin.Context) (int, interface{})
- func NewManager(c *gin.Context) (int, interface{})
- func RefreshManagerToken(c *gin.Context) (int, interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeManagerPassword ¶
ChangeManagerPassword will change a manager's password to a random string.
func DeleteManager ¶
DeleteManager is delete manager handler.
func GetAllManager ¶
GetAllManager returns all the manager.
func ManagerLogin ¶
ManagerLogin is manager login handler.
func ManagerLogout ¶
ManagerLogout is the manager logout handler.
func NewManager ¶
NewManager is add a new manager handler.
func RefreshManagerToken ¶
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.
Click to show internal directories.
Click to hide internal directories.