Documentation ¶
Index ¶
- func Api_Catching(path string) []byte
- func Api_CloseNode()
- func Api_Get(path string, outfile string)
- func Api_InitNode(tmpNode bool, privateKey string) error
- func Api_ServeHTTPGateway() error
- func Api_SetBoostarp(bootstarpurl string)
- func ClearNode()
- func NewMobileNode(ctx context.Context, repoPath string, privateKey string, bootstarpurl []string, ...) (*core.IpfsNode, error)
- func ProgressExtract(v int64) int64
- type Interface
- type Shell
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Api_Catching ¶
func Api_CloseNode ¶
func Api_CloseNode()
func Api_InitNode ¶
func Api_ServeHTTPGateway ¶
func Api_ServeHTTPGateway() error
func Api_SetBoostarp ¶
func Api_SetBoostarp(bootstarpurl string)
func NewMobileNode ¶
func ProgressExtract ¶
Types ¶
type Interface ¶
type Interface interface { // Cat returns a reader returning the data under the IPFS path Cat(path string) (io.ReadCloser, error) Get(hash string, outdir string) error Catching(p string) ([]byte, error) }
Interface ...
type Shell ¶
type Shell struct {
// contains filtered or unexported fields
}
Shell ...
func (*Shell) Cat ¶
func (s *Shell) Cat(p string) (io.ReadCloser, error)
Cat resolves the ipfs path p and returns a reader for that data, if it exists and is availalbe
func (*Shell) CloseShell ¶
func (s *Shell) CloseShell()
Click to show internal directories.
Click to hide internal directories.