pkg

package
v1.5.7 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProxySvc = &ProxyService{
	Svc: service,
}

Functions

This section is empty.

Types

type OrderSvc

type OrderSvc struct {
	CreateSo func(ctx context.Context, reqs []*orderDao.SoMaster, rsp *orderDao.CreateSoResult) error
}

func (*OrderSvc) Reference

func (svc *OrderSvc) Reference() string

type ProductSvc

type ProductSvc struct {
	AllocateInventory func(ctx context.Context, reqs []*productDao.AllocateInventoryReq, rsp *productDao.AllocateInventoryResult) error
}

func (*ProductSvc) Reference

func (svc *ProductSvc) Reference() string

type ProxyService

type ProxyService struct {
	*Svc
	CreateSo func(ctx context.Context, rollback bool) ([]uint64, error)
}

func (*ProxyService) GetMethodTransactionInfo

func (svc *ProxyService) GetMethodTransactionInfo(methodName string) *tm.TransactionInfo

func (*ProxyService) GetProxyService

func (svc *ProxyService) GetProxyService() interface{}

type Svc

type Svc struct {
}

func (*Svc) CreateSo

func (svc *Svc) CreateSo(ctx context.Context, rollback bool) ([]uint64, error)

Jump to

Keyboard shortcuts

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