rabbitmq

package
v0.0.0-...-d5996f0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const MQ_URL = "amqp://root:root@192.168.174.134:5672/seckill"

连接信息 amqp://用户名:密码@192.168.174.134:5672/虚拟主机

Variables

This section is empty.

Functions

func NewRabbitMQPubSub

func NewRabbitMQPubSub(exchangeName string) *rabbitmq

订阅模式

func NewRabbitMQRouting

func NewRabbitMQRouting(exchangeName string, routingKey string) *rabbitmq

路由模式

func NewRabbitMQSimple

func NewRabbitMQSimple(queueName string) *rabbitmq

创建简单Simple模式下RabbitMQ实例

func NewRabbitMQTopic

func NewRabbitMQTopic(exchangeName string, routingKey string) *rabbitmq

话题模式

Types

This section is empty.

Jump to

Keyboard shortcuts

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