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
Click to show internal directories.
Click to hide internal directories.