Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
Publisher implements an amqp publisher.
func NewPublisher ¶
func NewPublisher(conn *amqp.Connection, exchange string) (*Publisher, error)
type Subscriber ¶
type Subscriber struct {
// contains filtered or unexported fields
}
Subscriber implements an amqp subscriber.
func NewSubscriber ¶
func NewSubscriber(conn *amqp.Connection, exchange string) (*Subscriber, error)
NewSubscriber creates an amqp subscriber.
func (*Subscriber) SubscribeRaw ¶
SubscribeRaw subscribes and returns a channel with raw amqp delivery.
Click to show internal directories.
Click to hide internal directories.