Documentation ¶
Index ¶
- type CoreIpfs
- func (ci *CoreIpfs) Add(ctx context.Context, r io.Reader) (cid.Cid, error)
- func (ci *CoreIpfs) Get(ctx context.Context, c cid.Cid) (io.Reader, error)
- func (ci *CoreIpfs) IsStored(ctx context.Context, c cid.Cid) (bool, error)
- func (ci *CoreIpfs) Remove(ctx context.Context, c cid.Cid) error
- func (ci *CoreIpfs) Replace(ctx context.Context, c1 cid.Cid, c2 cid.Cid) (int, error)
- func (ci *CoreIpfs) Store(ctx context.Context, c cid.Cid) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoreIpfs ¶
type CoreIpfs struct {
// contains filtered or unexported fields
}
CoreIpfs is an implementation of HotStorage interface which saves data into a remote go-ipfs using the HTTP API.
Click to show internal directories.
Click to hide internal directories.