【文件属性】:
文件名称:ruby-ipfs-http-client:IPFS HTTP API的客户端库,在Ruby中实现
文件大小:43KB
文件格式:ZIP
更新时间:2021-02-04 14:34:22
api client ipfs api-client IPFSRuby
ruby-ipfs-http-client
IPFS HTTP API的客户端库,在Ruby中实现。
概要:
确保Ipfs守护程序正在运行,否则客户端将无法连接。
您将得到一个错误Ipfs::UnreachableDaemon ,如果没有守护程序,程序将停止执行。
客户端将与API建立持久连接。
要从源文件访问库:
require 'ipfs'
待办事项:使用配置文件和/或环境变量来指定http http-client url。 这些是目前硬编码的:(
Ipfs ::文件
此类旨在通过Ipfs处理文件。
方法记录
想要贡献
您可以在概述该库的设计。
【文件预览】:
ruby-ipfs-http-client-master
----.travis.yml(99B)
----Vagrantfile(3KB)
----ruby-ipfs-http-client.gemspec(684B)
----Rakefile(107B)
----var()
--------bin()
--------conf()
----.rubocop.yml(348B)
----LICENSE(1KB)
----CONTRIBUTING.md(5KB)
----Gemfile(168B)
----Gemfile.lock(2KB)
----.rspec(52B)
----spec()
--------file_spec.rb(4KB)
--------api()
--------request()
--------base_spec.rb(1KB)
--------connection()
--------dagstream_spec.rb(1KB)
--------client_spec.rb(2KB)
--------multihash_spec.rb(1KB)
--------spec_helper.rb(671B)
--------fixtures()
----.ruby-version(6B)
----.gitignore(76B)
----lib()
--------ruby-ipfs-http-client()
--------ipfs.rb(115B)
----README.md(1KB)