Versions in this module Expand all Collapse all v0 v0.3.1 Oct 26, 2015 v0.3.0 Sep 17, 2015 Changes in this version + const DefaultAPI + const DefaultURL + func GetKeyTitle(rawurl string) (string, error) + func Register() + type Bitbucket struct + API string + Client string + Open bool + Secret string + URL string + func New(url, api, client, secret string, open bool) *Bitbucket + func NewDefault(client, secret string, open bool) *Bitbucket + func (r *Bitbucket) Activate(user *model.User, repo *model.Repo, link string) error + func (r *Bitbucket) Authorize(res http.ResponseWriter, req *http.Request) (*model.Login, error) + func (r *Bitbucket) Deactivate(user *model.User, repo *model.Repo, link string) error + func (r *Bitbucket) GetHost() string + func (r *Bitbucket) GetKind() string + func (r *Bitbucket) GetRepos(user *model.User) ([]*model.Repo, error) + func (r *Bitbucket) GetScript(user *model.User, repo *model.Repo, hook *model.Hook) ([]byte, error) + func (r *Bitbucket) GetToken(user *model.User) (*model.Token, error) + func (r *Bitbucket) OpenRegistration() bool + func (r *Bitbucket) ParseHook(req *http.Request) (*model.Hook, error)