Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebhookDestination ¶
type WebhookDestination struct {
*destregistry.BaseProvider
}
func New ¶
func New(loader *metadata.MetadataLoader) (*WebhookDestination, error)
func (*WebhookDestination) Publish ¶
func (d *WebhookDestination) Publish(ctx context.Context, destination *models.Destination, event *models.Event) error
func (*WebhookDestination) Validate ¶
func (d *WebhookDestination) Validate(ctx context.Context, destination *models.Destination) error
type WebhookDestinationConfig ¶
type WebhookDestinationConfig struct {
URL string
}
Click to show internal directories.
Click to hide internal directories.