ipfsmanager

package module
v0.0.0-...-682b5bf Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2019 License: GPL-3.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrIpfsDaemonLocked returns if another ipfs daemon is running and locking fsrepo.
	ErrIpfsDaemonLocked = errors.New("another IPFS daemon is running")
)

Functions

This section is empty.

Types

type IpfsManager

type IpfsManager struct {
	API iface.CoreAPI
	// contains filtered or unexported fields
}

func NewIpfsManager

func NewIpfsManager(repoRoot string) (*IpfsManager, error)

NewIpfsManager creates a new IpfsManager. It will initialize IPFS if it's not initialized.

func (*IpfsManager) StartNode

func (im *IpfsManager) StartNode() error

func (*IpfsManager) StopNode

func (im *IpfsManager) StopNode() error

Jump to

Keyboard shortcuts

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