Current section

Files

Jump to
myspace_ipfs lib api network bootstrap.ex
Raw

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