From bfb8559e3296a6bc1d9da07d3180ebedde10b8d9 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 28 Feb 2024 09:42:06 -0500 Subject: [PATCH] fix: hack: make Protocol an interface map --- config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.go b/config/config.go index 0893cbf..8f76a53 100644 --- a/config/config.go +++ b/config/config.go @@ -26,8 +26,8 @@ type Validator interface { } type Config struct { - Core CoreConfig `mapstructure:"core"` - Protocol map[string]ProtocolConfig `mapstructure:"protocol"` + Core CoreConfig `mapstructure:"core"` + Protocol map[string]interface{} `mapstructure:"protocol"` } type Manager struct {