Documentation ¶
Index ¶
- type CidString
- type DagStore
- func FromDatastoreOffline(ctx context.Context, ds datastore.Batching) (DagStore, error)
- func FromDatastoreOfflineCached(ctx context.Context, ds datastore.Batching, cachesize int) (DagStore, error)
- func MemoryStore(ctx context.Context) (DagStore, error)
- func MustMemoryStore(ctx context.Context) DagStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CidString ¶
type CidString string
CidString is the KeyString() of a CID
func ToCidString ¶
func ToCidString(id cid.Cid) CidString
ToCidString takes a CID and returns its map key (CidString)
type DagStore ¶
type DagStore interface { format.DAGService }
func FromDatastoreOffline ¶
func MemoryStore ¶
Return a new DagStore which is only in memory
func MustMemoryStore ¶
Return a new DagStore which is only in memory
Click to show internal directories.
Click to hide internal directories.