Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPFS ¶
type IPFS interface {
// AddFile will add data to a file and pin to IPFS to return it's CID
AddFile(data []byte, name string, updatable bool) (string, error)
// RetrieveFile will retrieve a file from IPFS
RetrieveFile(cid string) ([]byte, error)
// ListFiles will retrieve a list of files from IPFS
ListFiles() ([]string, error)
// Stop will stop IPFS
Stop() error
}
Directories
¶
| Path | Synopsis |
|---|---|
|
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
|
ipfs
Package ipfs_mock is a generated GoMock package.
|
Package ipfs_mock is a generated GoMock package. |
|
ipfs/path
Package resolved_mock is a generated GoMock package.
|
Package resolved_mock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.