rabbitmq

package
v0.0.0-...-9a3fa0c Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultWaitDuration = time.Millisecond * 50
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RabbitMQ

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

func New

func New(cfg *config.Resource) (*RabbitMQ, error)

func (*RabbitMQ) Fetch

func (c *RabbitMQ) Fetch(target string) ([][]byte, error)

func (*RabbitMQ) Listen

func (c *RabbitMQ) Listen(target string) error

func (*RabbitMQ) Publish

func (c *RabbitMQ) Publish(target string, payload []byte) error

func (*RabbitMQ) Ready

func (c *RabbitMQ) Ready() error

func (*RabbitMQ) Reset

func (c *RabbitMQ) Reset() error

Jump to

Keyboard shortcuts

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