diff options
author | Robby Zambito <contact@robbyzambito.me> | 2025-03-09 23:49:59 -0400 |
---|---|---|
committer | Robby Zambito <contact@robbyzambito.me> | 2025-03-09 23:50:28 -0400 |
commit | e9c425b258e5f7894bdef8b19f40357fbbd9eaff (patch) | |
tree | 52df88eb5af0300a02e95ea99bcb8c46617f3f79 | |
parent | 55f0a026cbfa4d0a5681f8cb7919e623382a139e (diff) |
Add connection name
-rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -65,6 +65,8 @@ func main() { opts = append(opts, nats.UserCredentials(natsCredsFile)) } + opts = append(opts, nats.Name("Bluesky Proxy")) + nc, err := nats.Connect(natsURL, opts...) if err != nil { log.Fatal("Error connecting to NATS:", err) |