Skip to content

Instantly share code, notes, and snippets.

View ex-preman's full-sized avatar

Yusuf Septiananda ex-preman

  • Jakarta, Indonesia
View GitHub Profile
@tomekbielaszewski
tomekbielaszewski / main.go
Last active August 17, 2023 19:22
Example of RabbitMQ reconnect feature. Including recovering already registered consumers.
package main
import (
"fmt"
"log"
"time"
)
func main() {
queue := NewQueue("amqp://guest:guest@localhost:5672/", "hello")