func init() { // register rabbitmq broker.Register("amqp", &RabbitMqBroker{}) broker.Register("amqps", &RabbitMqBroker{}) }
func init() { // register nats broker.Register("nats", &Broker{}) }