Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcAmqp ¶
type Connection ¶
func NewConnection ¶
func NewConnection(amqpURI string, name string, handler *models.ConnectionHandler, debug bool) *Connection
NewConnection returns the new connection object
func (*Connection) Connect ¶
func (c *Connection) Connect(ctx context.Context, connectHandler *models.ConnectionHandler)
func (*Connection) Disconnect ¶
func (c *Connection) Disconnect()
func (*Connection) Publish ¶
func (c *Connection) Publish(body []byte, data models.AmqpPublishData) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.