event

package
v1.2.13-prerelease12 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 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