Registry /
messaging / isayme-go-amqp-reconnect
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
amqpreconnect
✓ github.com/isayme/go-amqp-reconnect
Connect to RabbitMQ with automatic reconnection.
package main
import (
"fmt"
"github.com/isayme/go-amqp-reconnect"
"github.com/streadway/amqp"
)
func main() {
conn, err := amqpreconnect.Dial("amqp://guest:guest@localhost:5672/")
if err != nil {
panic(err)
}
defer conn.Close()
fmt.Println("Connected with auto-reconnect")
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.0.0-20210303120416-fc811b0bcda2latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.