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