pinata

package
v0.0.2-0...-6e4a87a Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFile

func AddFile(ctx context.Context, node *ipfs.Node, f *os.File) (ipfspath.Resolved, error)

TODO: use interface instead of concrete *ipfs.Node

func AddIndexHTML

func AddIndexHTML(ctx context.Context, node *ipfs.Node, contents []byte) (ipfspath.Resolved, error)

TODO: use interface instead of concrete *ipfs.Node

func Pin

func Pin(ctx context.Context, node *ipfs.Node, pinner *pinata.API, path ipfspath.Resolved) error

TODO: use interface instead of concrete *ipfs.Node TODO: use interface instead of concrete *pinata.API

func Upload

func Upload(images []string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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