Documentation
¶
Index ¶
- func Register()
- type Gogs
- func (r *Gogs) Activate(user *model.User, repo *model.Repo, link string) error
- func (r *Gogs) Authorize(res http.ResponseWriter, req *http.Request) (*model.Login, error)
- func (r *Gogs) GetHost() string
- func (r *Gogs) GetKind() string
- func (r *Gogs) GetRepos(user *model.User) ([]*model.Repo, error)
- func (r *Gogs) GetScript(user *model.User, repo *model.Repo, hook *model.Hook) ([]byte, error)
- func (r *Gogs) ParseHook(req *http.Request) (*model.Hook, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Gogs ¶
func (*Gogs) GetRepos ¶
GetRepos fetches all repositories that the specified user has access to in the remote system.
Click to show internal directories.
Click to hide internal directories.