webhook

package
v0.42.12 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebhookWorker

type WebhookWorker struct {
	// contains filtered or unexported fields
}

func New

func New(opts WorkerOpts) (*WebhookWorker, error)

func (*WebhookWorker) Start

func (w *WebhookWorker) Start() (func() error, error)

type WorkerOpts

type WorkerOpts struct {
	Name      string
	Token     string
	ID        string
	Secret    string
	URL       string
	TenantID  string
	Actions   []string
	WebhookId string
}

Jump to

Keyboard shortcuts

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