mq

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

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

func (*Channel) AcknowledgeMultipleMessages

func (this *Channel) AcknowledgeMultipleMessages(deliveryTag uint64) error

func (*Channel) AcknowledgeSingleMessage

func (this *Channel) AcknowledgeSingleMessage(deliveryTag uint64) error

func (*Channel) BindExchangeToQueue

func (this *Channel) BindExchangeToQueue(queue, exchange string) error

func (*Channel) CancelConsumer

func (this *Channel) CancelConsumer(consumerName string) error

func (*Channel) Close

func (this *Channel) Close() error

func (*Channel) CommitTransaction

func (this *Channel) CommitTransaction() error

func (*Channel) ConfigureChannelAsTransactional

func (this *Channel) ConfigureChannelAsTransactional() error

func (*Channel) ConfigureChannelBuffer

func (this *Channel) ConfigureChannelBuffer(messageCount int) error

func (*Channel) Consume

func (this *Channel) Consume(queueName, consumerName string) (<-chan amqp.Delivery, error)

func (*Channel) ConsumeWithoutAcknowledgement

func (this *Channel) ConsumeWithoutAcknowledgement(queueName, consumerName string) (<-chan amqp.Delivery, error)

func (*Channel) DeclareExchange

func (this *Channel) DeclareExchange(name, kind string) error

func (*Channel) DeclareQueue

func (this *Channel) DeclareQueue(name string) error

func (*Channel) DeclareTransientQueue

func (this *Channel) DeclareTransientQueue() (string, error)

func (*Channel) ExclusiveConsume

func (this *Channel) ExclusiveConsume(queueName, consumerName string) (<-chan amqp.Delivery, error)

func (*Channel) ExclusiveConsumeWithoutAcknowledgement

func (this *Channel) ExclusiveConsumeWithoutAcknowledgement(queueName, consumerName string) (<-chan amqp.Delivery, error)

func (*Channel) PublishMessage

func (this *Channel) PublishMessage(destination, partition string, message amqp.Publishing) error

func (*Channel) RollbackTransaction

func (this *Channel) RollbackTransaction() error

type Connection

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

func (*Connection) Channel

func (this *Connection) Channel() (rabbit.Channel, error)

func (*Connection) Close

func (this *Connection) Close() error

type Connector

type Connector struct{}

func NewConnector

func NewConnector() *Connector

func (*Connector) Connect

func (this *Connector) Connect(target url.URL) (rabbit.Connection, error)

Jump to

Keyboard shortcuts

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