Packages
A pretty good Kubo IPFS RPC API client for Elixir.
Retired package: Deprecated - Replaced by ex_ipfs
Current section
Files
Jump to
Current section
Files
lib/api/network/bootstrap.ex
defmodule MyspaceIPFS.Api.Network.Bootstrap do
@moduledoc """
MyspaceIPFS.Api is where the bootstrap commands of the IPFS API reside.
"""
import MyspaceIPFS
# BOOTSTRAP COMMANDS
# FIXME: bootstrap is not implemented yet.
# FIXME: add is not implemented yet.
def add_default, do: post_query("/bootstrap/add/default")
def list, do: post_query("/bootstrap/list")
def rm_all, do: post_query("bootstrap/rm/all")
end