mq

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const QueuePrefix = "app-service"

Variables

This section is empty.

Functions

func Consumer

func Consumer() contract.Consumer

Consumer 消费者

func Init

func Init(cfg *config.Config) (contract.MQ, error)

func Instance

func Instance() contract.MQ

Instance MQ实例

func Producer

func Producer() contract.Producer

Producer 生产者

func QueueKey

func QueueKey(queueKey string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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