kubo/config/plugins.go
Marcin Rataj 40ba801eed chore: apply go fix modernizers from Go 1.26
automated refactoring: interface{} to any, slices.Contains,
and other idiomatic updates.
2026-02-11 00:09:32 +01:00

12 lines
214 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 any `json:",omitempty"`
}