Documentation
¶
Overview ¶
Package saga provides experimental process-local step coordination with reverse compensation. It is not durable and cannot replace a distributed workflow engine for work that must survive process failure.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Coordinator ¶
type Coordinator struct {
// contains filtered or unexported fields
}
Coordinator runs process-local saga steps with reverse compensation. It is not a durable workflow engine and cannot recover work after a process exit.
func NewCoordinator ¶
func NewCoordinator() *Coordinator
NewCoordinator creates a new saga coordinator instance.
Click to show internal directories.
Click to hide internal directories.