Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalCBOR ¶
Marshals an object to bytes for storing in state.
func NewADTStore ¶
Creates a new, empty IPLD store in memory.
Types ¶
type BlockStoreInMemory ¶
type BlockStoreInMemory struct {
// contains filtered or unexported fields
}
func NewBlockStoreInMemory ¶
func NewBlockStoreInMemory() *BlockStoreInMemory
type MetricsStore ¶
func NewMetricsStore ¶
func NewMetricsStore(underlying cbor.IpldBlockstore) *MetricsStore
func (*MetricsStore) ReadCount ¶
func (ms *MetricsStore) ReadCount() uint64
func (*MetricsStore) WriteCount ¶
func (ms *MetricsStore) WriteCount() uint64
type SyncBlockStoreInMemory ¶
type SyncBlockStoreInMemory struct {
// contains filtered or unexported fields
}
func NewSyncBlockStoreInMemory ¶
func NewSyncBlockStoreInMemory() *SyncBlockStoreInMemory
Click to show internal directories.
Click to hide internal directories.