Versions in this module Expand all Collapse all v0 v0.1.18 Apr 29, 2024 Changes in this version + type CLib struct + func NewCLib(daemonStart daemonStartFunc) *CLib + func (clib *CLib) JSONCall(jsonStr string) *JSONCallResult + type DaemonSwitch struct + IsOnline bool + IsStop bool + StopChan chan bool + type DownloadCancelReq struct + FilePath string + type DownloadFileReq struct + CID string + DownloadPath string + LocatorURL string + type DownloadProgressReq struct + FilePath string + type DownloadProgressResult struct + DoneSize int64 + FilePath string + Status string + TotalSize int64 + type Downloader struct + type JSONCallArgs struct + JSONParams string + Method string + type JSONCallResult struct + Code int + Data string + Msg string + type MergeConfigReq struct + Config string + RepoPath string + type Progress struct + DoneSize int64 + TotalSize int64 + type ProgressReader struct + func (pr *ProgressReader) Read(p []byte) (n int, err error) + type ReadConfigReq struct + RepoPath string + type SignReq struct + Hash string + RepoPath string + type SignResult struct + Signature string + type StartDaemonReq struct + LocatorURL string + LogPath string + RepoPath string + type StateResult struct + Online bool + Runing bool