mq

package
v0.0.0-...-bdd2a71 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRabbitMQ

func InitRabbitMQ(svcCtx *svc.ServiceContext)

func InitVFPublisher

func InitVFPublisher(core *utils.RabbitmqCore)

func StartVFConsumer

func StartVFConsumer(conn *amqp.Connection)

Types

type RabbitMQLogic

type RabbitMQLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewRabbitMQLogic

func NewRabbitMQLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RabbitMQLogic

func (*RabbitMQLogic) FavoriteCancelCheck

func (l *RabbitMQLogic) FavoriteCancelCheck(vfMsg *utils.VFMessage)

func (*RabbitMQLogic) FavoriteCheck

func (l *RabbitMQLogic) FavoriteCheck(vfMsg *utils.VFMessage)

func (*RabbitMQLogic) FavoriteUpdatePublisher

func (l *RabbitMQLogic) FavoriteUpdatePublisher(videoId, userId int64, isCancel int8)

Jump to

Keyboard shortcuts

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