Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNodeOffline is returned when performing an operation to a // disconnected ipfs node. ErrNodeOffline = errors.New("ipfs: node not live") // ErrNodeNotInitialized is returned when accessing a nil pointer to // the ipfs shell instance. ErrNodeNotInitialized = errors.New("ipfs: node not initialized") )
View Source
var ( // Shell holds a ipfs shell instance for access to the // the ipfs network. (Default: Infura node) Shell *shell.Shell )
Functions ¶
func UploadFile ¶
UploadFile takes a file path and upload it to ipfs and return the generate hash.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.