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 ¶
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
Click to show internal directories.
Click to hide internal directories.