rmq

package module
v0.0.0-...-b69cf53 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AmqpConnectionInfo

type AmqpConnectionInfo struct {
	// contains filtered or unexported fields
}

type MessageConsumerCallback

type MessageConsumerCallback func(message []byte)

type MessageQueue

type MessageQueue interface {
	SetupConnection(connectionName string, info *AmqpConnectionInfo)
	Subscribe(connectionName, queueName, routingKey, exchange string)
	Consume(consumerCallback MessageConsumerCallback)
	Close()
	Publish(message interface{}, replyTo, msgXferType, contentType string) error
}

func NewMessageQue

func NewMessageQue() MessageQueue

Jump to

Keyboard shortcuts

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