Documentation ¶
Overview ¶
Package rabbit contains an experimental RabbitMQ publishing client.
Index ¶
- Constants
- type Config
- type PublisherPool
- func (p *PublisherPool) Close(ctx context.Context) (err error)
- func (p *PublisherPool) Gauges(_ context.Context) map[string]float64
- func (p *PublisherPool) MetricName() string
- func (p *PublisherPool) Publish(ctx context.Context, msg publisher.Message) (err error)
- func (p *PublisherPool) PublishJSON(ctx context.Context, msg publisher.Message, v interface{}) (err error)
Constants ¶
View Source
const JSON = "application/json; charset=utf-8"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublisherPool ¶
type PublisherPool struct {
// contains filtered or unexported fields
}
func NewPublisherPool ¶
func (*PublisherPool) MetricName ¶
func (p *PublisherPool) MetricName() string
func (*PublisherPool) PublishJSON ¶
Click to show internal directories.
Click to hide internal directories.