rabbitmq

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(name, host string, port int, user, password, virtual string) job.Queue

New new queue

Types

type Queue

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

Queue queue

func (*Queue) Receive

func (p *Queue) Receive(name string, hnd func(*job.Message) error) error

Receive receive

func (*Queue) Send

func (p *Queue) Send(msg *job.Message) error

Send send job

Jump to

Keyboard shortcuts

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