From f067055d304d3762467fb20dd08931ac30486c9b Mon Sep 17 00:00:00 2001 From: Parham Alvani Date: Mon, 1 Jan 2024 14:33:02 +0000 Subject: [PATCH] feat: add configuration for ping interval --- pkg/koanf/service.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/koanf/service.go b/pkg/koanf/service.go index 4916123..0fc9ab8 100644 --- a/pkg/koanf/service.go +++ b/pkg/koanf/service.go @@ -50,5 +50,6 @@ type Vault struct { } type NATS struct { - URL string `koanf:"url"` + URL string `koanf:"url"` + PingInterval time.Duration `koanf:"ping_interval"` }