event

package
v1.2.14-prerelease04 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log(events ...E)

Types

type E

type E struct {
	persistence.TaskInfo
	TaskListName string
	TaskListKind *types.TaskListKind
	TaskListType int // persistence.TaskListTypeDecision or persistence.TaskListTypeActivity

	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