Documentation ¶
Index ¶
- func IsAdmin() gin.HandlerFunc
- func IsUser() gin.HandlerFunc
- func Repo(c *gin.Context) *repo.Repo
- func RepoPerm(c *gin.Context) *model.Perm
- func RepoRead() gin.HandlerFunc
- func RepoWrite() gin.HandlerFunc
- func SetRepo() gin.HandlerFunc
- func SetRepoPerm() gin.HandlerFunc
- func SetUser() gin.HandlerFunc
- func User(c *gin.Context) *model.User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAdmin ¶
func IsAdmin() gin.HandlerFunc
func IsUser ¶
func IsUser() gin.HandlerFunc
func RepoRead ¶
func RepoRead() gin.HandlerFunc
func RepoWrite ¶
func RepoWrite() gin.HandlerFunc
func SetRepo ¶
func SetRepo() gin.HandlerFunc
func SetRepoPerm ¶
func SetRepoPerm() gin.HandlerFunc
func SetUser ¶
func SetUser() gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.