mirror of
https://github.com/oarkflow/mq.git
synced 2025-10-11 09:40:09 +08:00
update
This commit is contained in:
@@ -19,7 +19,7 @@ func main() {
|
||||
fmt.Println("✅ Logger created")
|
||||
|
||||
// Create broker
|
||||
broker := mq.NewBroker(mq.WithLogger(lg))
|
||||
broker := mq.NewBroker(mq.WithLogger(lg), mq.WithBrokerURL(":8081"))
|
||||
fmt.Println("✅ Broker created")
|
||||
|
||||
// Start broker
|
||||
|
Reference in New Issue
Block a user