dt

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: MIT Imports: 3 Imported by: 0

README

go-dt

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MethodPair

type MethodPair struct {
	Action     string
	Compensate string
	ProtoMsg   protoreflect.ProtoMessage
}

type TransactionActor

type TransactionActor interface {
	ExecuteSaga(ctx context.Context, methodPairs ...MethodPair) error
	ExecuteMsg(ctx context.Context, methodPair ...MethodPair) error
}

func NewTransactionActor

func NewTransactionActor(dtmAddr, grpcAddr string) TransactionActor

Jump to

Keyboard shortcuts

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