mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
* 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.
12 lines
222 B
Go
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{}
|
|
}
|