Versions in this module Expand all Collapse all v1 v1.0.9 Feb 3, 2022 Changes in this version + type Bitbucket struct + func (b Bitbucket) Handle(r *http.Request, hc *HookConf) (int, error) + type Gitee struct + func (g Gitee) Handle(r *http.Request, hc *HookConf) (int, error) + type Github struct + func (g Github) Handle(r *http.Request, hc *HookConf) (int, error) + type Gitlab struct + func (g Gitlab) Handle(r *http.Request, hc *HookConf) (int, error) + type Gogs struct + func (g Gogs) Handle(r *http.Request, hc *HookConf) (int, error) + type HookConf struct + RefName plumbing.ReferenceName + Secret string + type HookService interface + Handle func(*http.Request, *HookConf) (int, error)