saga

package
v0.0.0-...-99e5d07 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SagaCoordinator

type SagaCoordinator struct {
	Logger core_logging.ILog
}

func NewSagaCoordinator

func NewSagaCoordinator(logger core_logging.ILog) *SagaCoordinator

NewSagaCoordinator creates a new saga object

func (*SagaCoordinator) RunSaga

func (s *SagaCoordinator) RunSaga(ctx context.Context, operationName string, steps ...*saga.Step) error

RunSaga creates a new saga instance and runs the required steps

Jump to

Keyboard shortcuts

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