Documentation ¶
Index ¶
- Constants
- func CreatePermission(c *gin.Context)
- func CreateRole(c *gin.Context)
- func CreateUser(c *gin.Context)
- func DeletePermission(c *gin.Context)
- func DeleteRole(c *gin.Context)
- func DeleteUser(c *gin.Context)
- func GetPermissionById(c *gin.Context)
- func GetPermissions(c *gin.Context)
- func GetPublicKey(c *gin.Context)
- func GetRoleById(c *gin.Context)
- func GetRoles(c *gin.Context)
- func GetUserById(c *gin.Context)
- func GetUsers(c *gin.Context)
- func Login(c *gin.Context)
- func Refresh(c *gin.Context)
- func UpdatePermission(c *gin.Context)
- func UpdateRole(c *gin.Context)
- func UpdateUser(c *gin.Context)
- type AuthToken
Constants ¶
View Source
const TOKEN_TTL = 86400000
24 hours
Variables ¶
This section is empty.
Functions ¶
func CreatePermission ¶
func CreateRole ¶
func CreateUser ¶
func DeletePermission ¶
func DeleteRole ¶
func DeleteUser ¶
func GetPermissionById ¶
func GetPermissions ¶
func GetPublicKey ¶
func GetRoleById ¶
func GetUserById ¶
func UpdatePermission ¶
func UpdateRole ¶
func UpdateUser ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.