ipld

package
v3.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2022 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalCBOR

func MarshalCBOR(o cbor.Marshaler) (cid.Cid, []byte, error)

Marshals an object to bytes for storing in state.

func NewADTStore

func NewADTStore(ctx context.Context) adt.Store

Creates a new, empty, unsynchronized IPLD store in memory. This store is appropriate for most kinds of testing.

func NewBlockStoreInMemory

func NewBlockStoreInMemory() *ipld2.BlockStoreInMemory

func NewMetricsBlockStore

func NewMetricsBlockStore(underlying ipldcbor.IpldBlockstore) *ipld2.MetricsBlockStore

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL