Documentation
¶
Overview ¶
Package notify delivers events to the terminal, a webhook, and/or an arbitrary command, selected by configuration. It is intentionally simple.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
Level string `json:"level"` // info | warn | error | success
Title string `json:"title"`
Message string `json:"message,omitempty"`
PRURL string `json:"pr_url,omitempty"`
Checks []domain.Check `json:"checks,omitempty"`
}
Event is one notification.
Click to show internal directories.
Click to hide internal directories.