Documentation ¶
Index ¶
- Constants
- func NewTlsConfig(caFile, certFile, keyFile, keyFilePassword string) *tls.Config
- type Client
- func (c *Client) AddMessageConsumer(consumer func(msg amqp.Delivery))
- func (c *Client) AddReplyConsumer(consumer func(msg amqp.Delivery))
- func (c *Client) GetQueueName() string
- func (c *Client) Publish(exchange, routeKey string, msg amqp.Publishing, confirm bool) (err error)
- func (c *Client) Start() (err error)
- type Config
- type Confirm
- type Exchange
Constants ¶
View Source
const ( TYPE_REPLY = "REPLY" TYPE_SIMPLE = "SIMPLE" )
Variables ¶
This section is empty.
Functions ¶
func NewTlsConfig ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AddMessageConsumer ¶
func (*Client) AddReplyConsumer ¶
func (*Client) GetQueueName ¶
Click to show internal directories.
Click to hide internal directories.