Documentation ¶
Index ¶
- Constants
- func Dial(url string) (*amqp.Connection, *amqp.Channel, error)
- func IsNotFound(err error) bool
- func NewChannelManager(log logr.Logger, url string) (*channelManager, error)
- func NewPublisher(log logr.Logger, url string) (*publisher, error)
- type ChannelManager
- type PublishOptions
- type Publisher
Constants ¶
View Source
const ( AppID = "hephaestus" MandatoryDelivery = true ImmediateDelivery = false ExchangeType = "direct" ExchangeDurable = true ExchangeAutoDelete = false ExchangeInternal = false ExchangeNoWait = false QueueDurable = true QueueAutoDelete = false QueueExclusive = false QueueNoWait = false )
Variables ¶
This section is empty.
Functions ¶
func IsNotFound ¶
func NewChannelManager ¶
Types ¶
type ChannelManager ¶
type PublishOptions ¶
type Publisher ¶
type Publisher interface { Publish(PublishOptions) error Close() error }
Click to show internal directories.
Click to hide internal directories.