Versions in this module Expand all Collapse all v0 v0.4.0 Oct 26, 2015 Changes in this version + type Gogs struct + Open bool + PrivateMode bool + SkipVerify bool + URL string + func Load(env envconfig.Env) *Gogs + func (g *Gogs) Activate(u *model.User, r *model.Repo, k *model.Key, link string) error + func (g *Gogs) Auth(token, secret string) (string, error) + func (g *Gogs) Deactivate(u *model.User, r *model.Repo, link string) error + func (g *Gogs) Hook(r *http.Request) (*model.Repo, *model.Build, error) + func (g *Gogs) Login(res http.ResponseWriter, req *http.Request) (*model.User, bool, error) + func (g *Gogs) Netrc(u *model.User, r *model.Repo) (*model.Netrc, error) + func (g *Gogs) Perm(u *model.User, owner, name string) (*model.Perm, error) + func (g *Gogs) Repo(u *model.User, owner, name string) (*model.Repo, error) + func (g *Gogs) Repos(u *model.User) ([]*model.RepoLite, error) + func (g *Gogs) Script(u *model.User, r *model.Repo, b *model.Build) ([]byte, []byte, error) + func (g *Gogs) Status(u *model.User, r *model.Repo, b *model.Build, link string) error + type PushHook struct + After string + Before string + Commits []struct{ ... } + Compare string + Pusher struct{ ... } + Ref string + Repo struct{ ... } + Sender struct{ ... }