Documentation
¶
Index ¶
- Constants
- type Configuration
- type Metadata
- type Webhook
- func (w *Webhook) Actions() []core.Action
- func (w *Webhook) Color() string
- func (w *Webhook) Configuration() []configuration.Field
- func (w *Webhook) Description() string
- func (w *Webhook) HandleAction(ctx core.TriggerActionContext) (map[string]any, error)
- func (w *Webhook) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (w *Webhook) Icon() string
- func (w *Webhook) Label() string
- func (w *Webhook) Name() string
- func (w *Webhook) Setup(ctx core.TriggerContext) error
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 Webhook ¶
type Webhook struct{}
func (*Webhook) Configuration ¶
func (w *Webhook) Configuration() []configuration.Field
func (*Webhook) Description ¶
func (*Webhook) HandleAction ¶
func (*Webhook) HandleWebhook ¶
func (w *Webhook) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
Click to show internal directories.
Click to hide internal directories.