ms-tester/pkg/external/rabbitmq/client.go

8 lines
150 B
Go
Raw Permalink Normal View History

2024-10-13 14:01:36 +00:00
package rabbitmq
2024-11-01 18:22:43 +00:00
import amqp "github.com/rabbitmq/amqp091-go"
func NewRabbitClient(dsn string) (*amqp.Connection, error) {
return amqp.Dial(dsn)
}