Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventPayload ¶
type EventPayload struct {
Event string `json:"event"`
Timestamp time.Time `json:"timestamp"`
Data interface{} `json:"data"`
}
EventPayload represents the payload sent to webhook endpoints
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service handles webhook notifications
func NewService ¶
NewService creates a new webhook service
func (*Service) TriggerEvent ¶
TriggerEvent sends webhook notifications for a machine event
Click to show internal directories.
Click to hide internal directories.