ipfs

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IpfsApi

type IpfsApi interface {
	Add(r io.Reader) (string, error)
}

type IpfsCoreApi

type IpfsCoreApi core.IpfsNode

func StartIpfs

func StartIpfs(ctx context.Context, repoPath string) (*IpfsCoreApi, error)

func (*IpfsCoreApi) Add

func (ipfs *IpfsCoreApi) Add(r io.Reader) (string, error)

type StubIpfsApi

type StubIpfsApi struct{}

func (*StubIpfsApi) Add

func (s *StubIpfsApi) Add(r io.Reader) (string, error)

Jump to

Keyboard shortcuts

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