ipfs

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunDaemon

func RunDaemon() error

RunDaemon ...

Types

type Client

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

Client ...

func NewClient

func NewClient() *Client

NewClient ...

func (*Client) AddDir

func (client *Client) AddDir(dir string) (string, error)

AddDir ...

func (*Client) Get

func (client *Client) Get(hash, outdir string) error

Get ...

func (*Client) Refs

func (client *Client) Refs(hash string, recursive bool) (<-chan string, error)

Refs ...

type Interface

type Interface interface {
	Get(hash, outdir string) error
	AddDir(dir string) (string, error)
	Refs(hash string, recursive bool) (<-chan string, error)
}

Interface ...

Directories

Path Synopsis
Package mock_ipfs is a generated GoMock package.
Package mock_ipfs is a generated GoMock package.

Jump to

Keyboard shortcuts

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