Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Message ¶
type Message struct {
Type string `json:"type"`
Data json.RawMessage `json:"data"`
}
func ParseMessage ¶
type RabbitMQPublisher ¶
type RabbitMQPublisher struct {
// contains filtered or unexported fields
}
func NewRabbitMQPublisher ¶
func NewRabbitMQPublisher(url, exchange string) (*RabbitMQPublisher, error)
func (*RabbitMQPublisher) Close ¶
func (p *RabbitMQPublisher) Close() error
Click to show internal directories.
Click to hide internal directories.