vrabbit

package
v0.0.0-...-0e0e1e9 Latest Latest
Warning

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

Go to latest
Published: May 15, 2017 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RabbitMQ

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

func (*RabbitMQ) Close

func (r *RabbitMQ) Close()

func (*RabbitMQ) Connect

func (r *RabbitMQ) Connect(url string) error

func (*RabbitMQ) Consume

func (r *RabbitMQ) Consume(queueName string, callback func(data interface{}) error)

func (*RabbitMQ) Produce

func (r *RabbitMQ) Produce(message interface{}, queueName string) error

Jump to

Keyboard shortcuts

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