Documentation ¶
Overview ¶
Package amqp provides a simple wrapper around 3rd party amqp client.
Index ¶
Constants ¶
View Source
const ( // User is the user to use for authentication User = "guest" // Pass is the password to use for authentication Pass = "guest" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct { PublishConn *amqp.Connection PublishChannel *amqp.Channel ConsumeConn *amqp.Connection ConsumeChannel *amqp.Channel // contains filtered or unexported fields }
Client is a wrapper around the amqp client
func (*Client) DeclareQueue ¶
DeclareQueue creates a queue with the given name
func (*Client) DeleteQueues ¶
DeleteQueues deletes all queues from the server
Click to show internal directories.
Click to hide internal directories.