mirror of
https://github.com/ipfs/kubo.git
synced 2025-05-17 23:16:11 +08:00

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.
12 lines
202 B
Go
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{}
|
|
}
|