flow

package
v3.3.17 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package flow is an interface used for saga pattern microservice workflow

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flow added in v3.3.17

type Flow interface {
	Start(Workflow) error
	Stop(Workflow)
}

type Step

type Step interface {
	// Endpoint returns rpc endpoint service_name.service_method or broker topic
	Endpoint() string
}

type Workflow added in v3.3.17

type Workflow interface {
	Steps() [][]Step
	Stop() error
}

Jump to

Keyboard shortcuts

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