Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
G
go-ipfs
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
jihao
go-ipfs
Commits
02a1feab
提交
02a1feab
authored
12月 26, 2018
作者:
Steven Allen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
docs: address CR on plugin documentation
License: MIT Signed-off-by:
Steven Allen
<
steven@stebalien.com
>
上级
f706bc69
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
22 行增加
和
14 行删除
+22
-14
plugins.md
docs/plugins.md
+22
-14
没有找到文件。
docs/plugins.md
浏览文件 @
02a1feab
...
...
@@ -32,27 +32,30 @@ Datastore plugins add support for additional datastore backends.
## Available Plugins
| Name | Type |
Built-In
| Description |
|---------------------------------------------------------------------------------|-----------|----------|------------------------------------------------|
|
[
git
](
https://github.com/ipfs/go-ipfs/tree/master/plugin/plugins/git
)
| IPLD | x | An IPLD format for git objects. |
|
[
badgerds
](
https://github.com/ipfs/go-ipfs/tree/master/plugin/plugins/badgerds
)
| Datastore | x | A high performance but experimental datastore. |
|
[
flatfs
](
https://github.com/ipfs/go-ipfs/tree/master/plugin/plugins/flatfs
)
| Datastore | x | A stable filesystem-based datastore. |
|
[
levelds
](
https://github.com/ipfs/go-ipfs/tree/master/plugin/plugins/levelds
)
| Datastore | x | A stable, flexible datastore backend. |
| Name | Type |
Preloaded
| Description |
|---------------------------------------------------------------------------------|-----------|----------
-
|------------------------------------------------|
|
[
git
](
https://github.com/ipfs/go-ipfs/tree/master/plugin/plugins/git
)
| IPLD | x
| An IPLD format for git objects. |
|
[
badgerds
](
https://github.com/ipfs/go-ipfs/tree/master/plugin/plugins/badgerds
)
| Datastore | x
| A high performance but experimental datastore. |
|
[
flatfs
](
https://github.com/ipfs/go-ipfs/tree/master/plugin/plugins/flatfs
)
| Datastore | x
| A stable filesystem-based datastore. |
|
[
levelds
](
https://github.com/ipfs/go-ipfs/tree/master/plugin/plugins/levelds
)
| Datastore | x
| A stable, flexible datastore backend. |
*
**Built-In**
plugins are built into the go-ipfs binary and do not need to be
installed separately. At the moment, all
*known*
plugins are built-in as
they're mature and have proven themselves to be useful.
*
**Preloaded**
plugins are built into the go-ipfs binary and do not need to be
installed separately. At the moment, all in-tree plugins are preloaded.
## Installing Plugins
External plugins must be installed in
`$IPFS_PATH/plugins/`
(usually
`~/.ipfs/plugins/`
). Alternatively, plugins can be preloaded and built into the
go-ipfs binary itself.
Go-ipfs supports two types of plugins: External and Preloaded.
*
External plugins must be installed in
`$IPFS_PATH/plugins/`
(usually
`~/.ipfs/plugins/`
).
*
Preloaded plugins are built-into the go-ipfs when it's compiled.
### External Plugin
At the moment, this method is only supported on Linux and MacOS. Users of other
operating systems should follow the instructions for preloaded plugins.
The advantage of an external plugin is that it can be built, packaged, and
installed independently of go-ipfs. Unfortunately, this method is only supported
on Linux and MacOS at the moment. Users of other operating systems should follow
the instructions for preloaded plugins.
#### In-tree
...
...
@@ -92,6 +95,11 @@ Finally, as with in-tree plugins:
### Preloaded Plugins
The advantages of preloaded plugins are:
1.
They're bundled with the go-ipfs binary.
2.
They work on all platforms.
To preload a go-ipfs plugin:
1.
Add the plugin to the preload list:
`plugin/loader/preload_list`
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论