repository

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transaction

type Transaction struct {
	// contains filtered or unexported fields
}

func NewPgAdapter

func NewPgAdapter(connStr string) (*Transaction, error)

func (Transaction) Close

func (t Transaction) Close()

func (Transaction) SagaSaveTx

func (t Transaction) SagaSaveTx(ctx context.Context, input types.PayloadType) error

func (Transaction) SagaUpdateInfos

func (t Transaction) SagaUpdateInfos(ctx context.Context, ID uuid.UUID, retry int, status string) error

func (Transaction) SaveTx

func (t Transaction) SaveTx(ctx context.Context, input types.PayloadType) error

func (Transaction) UpdateInfos

func (t Transaction) UpdateInfos(ctx context.Context, ID uuid.UUID, retry int, status string) error

Jump to

Keyboard shortcuts

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