hoarder

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: BSD-3-Clause Imports: 13 Imported by: 1

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 New

func New(ctx context.Context, node peer.Node) (*Client, error)

func (*Client) Close

func (c *Client) Close()

func (*Client) List

func (c *Client) List() ([]string, error)

func (*Client) Rare

func (c *Client) Rare() ([]string, error)

TODO: Add cids to dht

func (*Client) Stash

func (c *Client) Stash(cid string) (response.Response, error)

type Peer

type Peer struct {
	Client
	Id string
}

Jump to

Keyboard shortcuts

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