Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
Event string `json:"event"`
Timestamp time.Time `json:"timestamp"`
Detail any `json:"detail,omitempty"`
}
Event is the JSON payload sent to the webhook endpoint.
type Notifier ¶
type Notifier struct {
// contains filtered or unexported fields
}
Notifier sends webhook notifications for configured events. It is a no-op when WebhookURL is empty or the event is not in WebhookEvents.
Click to show internal directories.
Click to hide internal directories.