mq

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TaskManagerDeadline = "task_manager_deadline" // 工作任务过期处理任务
	TaskManagerNotice   = "task_manager_notice"   // 工作任务提醒任务
)
View Source
const QueuePrefix = "app_"

Variables

This section is empty.

Functions

func NewMessageQueueConsumer

func NewMessageQueueConsumer(queueKey string) (contract.Consumer, error)

NewMessageQueueConsumer 创建消息队列消费者

func NewMessageQueueProducer

func NewMessageQueueProducer(pool *contract.Pool) (contract.Producer, error)

NewMessageQueueProducer 创建消息队列生产者

func QueueKey

func QueueKey(queueKey string) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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