fix: hack: make Protocol an interface map

This commit is contained in:
Derrick Hammer 2024-02-28 09:42:06 -05:00
parent 586a6dc205
commit bfb8559e32
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ type Validator interface {
type Config struct { type Config struct {
Core CoreConfig `mapstructure:"core"` Core CoreConfig `mapstructure:"core"`
Protocol map[string]ProtocolConfig `mapstructure:"protocol"` Protocol map[string]interface{} `mapstructure:"protocol"`
} }
type Manager struct { type Manager struct {