queue

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2021 License: Apache-2.0 Imports: 6 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(amqpURI, queueName string) *AMQPQueue

func (*AMQPQueue) Consume

func (aq *AMQPQueue) Consume(handleDeliveries func(deliveries <-chan amqp.Delivery, done chan error), done chan error) error

func (*AMQPQueue) Init

func (aq *AMQPQueue) Init() error

func (*AMQPQueue) Publish

func (aq *AMQPQueue) Publish(remotebuild bool, data interface{}) error

func (*AMQPQueue) Shutdown

func (aq *AMQPQueue) Shutdown(purge bool) error

type JMSAMQPQueue

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

func NewJMSAMQPQueue

func NewJMSAMQPQueue(amqpURI, queueName, exchangeName, topic string) *JMSAMQPQueue

func (*JMSAMQPQueue) Init

func (jaq *JMSAMQPQueue) Init() error

func (*JMSAMQPQueue) Publish

func (jaq *JMSAMQPQueue) Publish(data interface{}) error

func (*JMSAMQPQueue) Shutdown

func (jaq *JMSAMQPQueue) Shutdown() error

Jump to

Keyboard shortcuts

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