mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-26 21:07:45 +08:00
Merge pull request #7309 from ipfs/fix/plugin-docs
doc(plugin): document plugin config
This commit is contained in:
commit
e0aa23d4a6
@ -5,7 +5,12 @@ type Environment struct {
|
||||
// Path to the IPFS repo.
|
||||
Repo string
|
||||
|
||||
// The plugin's config, if specified.
|
||||
// The plugin's config, if specified in the
|
||||
// Plugins.Plugins["plugin-name"].Config field of the user's go-ipfs
|
||||
// config. See docs/plugins.md for details.
|
||||
//
|
||||
// This is an arbitrary JSON-like object unmarshaled into an interface{}
|
||||
// according to https://golang.org/pkg/encoding/json/#Unmarshal.
|
||||
Config interface{}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user