View Source MyspaceIPFS.Api.Network.Swarm (Myspace IPFS v0.0.1)

MyspaceIPFS.Api.Swarm is where the swarm commands of the IPFS API reside.

Link to this section Summary

Link to this section Functions

@spec addrs() ::
  {:client_error | :forbidden | :missing | :not_allowed | :ok | :server_error,
   any()}
@spec addrs_listen() ::
  {:client_error | :forbidden | :missing | :not_allowed | :ok | :server_error,
   any()}
@spec addrs_local() ::
  {:client_error | :forbidden | :missing | :not_allowed | :ok | :server_error,
   any()}
@spec connect(binary()) ::
  {:client_error | :forbidden | :missing | :not_allowed | :ok | :server_error,
   any()}
@spec disconnect(binary()) ::
  {:client_error | :forbidden | :missing | :not_allowed | :ok | :server_error,
   any()}
@spec filters() ::
  {:client_error | :forbidden | :missing | :not_allowed | :ok | :server_error,
   any()}
@spec filters_add(binary()) ::
  {:client_error | :forbidden | :missing | :not_allowed | :ok | :server_error,
   any()}
@spec filters_rm(binary()) ::
  {:client_error | :forbidden | :missing | :not_allowed | :ok | :server_error,
   any()}
@spec peers() ::
  {:client_error | :forbidden | :missing | :not_allowed | :ok | :server_error,
   any()}