Skip to content

Commit

Permalink
feat: add configuration for ping interval
Browse files Browse the repository at this point in the history
  • Loading branch information
Parham Alvani committed Jan 1, 2024
1 parent 8eddb34 commit f067055
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/koanf/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@ type Vault struct {
}

type NATS struct {
URL string `koanf:"url"`
URL string `koanf:"url"`
PingInterval time.Duration `koanf:"ping_interval"`
}

0 comments on commit f067055

Please sign in to comment.