Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrWorkspaceRequired = workspace.ErrRequired
ErrWorkspaceRequired reports a missing webhook event workspace.
Functions ¶
Types ¶
type Event ¶
type Event struct {
Type Type `json:"type"`
WorkspaceID string `json:"workspace_id"`
Data map[string]any `json:"data,omitempty"`
}
Event is the shared webhook event envelope delivered to endpoints.
func NewQueueEmpty ¶
func NewQueueEmpty(params QueueEmptyParams) (Event, error)
NewQueueEmpty returns a queue-empty webhook event for a workspace.
Click to show internal directories.
Click to hide internal directories.