fix: hack: make Protocol an interface map
This commit is contained in:
parent
586a6dc205
commit
bfb8559e32
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue