Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commit ¶ added in v0.3.0
We need this additional struct and function because the GitHub webhook package represents commits as anonymous inner structs and Go's type system is bad. Unless I'm missing something very obvious.
type HTTPListener ¶
type HTTPListener struct {
// contains filtered or unexported fields
}
func New ¶
func New(irc *irc.Connection) (*HTTPListener, error)
type HookMessage ¶ added in v0.4.4
type HookMessage struct { Version string `json:"version"` GroupKey string `json:"groupKey"` Status string `json:"status"` Receiver string `json:"receiver"` GroupLabels map[string]string `json:"groupLabels"` CommonLabels map[string]string `json:"commonLabels"` CommonAnnotations map[string]string `json:"commonAnnotations"` ExternalURL string `json:"externalURL"` Alerts []Alert `json:"alerts"` }
Click to show internal directories.
Click to hide internal directories.