summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authoruvok cheetah2023-12-08 17:10:14 +0000
committeruvok cheetah2023-12-08 17:10:14 +0000
commit16f43836594f2400e52d21da61b6dd32feca9b7d (patch)
treea80ad31e00cbda8eabdba5fb7e1799dc444eb25f /cmd
parent4e44a6606351e76a52719945548a14df4de8f3f6 (diff)
Move NATS server URL into struct
Diffstat (limited to 'cmd')
-rw-r--r--cmd/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/main.go b/cmd/main.go
index 6d5dfec..ab0cb4d 100644
--- a/cmd/main.go
+++ b/cmd/main.go
@@ -22,7 +22,7 @@ func main() {
workDir = "."
}
- notifier := &nats.NatsNotifier{}
+ notifier := &nats.NatsNotifier{ServerUrl: "nats://nats-server:4222"}
databasePath := path.Join(workDir, "registrations.sqlite")
repository := uvok_sqlite.NewRepository(databasePath, context)