pkg

package
v0.0.0-...-e809d31 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MerchantManager

type MerchantManager struct {
	MerchantService merchantservice.Client
}

func (*MerchantManager) GetInfo

func (m *MerchantManager) GetInfo(ctx context.Context, MerchantId int64) (*common.Merchant, error)

type OperateManager

type OperateManager struct {
	OperateService operateservice.Client
}

func (*OperateManager) GetProductOperateInfo

func (o *OperateManager) GetProductOperateInfo(ctx context.Context, uid, pid int64) (*common.ProductOperateInfo, error)

type Producer

type Producer struct {
	Producer *nsq.Producer
}

func NewPublisher

func NewPublisher() (pro *Producer, err error)

func (*Producer) Produce

func (p *Producer) Produce(images []*model.Image) error

Jump to

Keyboard shortcuts

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