Documentation
¶
Index ¶
- Constants
- type Gitlab
- func (g *Gitlab) CommitURL(w *repository.Webhook) string
- func (g *Gitlab) CompareURL(w *repository.Webhook) string
- func (g *Gitlab) IconURL() string
- func (g *Gitlab) IsPing(r *http.Request, body []byte) bool
- func (g *Gitlab) Name() string
- func (g *Gitlab) PusherURL(w *repository.Webhook) string
- func (g *Gitlab) RefURL(w *repository.Webhook) string
- func (g *Gitlab) RepositoryURL(w *repository.Webhook) string
- func (g *Gitlab) RequestID(r *http.Request) string
- func (g *Gitlab) Unmarshal(r *http.Request, body []byte) (*repository.Webhook, error)
- func (g *Gitlab) Verify(r *http.Request, body []byte) error
- func (g *Gitlab) WebhookProvider() repository.WebhookProvider
- type GitlabWebhook
Constants ¶
View Source
const (
KeySlackGitlabIconURL = "notification.slack.gitlab_icon_url"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gitlab ¶
type Gitlab struct {
}
func (*Gitlab) CompareURL ¶
func (g *Gitlab) CompareURL(w *repository.Webhook) string
func (*Gitlab) RepositoryURL ¶
func (g *Gitlab) RepositoryURL(w *repository.Webhook) string
func (*Gitlab) WebhookProvider ¶
func (g *Gitlab) WebhookProvider() repository.WebhookProvider
Click to show internal directories.
Click to hide internal directories.