Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
f55d3e8a
Commit
f55d3e8a
authored
Apr 28, 2020
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: release 0.5.0
parent
512050f1
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1269 additions
and
222 deletions
+1269
-222
CHANGELOG.md
CHANGELOG.md
+1240
-221
docs/plugins.md
docs/plugins.md
+28
-0
version.go
version.go
+1
-1
No files found.
CHANGELOG.md
View file @
f55d3e8a
This diff is collapsed.
Click to expand it.
docs/plugins.md
View file @
f55d3e8a
...
...
@@ -57,6 +57,34 @@ and modify all internal state. Use this plugin type to extend go-ipfs in
arbitrary ways. However, be aware that your plugin will likely break every time
go-ipfs updated.
## Configuration
Plugins can be configured in the
`Plugins`
section of the config file. Here,
plugins can be:
1.
Passed an arbitrary config object via the
`Config`
field.
2.
Disabled via the
`Disabled`
field.
Example:
```
js
{
// ...
"
Plugins
"
:
{
"
Plugins
"
:
{
// plugin named "plugin-foo"
"
plugin-foo
"
:
{
"
Config
"
:
{
/* arbitrary json */
}
},
// plugin named "plugin-bar"
"
plugin-bar
"
:
{
"
Disabled
"
:
true
// "plugin-bar" will not be loaded
}
}
}
}
```
## Available Plugins
| Name | Type | Preloaded | Description |
...
...
version.go
View file @
f55d3e8a
...
...
@@ -4,7 +4,7 @@ package ipfs
var
CurrentCommit
string
// CurrentVersionNumber is the current application's version literal
const
CurrentVersionNumber
=
"0.5.0
-rc4
"
const
CurrentVersionNumber
=
"0.5.0"
const
ApiVersion
=
"/go-ipfs/"
+
CurrentVersionNumber
+
"/"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment