internal

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

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

Go to latest
Published: Sep 2, 2020 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AmqpQueue

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

func NewAmqpQueue

func NewAmqpQueue(url, queueName string, opts ...QueueOption) *AmqpQueue

func (AmqpQueue) Consume

func (q AmqpQueue) Consume(itemChan chan []byte) error

func (AmqpQueue) Produce

func (q AmqpQueue) Produce(item []byte) error

type ProducerConsumer

type ProducerConsumer interface {
	Produce([]byte) error
	Consume(chan []byte) error
}

type QueueOption

type QueueOption func(*AmqpQueue)

Jump to

Keyboard shortcuts

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