summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Zambito <contact@robbyzambito.me>2025-03-09 23:49:59 -0400
committerRobby Zambito <contact@robbyzambito.me>2025-03-09 23:50:28 -0400
commite9c425b258e5f7894bdef8b19f40357fbbd9eaff (patch)
tree52df88eb5af0300a02e95ea99bcb8c46617f3f79
parent55f0a026cbfa4d0a5681f8cb7919e623382a139e (diff)
Add connection name
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index c1f24dc..0650ad9 100644
--- a/main.go
+++ b/main.go
@@ -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)