Documentation
      ¶
    
    
  
    
  
    Index ¶
- func MustAdmin() gin.HandlerFunc
 - func MustPull(c *gin.Context)
 - func MustPush(c *gin.Context)
 - func MustUser() gin.HandlerFunc
 - func Perm(c *gin.Context) *model.Perm
 - func Repo(c *gin.Context) *model.Repo
 - func Repos(c *gin.Context) []*model.RepoLite
 - func SetPerm() gin.HandlerFunc
 - func SetRepo() gin.HandlerFunc
 - func SetUser() gin.HandlerFunc
 - func Token(c *gin.Context) *token.Token
 - func User(c *gin.Context) *model.User
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustAdmin ¶
func MustAdmin() gin.HandlerFunc
func MustUser ¶
func MustUser() gin.HandlerFunc
func SetPerm ¶
func SetPerm() gin.HandlerFunc
func SetRepo ¶
func SetRepo() gin.HandlerFunc
func SetUser ¶
func SetUser() gin.HandlerFunc
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.