Documentation ¶ Index ¶ type Storage func (s Storage) Read(ctx context.Context, cid cid.Cid) ([]byte, error) func (s Storage) Write(ctx context.Context, content []byte, cid cid.Cid) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Storage ¶ type Storage map[cid.Cid][]byte func (Storage) Read ¶ func (s Storage) Read(ctx context.Context, cid cid.Cid) ([]byte, error) func (Storage) Write ¶ func (s Storage) Write(ctx context.Context, content []byte, cid cid.Cid) error Source Files ¶ View all Source files reader.go Click to show internal directories. Click to hide internal directories.