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

@ -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 {