w3s

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrHttpStatus = errors.New("unexpected response status")

Functions

func NewClient

func NewClient(addr string) (*api.HttpApi, error)

func PackCar

func PackCar(ctx context.Context, client *api.HttpApi, id cid.Cid) (io.ReadCloser, error)

func Upload

func Upload(ctx context.Context, token, apiAddr string, cidList []cid.Cid) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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