Documentation
¶
Overview ¶
Package testengine is the private bridge between flow's production deterministic recorders and the public database-free flowtest package. It contains no implementation of orchestration semantics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Run func(any, Request) (Result, error)
Functions ¶
This section is empty.
Types ¶
type EventInput ¶
type EventInput struct {
Name string
Key string
Position int64
Payload json.RawMessage
}
type Request ¶
type Request struct {
Operation Operation
Context context.Context
Args json.RawMessage
Result json.RawMessage
Info Info
Tx any
EventInputs []EventInput
}
type Result ¶
type Result struct {
Value json.RawMessage
HandlerError error
Panicked bool
Commands []StagedCommand
Events []StagedEvent
}
type StagedCommand ¶
type StagedEvent ¶
type StagedEvent struct {
Name string
Key string
Payload json.RawMessage
}
Click to show internal directories.
Click to hide internal directories.