Crate noosphere_ipfs

Source

Structs§

GatewayClient
A high-level HTTP client for accessing IPFS HTTP Gateway and normalizing their expected payloads to Noosphere-friendly formats.
IpfsStorage
IpfsStorage is an implementation of Storage that wraps another implementation of Storage and an IpfsClient. IpfsStorage is generic over BlockStore and KeyValueStore but will produce a IpfsStore wrapped BlockStore
IpfsStore
An implementation of BlockStore that wraps some other implementation of same. It forwards most behavior to its wrapped implementation, except when reading blocks. In that case, if a block cannot be found locally, it will attempt to fail-over by requesting the block from a configured IPFS gateway API. If the block is found, it is added to local storage and then returned as normal
KuboClient
A high-level HTTP client for accessing IPFS Kubo RPC APIs and normalizing their expected payloads to Noosphere-friendly formats

Traits§

IpfsClient
A generic interface for interacting with an IPFS-like backend where it may be desirable to syndicate sphere data to. Although the interface was designed after a small subset of the capabilities of IPFS Kubo, it is intended to be general enough to apply to other IPFS implementations.
IpfsClientAsyncReadSendSync