ipfs

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2025 License: AGPL-3.0, AGPL-3.0-or-later Imports: 28 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 {
	// contains filtered or unexported fields
}

func NewIPFS

func NewIPFS(ctx context.Context, n host.Host) (*Client, error)

func (*Client) Close

func (c *Client) Close() error

func (*Client) GetStream

func (c *Client) GetStream(ctx context.Context, id string) (io.ReadCloser, error)

func (*Client) ID

func (c *Client) ID() string

func (*Client) PutStream

func (c *Client) PutStream(ctx context.Context, reader io.ReadCloser) (id string, _ error)

type WarpNodeIdentifier

type WarpNodeIdentifier interface {
	NodeInfo() warpnet.NodeInfo
	PrivateKey() warpnet.WarpPrivateKey
}

Jump to

Keyboard shortcuts

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