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 ¶
var ( RabbitMQ *RabbitMQLogic Json = jsoniter.ConfigCompatibleWithStandardLibrary )
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)
Click to show internal directories.
Click to hide internal directories.