rabbitmq

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Consume added in v1.3.4

func Consume(queue string) (<-chan amqp.Delivery, error)

普通模式消费消息

func Publish added in v1.3.6

func Publish(exchange, msg string, durable bool) error

发布订阅模式发布消息

func Push

func Push(msg string, msgName string) error

普通模式发布消息

func SubScribe added in v1.3.6

func SubScribe(exchange string, durable bool) (<-chan amqp.Delivery, error)

发布订阅模式消费消息

func UpdateRabbitmq

func UpdateRabbitmq() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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