Help us shape the future of Go! Take the 2026 Go Developer Survey

webhook

package
v0.73.104 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2025 License: MIT Imports: 4 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
	Logger    *zerolog.Logger
}

Jump to

Keyboard shortcuts

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