1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-05-17 23:16:11 +08:00
Files
kubo/config/plugins.go
Steven Allen f0b5fe9733 go-ipfs-config: plugins: don't omit empty config values
Turns out the go-ipfs config logic really doesn't play well with this. Let's
just keep them and avoid encoding empty values another way.
2019-08-29 13:56:13 -07:00

12 lines
202 B
Go

package config
type Plugins struct {
Plugins map[string]Plugin
// TODO: Loader Path? Leaving that out for now due to security concerns.
}
type Plugin struct {
Disabled bool
Config interface{}
}