workflows

package
v0.0.0-...-c85e528 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const WEBHOOK_CALLS_TASK_QUEUE = "webhook-calls"

Variables

This section is empty.

Functions

func WebhookWorkflow

func WebhookWorkflow(ctx workflow.Context, param WHWorkflowParam) error

Types

type WHWorkflowParam

type WHWorkflowParam struct {
	TargetUrl                  string
	RequestBody                string
	AuthHeaderName             string
	AuthHeaderValue            string
	RetryPolicy                *temporal.RetryPolicy
	Notification               string
	NotificationProviderApiKey string
	NotifyFailure              bool
	NotifyAfterAttempts        int32
}

Jump to

Keyboard shortcuts

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