Versions in this module Expand all Collapse all v0 v0.3.0 Sep 17, 2015 Changes in this version + func GetKeyTitle(rawurl string) (string, error) + func GetRandom() string + func IsAdmin(proj *gogitlab.Project) bool + func IsRead(proj *gogitlab.Project) bool + func IsWrite(proj *gogitlab.Project) bool + func NewClient(url, accessToken string, skipVerify bool) *gogitlab.Gitlab + func NewOauthConfig(g *Gitlab, host string) *oauth.Config + func Register() + type Gitlab struct + Client string + Open bool + Secret string + SkipVerify bool + func New(url string, skipVerify, open bool, client, secret string) *Gitlab + func (r *Gitlab) Activate(user *model.User, repo *model.Repo, link string) error + func (r *Gitlab) Authorize(res http.ResponseWriter, req *http.Request) (*model.Login, error) + func (r *Gitlab) Deactivate(user *model.User, repo *model.Repo, link string) error + func (r *Gitlab) GetHost() string + func (r *Gitlab) GetKind() string + func (r *Gitlab) GetRepos(user *model.User) ([]*model.Repo, error) + func (r *Gitlab) GetScript(user *model.User, repo *model.Repo, hook *model.Hook) ([]byte, error) + func (r *Gitlab) GetToken(user *model.User) (*model.Token, error) + func (r *Gitlab) OpenRegistration() bool + func (r *Gitlab) ParseHook(req *http.Request) (*model.Hook, error)