ipldstore

package
v1.20.3-hyperspace-nv21 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: Apache-2.0, MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiIpldStore

type ApiIpldStore struct {
	// contains filtered or unexported fields
}

func NewApiIpldStore

func NewApiIpldStore(ctx context.Context, api apiIpldStoreApi, cacheSize int) (*ApiIpldStore, error)

func (*ApiIpldStore) Context

func (ht *ApiIpldStore) Context() context.Context

func (*ApiIpldStore) Get

func (ht *ApiIpldStore) Get(ctx context.Context, c cid.Cid, out interface{}) error

func (*ApiIpldStore) Put

func (ht *ApiIpldStore) Put(ctx context.Context, v interface{}) (cid.Cid, error)

Jump to

Keyboard shortcuts

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