Documentation ¶
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) Connect() error
- func (c *Client) PublishJSONMessage(qName string, msgId string, body []byte) error
- func (c *Client) PublishMessage(qName string, msgId string, appId string, userId string, mimeType string, ...) error
- func (c *Client) PublishTextMessage(qName string, msgId string, body []byte) error
- func (c *Client) QueueDeclare(name string) (*amqp.Queue, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Connection *amqp.Connection Channel *amqp.Channel // contains filtered or unexported fields }
func (*Client) PublishJSONMessage ¶ added in v2.0.9
func (*Client) PublishMessage ¶ added in v2.0.9
func (*Client) PublishTextMessage ¶ added in v2.0.9
Click to show internal directories.
Click to hide internal directories.