transport

package
Version: v0.0.0-...-db8e843 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const MESSAGE_CONTENT_TYPE_JSON = "application/json"

Variables

This section is empty.

Functions

This section is empty.

Types

type AmqpService

type AmqpService interface {
	Connect() error
	Emit(exchangeKey string, payload []byte) error
	On(queueName, exchangeKey string, callback func(body []byte) error) error
	Shutdown() error
}

func NewRabbitMqService

func NewRabbitMqService(url, exchange string, durable bool) AmqpService

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL