cmd

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2021 License: MIT Imports: 29 Imported by: 0

Documentation

Index

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 Execute

func Execute()

func PrintError

func PrintError(v ...interface{})

func PrintInfo added in v1.0.3

func PrintInfo(v ...interface{})

Types

type StatusBar

type StatusBar struct {
	// contains filtered or unexported fields
}

func (*StatusBar) CommitMetaCompleted added in v1.0.3

func (s *StatusBar) CommitMetaCompleted(request, response string, err error)

func (*StatusBar) Completed

func (s *StatusBar) Completed(allocationId, filePath string, filename string, mimetype string, size int, op int)

func (*StatusBar) Error

func (s *StatusBar) Error(allocationID string, filePath string, op int, err error)

func (*StatusBar) InProgress

func (s *StatusBar) InProgress(allocationId, filePath string, op int, completedBytes int, data []byte)

func (*StatusBar) RepairCompleted added in v1.0.3

func (s *StatusBar) RepairCompleted(filesRepaired int)

func (*StatusBar) Started

func (s *StatusBar) Started(allocationId, filePath string, op int, totalBytes int)

type ZCNStatus

type ZCNStatus struct {
	// contains filtered or unexported fields
}

func (*ZCNStatus) OnWalletCreateComplete

func (zcn *ZCNStatus) OnWalletCreateComplete(status int, wallet string, err string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL