webhook

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const MaxEventSize = 64 * 1024

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Authentication string `json:"authentication"`
}

type Metadata

type Metadata struct {
	URL            string `json:"url"`
	Authentication string `json:"authentication"`
}

type Webhook

type Webhook struct{}

func (*Webhook) Actions

func (w *Webhook) Actions() []core.Action

func (*Webhook) Color

func (w *Webhook) Color() string

func (*Webhook) Configuration

func (w *Webhook) Configuration() []configuration.Field

func (*Webhook) Description

func (w *Webhook) Description() string

func (*Webhook) ExampleData added in v0.0.45

func (w *Webhook) ExampleData() map[string]any

func (*Webhook) HandleAction

func (w *Webhook) HandleAction(ctx core.TriggerActionContext) (map[string]any, error)

func (*Webhook) HandleWebhook

func (w *Webhook) HandleWebhook(ctx core.WebhookRequestContext) (int, error)

func (*Webhook) Icon

func (w *Webhook) Icon() string

func (*Webhook) Label

func (w *Webhook) Label() string

func (*Webhook) Name

func (w *Webhook) Name() string

func (*Webhook) Setup

func (w *Webhook) Setup(ctx core.TriggerContext) error

Jump to

Keyboard shortcuts

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