Documentation
¶
Index ¶
- func NewIdentity() (*config.Identity, error)
- func Start()
- type IpfsPeer
- func (ipfsPeer *IpfsPeer) AddDirectory(path string) string
- func (ipfsPeer *IpfsPeer) AddFile(filename string) string
- func (ipfsPeer *IpfsPeer) Connect()
- func (ipfsPeer *IpfsPeer) GetDirectory(cid string, path string) (string, error)
- func (ipfsPeer *IpfsPeer) GetFile(cid string, path string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IpfsPeer ¶
type IpfsPeer struct {
Context context.Context
RepoPath string
IpfsNode *core.IpfsNode
CoreAPI icore.CoreAPI
}
func GetIpfsPeer ¶ added in v0.0.2
func GetIpfsPeer() *IpfsPeer
func (*IpfsPeer) AddDirectory ¶ added in v0.0.2
func (*IpfsPeer) GetDirectory ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.