domains

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Delivery

type Delivery struct{}

SAGA TX scheduler Delivery

func NewDelivery

func NewDelivery() *Delivery

func (Delivery) DownFn

func (d Delivery) DownFn(ctx context.Context, payload types.PayloadInput) error

func (Delivery) GetConfig

func (d Delivery) GetConfig() types.Opts

func (Delivery) GetEventName

func (d Delivery) GetEventName() string

func (Delivery) UpFn

func (d Delivery) UpFn(ctx context.Context, payload types.PayloadInput) error

type Notify

type Notify struct{}

SAGA TX SEND EMAIL TO CLIENT

func NewNotify

func NewNotify() *Notify

func (Notify) DownFn

func (n Notify) DownFn(ctx context.Context, payload types.PayloadInput) error

func (Notify) GetConfig

func (n Notify) GetConfig() types.Opts

func (Notify) GetEventName

func (n Notify) GetEventName() string

func (Notify) UpFn

func (n Notify) UpFn(ctx context.Context, payload types.PayloadInput) error

type Payment

type Payment struct{}

SAGA TX scheduler Payment

func NewPayment

func NewPayment() *Payment

func (Payment) DownFn

func (p Payment) DownFn(ctx context.Context, payload types.PayloadInput) error

func (Payment) GetConfig

func (p Payment) GetConfig() types.Opts

func (Payment) GetEventName

func (p Payment) GetEventName() string

func (Payment) UpFn

func (p Payment) UpFn(ctx context.Context, payload types.PayloadInput) error

type Stock

type Stock struct{}

SAGA TX DECREMENT PRODUCT TO STOCK

func NewStock

func NewStock() *Stock

func (Stock) DownFn

func (s Stock) DownFn(ctx context.Context, payload types.PayloadInput) error

func (Stock) GetConfig

func (s Stock) GetConfig() types.Opts

func (Stock) GetEventName

func (s Stock) GetEventName() string

func (Stock) UpFn

func (s Stock) UpFn(ctx context.Context, payload types.PayloadInput) error

Jump to

Keyboard shortcuts

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