Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RabbitMessageBroker ¶
type RabbitMessageBroker struct {
// contains filtered or unexported fields
}
func NewRabbitMessageBroker ¶
func NewRabbitMessageBroker(logger *zap.SugaredLogger, url string) (*RabbitMessageBroker, error)
func (*RabbitMessageBroker) Close ¶
func (r *RabbitMessageBroker) Close()
Close closes the connection to rabbitmq.
func (*RabbitMessageBroker) PublishCommand ¶
func (r *RabbitMessageBroker) PublishCommand(commandType string, body []byte) error
Click to show internal directories.
Click to hide internal directories.