From 7edab13afe0fd75652aa000b4fbf05a2e0e0148c Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 28 Feb 2024 06:11:04 -0500 Subject: [PATCH] refactor: define Protocol under Config for completeness --- config/config.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index 5da15b9..50e2f79 100644 --- a/config/config.go +++ b/config/config.go @@ -18,7 +18,8 @@ var ( ) type Config struct { - Core CoreConfig `mapstructure:"core"` + Core CoreConfig `mapstructure:"core"` + Protocol map[string]ProtocolConfig `mapstructure:"protocol"` } type Manager struct {