Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AmqpClient ¶
type AmqpClient interface {
DialConfig(url string, config amqp.Config) (Connection, error)
}
func NewAmqpClient ¶
func NewAmqpClient() AmqpClient
type Connection ¶
type DeferredConfirmation ¶
type DeferredConfirmation interface { Done() <-chan struct{} Acked() bool }
type DialConfig ¶
type Publisher ¶
func NewConnection ¶
func NewConnection(logger *zap.Logger, client AmqpClient, config DialConfig) (Publisher, error)
Click to show internal directories.
Click to hide internal directories.