external_refs

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventHandler

type EventHandler struct {
	HandlerID       string         `json:"handlerId"`
	Metadata        *EventMetadata `json:"metadata,omitempty"`
	Payload         EventPayload   `json:"payload"`
	RelatedPayloads []EventPayload `json:"relatedPayloads,omitempty"`
}

type EventMetadata

type EventMetadata struct {
	Source    *string   `json:"source,omitempty"`
	Timestamp time.Time `json:"timestamp"`
}

type EventPayload

type EventPayload struct {
	Data      map[string]interface{} `json:"data,omitempty"`
	EventID   uuid.UUID              `json:"eventId"`
	EventType string                 `json:"eventType"`
}

Jump to

Keyboard shortcuts

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