Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAPIAddrForPath ¶
GetAPIAddrForPath returns the API addr of the IPFS repo at `baseDir`.
func IPFS ¶
func IPFS(out io.Writer, doSetup, setDefaultConfig, setExtraConfig bool, ipfsPath string) (string, error)
IPFS setups a IPFS repo at the standard place. If there is already a repository and the daemon is running, it will do nothing. Otherwise it will install IPFS (if it needs to), init a repo, set config and bring up the daemon in a fashion that should work for most cases. It will output log messages to `out`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.