ms-runner/pkg/external/rabbitmq/client.go
Vyacheslav1557 1fa11f66e3 feat:
2024-11-01 23:22:43 +05:00

8 lines
150 B
Go

package rabbitmq
import amqp "github.com/rabbitmq/amqp091-go"
func NewRabbitClient(dsn string) (*amqp.Connection, error) {
return amqp.Dial(dsn)
}