Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdminAuthRequired ¶
func AdminAuthRequired() gin.HandlerFunc
AdminAuthRequired is the admin permission check middleware.
func ManagerRequired ¶
func ManagerRequired() gin.HandlerFunc
ManagerRequired make sure the account is the manager.
func TeamAuthRequired ¶
func TeamAuthRequired() gin.HandlerFunc
TeamAuthRequired is the team permission check middleware.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.