util

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: Apache-2.0, MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFullNodeAPIUsingCredentials added in v0.5.5

func GetFullNodeAPIUsingCredentials(ctx context.Context, listenAddr, token string) (api.FullNode, jsonrpc.ClientCloser, error)

Types

type APIIpldStore

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

APIIpldStore is required for AMT and HAMT access.

func NewAPIIpldStore

func NewAPIIpldStore(ctx context.Context, api api.FullNode) *APIIpldStore

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