rabbitmq

package
v2.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Consume

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

普通模式消费消息

func Publish

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

发布订阅模式发布消息

func Push

func Push(msg string, msgName string) error

普通模式发布消息

func SubScribe

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