Documentation ¶
Index ¶
- func AuthorizeAgent(c *gin.Context)
- func MustAdmin() gin.HandlerFunc
- func MustOrgMember(admin bool) gin.HandlerFunc
- func MustPull(c *gin.Context)
- func MustPush(c *gin.Context)
- func MustRepoAdmin() gin.HandlerFunc
- func MustUser() gin.HandlerFunc
- func Pagination(c *gin.Context) *model.ListOptions
- func Perm(c *gin.Context) *model.Perm
- func Repo(c *gin.Context) *model.Repo
- func SetPerm() gin.HandlerFunc
- func SetRepo() 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 AuthorizeAgent ¶
AuthorizeAgent authorizes requests from agent to access the queue.
func MustAdmin ¶
func MustAdmin() gin.HandlerFunc
func MustOrgMember ¶
func MustOrgMember(admin bool) gin.HandlerFunc
func MustRepoAdmin ¶
func MustRepoAdmin() gin.HandlerFunc
func MustUser ¶
func MustUser() gin.HandlerFunc
func Pagination ¶
func Pagination(c *gin.Context) *model.ListOptions
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.