Documentation
¶
Index ¶
- Constants
- Variables
- func Execute()
- func PrintError(v ...interface{})
- func PrintInfo(v ...interface{})
- type StatusBar
- func (s *StatusBar) CommitMetaCompleted(request, response string, err error)
- func (s *StatusBar) Completed(allocationId, filePath string, filename string, mimetype string, size int, ...)
- func (s *StatusBar) Error(allocationID string, filePath string, op int, err error)
- func (s *StatusBar) InProgress(allocationId, filePath string, op int, completedBytes int, data []byte)
- func (s *StatusBar) RepairCompleted(filesRepaired int)
- func (s *StatusBar) Started(allocationId, filePath string, op int, totalBytes int)
- type ZCNStatus
Constants ¶
View Source
const ( ZCNStatusSuccess int = 0 ZCNStatusError int = 1 )
View Source
const ( KB = 1024 MB = 1024 * KB GB = 1024 * MB )
Variables ¶
View Source
var CfmChainLength int
View Source
var VersionStr string
Functions ¶
func PrintError ¶
func PrintError(v ...interface{})
Types ¶
type StatusBar ¶
type StatusBar struct {
// contains filtered or unexported fields
}
func (*StatusBar) CommitMetaCompleted ¶ added in v1.0.3
func (*StatusBar) InProgress ¶
func (*StatusBar) RepairCompleted ¶ added in v1.0.3
Source Files
¶
- add.go
- addcurator.go
- challengepool.go
- collaborators.go
- commit.go
- common.go
- copy.go
- delete.go
- download.go
- filemeta.go
- filestats.go
- finalizeallocation.go
- getallocation.go
- getmpt.go
- list.go
- listallocations.go
- move.go
- newallocation.go
- readpool.go
- registerwallet.go
- rename.go
- repair.go
- root.go
- share.go
- stakepool.go
- storage.go
- sync.go
- transferallocation.go
- update.go
- updateallocation.go
- upload.go
- version.go
- walletinfo.go
- writepool.go
Click to show internal directories.
Click to hide internal directories.