simulation

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventNameCreateHistoryTask  = "Create History Task"
	EventNameExecuteHistoryTask = "Execute History Task"
)

Variables

This section is empty.

Functions

func Enabled

func Enabled() bool

func LogEvents

func LogEvents(events ...E)

Types

type E

type E struct {
	ShardID    int
	DomainID   string
	WorkflowID string
	RunID      string

	EventTime time.Time

	// EventName describes the event. It is used to query events in simulations so don't change existing event names.
	EventName string
	Host      string
	Payload   map[string]any
}

Jump to

Keyboard shortcuts

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