webhook

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 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