workerconfig

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CurrentVersion = 1
)

Variables

View Source
var ErrWorkerProfileDisabled = errors.New("iris bot webhook worker profile is disabled")

Functions

This section is empty.

Types

type IrisBotWebhookWorkerProfile

type IrisBotWebhookWorkerProfile struct {
	Version    int                                   `json:"version"`
	ProfileID  string                                `json:"profile_id"`
	Delivery   irisWebhookDeliveryWorkerProfile      `json:"delivery"`
	Receive    botWebhookReceiveWorkerProfile        `json:"receive"`
	BotPool    botPoolWorkerProfile                  `json:"bot_pool"`
	Validation irisBotWebhookWorkerProfileValidation `json:"validation"`
}

func DecodeIrisBotWebhookWorkerProfileFromRuntimeDiagnostics

func DecodeIrisBotWebhookWorkerProfileFromRuntimeDiagnostics(reader io.Reader) (IrisBotWebhookWorkerProfile, error)

func LegacyIrisBotWebhookWorkerProfile

func LegacyIrisBotWebhookWorkerProfile() IrisBotWebhookWorkerProfile

func (IrisBotWebhookWorkerProfile) CanonicalJSON

func (p IrisBotWebhookWorkerProfile) CanonicalJSON() []byte

func (IrisBotWebhookWorkerProfile) ProfileHash

func (p IrisBotWebhookWorkerProfile) ProfileHash() string

func (IrisBotWebhookWorkerProfile) Validate

func (p IrisBotWebhookWorkerProfile) Validate() error

Jump to

Keyboard shortcuts

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