consumer

package
v0.0.0-...-3414fa2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MarketingConsumer

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

func NewMarketingConsumer

func NewMarketingConsumer(
	ch *amqp.Channel,
	couponsModel model.CouponsModel,
	userCouponsModel model.UserCouponsModel,
	promotionsModel model.PromotionsModel,
	userPointsModel model.UserPointsModel,
	pointsRecordModel model.PointsRecordsModel,
) *MarketingConsumer

func (*MarketingConsumer) Start

func (c *MarketingConsumer) Start(ctx context.Context) error

func (*MarketingConsumer) Stop

func (c *MarketingConsumer) Stop() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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