coreapi

package
v0.4.5-pre2 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUnixfsAPI

func NewUnixfsAPI(n *core.IpfsNode) coreiface.UnixfsAPI

Types

type UnixfsAPI

type UnixfsAPI struct {
	// contains filtered or unexported fields
}

func (*UnixfsAPI) Add

func (api *UnixfsAPI) Add(ctx context.Context, r io.Reader) (*cid.Cid, error)

func (*UnixfsAPI) Cat

func (api *UnixfsAPI) Cat(ctx context.Context, p string) (coreiface.Reader, error)

func (*UnixfsAPI) Ls

func (api *UnixfsAPI) Ls(ctx context.Context, p string) ([]*coreiface.Link, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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