Skip to content

Commit

Permalink
Merge pull request #7309 from ipfs/fix/plugin-docs
Browse files Browse the repository at this point in the history
doc(plugin): document plugin config
  • Loading branch information
Stebalien authored May 21, 2020
2 parents 4b10fdb + 0cc3d7a commit e0aa23d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}
}

Expand Down

0 comments on commit e0aa23d

Please sign in to comment.