Documentation
¶
Overview ¶
Package ipfs defines a storage based on InterPlanetary File System.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DaemonStorage ¶
type DaemonStorage struct {
// contains filtered or unexported fields
}
DaemonStorage is IPFS-based storage.ContentStorage interface implementation
func NewStorage ¶
func NewStorage(sh *shell.Shell, codec storage.Codec) *DaemonStorage
func (*DaemonStorage) Read ¶
func (s *DaemonStorage) Read(ctx context.Context, cid cid.Cid) (storage.ProtoDecodable, error)
Click to show internal directories.
Click to hide internal directories.