domain

package
v0.0.0-...-514f96b Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Services

type Services struct {
	Account     *account.Service
	Transaction *transaction.Service
	Order       *order.Service
	Report      *report.Service
}

func NewServices

func NewServices(
	transactor Transactor,
	repositories *psql.Repositories,
	reportCache *cache.ReportCache,
	logger *zap.Logger,
) *Services

type Transactor

type Transactor interface {
	WithTx(ctx context.Context, txFunc func(ctx context.Context) error) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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