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

8 lines
150 B
Go
Raw Permalink Normal View History

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