webhook

package
v2.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebhookSender

type WebhookSender struct {
	Method string `json:"method"`
}

func New

func New(parameters json.RawMessage) *WebhookSender

func (*WebhookSender) Destinations

func (ws *WebhookSender) Destinations() (map[string]string, error)

func (*WebhookSender) Release

func (ws *WebhookSender) Release(dest []string, body string) error

func (*WebhookSender) Trigger

func (ws *WebhookSender) Trigger(dest []string, body string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL