flow: add initial flow dag

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-02-14 23:47:11 +03:00
parent cf2aa827e4
commit 240b6016df
5 changed files with 105 additions and 3 deletions

7
flow/flow.go Normal file
View File

@@ -0,0 +1,7 @@
// Package flow is an interface used for saga pattern messaging
package flow
type Step interface {
// Endpoint returns service_name.service_method
Endpoint() string
}