Documentation
¶
Index ¶
- func NewWebhookChannel() notify.Channel
- type Config
- type WebhookChannel
- func (w *WebhookChannel) Close(ctx context.Context) error
- func (w *WebhookChannel) Healthy() bool
- func (w *WebhookChannel) Init(ctx context.Context, conf *models.NotificationConf) error
- func (w *WebhookChannel) OnInbound(handler notify.InboundHandler)
- func (w *WebhookChannel) Send(ctx context.Context, n notify.Notification) error
- func (w *WebhookChannel) SupportsInbound() bool
- func (w *WebhookChannel) Type() string
- type WebhookPayload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWebhookChannel ¶
Types ¶
type WebhookChannel ¶
type WebhookChannel struct {
// contains filtered or unexported fields
}
func (*WebhookChannel) Healthy ¶
func (w *WebhookChannel) Healthy() bool
func (*WebhookChannel) Init ¶
func (w *WebhookChannel) Init(ctx context.Context, conf *models.NotificationConf) error
func (*WebhookChannel) OnInbound ¶
func (w *WebhookChannel) OnInbound(handler notify.InboundHandler)
func (*WebhookChannel) Send ¶
func (w *WebhookChannel) Send(ctx context.Context, n notify.Notification) error
func (*WebhookChannel) SupportsInbound ¶
func (w *WebhookChannel) SupportsInbound() bool
func (*WebhookChannel) Type ¶
func (w *WebhookChannel) Type() string
Click to show internal directories.
Click to hide internal directories.