messages

package
v0.0.0-...-5e06dbd Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect() *amqp.Connection

init Connection

func Consume

func Consume()

consume messages

func FailOnError

func FailOnError(err error, msg string)

fail on eror

func NewChannel

func NewChannel(conn *amqp.Connection) *amqp.Channel

new channel

func NewQueue

func NewQueue(queue string, ch *amqp.Channel) amqp.Queue

new queue

func SendMessage

func SendMessage(q_name string, body string)

publish to queue

Types

This section is empty.

Jump to

Keyboard shortcuts

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