Documentation ¶
Index ¶
- type IpfsShell
- func (shell *IpfsShell) Fetch(hash, path string) error
- func (shell *IpfsShell) FetchAndPin(hash, path string) error
- func (shell *IpfsShell) Get(hash, outdir string) error
- func (shell *IpfsShell) IsIpfsDir(path string) (bool, error)
- func (shell *IpfsShell) IsUp() bool
- func (shell *IpfsShell) List(path string) ([]*ipfs.LsLink, error)
- func (shell *IpfsShell) Pin(path string) error
- func (shell *IpfsShell) Put(path string) (string, error)
- func (shell *IpfsShell) SwarmConnect(ctx context.Context, addr ...string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IpfsShell ¶
type IpfsShell struct {
// contains filtered or unexported fields
}
func NewIpfsShell ¶
func (*IpfsShell) FetchAndPin ¶
Click to show internal directories.
Click to hide internal directories.