Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_URL = "amqp://admin:adminpass@rabbitmq.alameda.svc.cluster.local:5672" DEFAULT_PUBLISH_RETRY_TIME = 3 DEFAULT_PUBLISH_RETRY_INTERVAL_MS = 500 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Configuration of weave scope
func NewDefaultConfig ¶
func NewDefaultConfig() *Config
Provide default configuration for weave scope
type RabbitMQSender ¶
type RabbitMQSender struct {
// contains filtered or unexported fields
}
func NewRabbitMQSender ¶
func NewRabbitMQSender(rabbitMQConfig *Config) (*RabbitMQSender, error)
func (*RabbitMQSender) Close ¶
func (s *RabbitMQSender) Close() error
func (*RabbitMQSender) SendJsonString ¶
func (s *RabbitMQSender) SendJsonString(queueName, jsonStr string) error
Click to show internal directories.
Click to hide internal directories.