Documentation ¶ Index ¶ func RenderPayload(message *schema.Template, event Event) ([]byte, error) type Event type Notification type NotificationFunc func (nf NotificationFunc) Dispatch(ctx context.Context, event Event) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RenderPayload ¶ func RenderPayload(message *schema.Template, event Event) ([]byte, error) Types ¶ type Event ¶ type Event interface { Form() schema.Form Error() error Result() map[string]any } type Notification ¶ type Notification interface { Dispatch(ctx context.Context, event Event) error } type NotificationFunc ¶ type NotificationFunc func(ctx context.Context, event Event) error func (NotificationFunc) Dispatch ¶ func (nf NotificationFunc) Dispatch(ctx context.Context, event Event) error Source Files ¶ View all Source files types.go Directories ¶ Show internal Expand all Path Synopsis amqp webhook Click to show internal directories. Click to hide internal directories.