kubo/config/plugins.go
Steven Allen a04a858922 go-ipfs-config: add plugins config section
* Allow users to store plugin specific config options.
* Allow users to disable specific plugins.

Eventually, we can use this to allow loading plugins from non-standard locations.
2019-08-29 10:15:31 -07:00

12 lines
222 B
Go

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