ipfs

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: MPL-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bootstrap

func Bootstrap(ctx context.Context, ipfs coreiface.CoreAPI)

Bootstrap attempts to connect to bootstrap peers.

func ExportCAR

func ExportCAR(ctx context.Context, dag ipld.DAGService, id cid.Cid) error

ExportCAR exports a CAR file and imports it into the valist IPFS node.

func NewCoreAPI

func NewCoreAPI(ctx context.Context, repoPath string) (coreiface.CoreAPI, error)

NewCoreAPI returns an IPFS CoreAPI. If a local IPFS istance is running a local connection will be attempted, otherwise a new instance is started.

Types

This section is empty.

Jump to

Keyboard shortcuts

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