event

package
v0.3.70 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(r dependency.IMQProducerRepository[po.MqMessage], p func(ctx context.Context, topic, key string, msg []byte) error)

func InitDefault

func InitDefault()

func NewUnitOfWork

func NewUnitOfWork(id string, event *po.MqMessage) dependency.IUnitOfWork

Types

type EventTransactionImpl

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

func (EventTransactionImpl) Execute

func (t EventTransactionImpl) Execute(ctx context.Context, fs ...dependency.DbAction) (e error)

Jump to

Keyboard shortcuts

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