ipfs

package
v2.19.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	API coreiface.CoreAPI
	// contains filtered or unexported fields
}

func NewClient

func NewClient(ctx context.Context, apiAddr string) (*Client, error)

NewClient creates an API client for the given ipfs node API multiaddress.

func (*Client) Get

func (c *Client) Get(ctx context.Context, cidString string, outputPath string) error

type IPFSOptions

type IPFSOptions struct {
	Addr string `json:"addr" toml:"addr"`
}

Jump to

Keyboard shortcuts

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