Documentation
¶
Index ¶
Constants ¶
View Source
const NODE_DOWNLOAD_CODE_ERR = -10001 //general download failure
todo put these consts into common as will be used for both server and peer
View Source
const NODE_DOWNLOAD_CODE_ERR_BUSY = -10002 //active shutdown cause of max_downloaders limited , system too busy
View Source
const NODE_DOWNLOAD_CODE_ERR_DISK_SPACE = -10006 //active shutdown cause of single file size limit
View Source
const NODE_DOWNLOAD_CODE_ERR_OTHER_DOWNLOADING = -10004 //active shutdown cause of someone else is downloading it
View Source
const NODE_DOWNLOAD_CODE_ERR_OVERSIZE = -10005 //active shutdown cause of single file size limit
View Source
const NODE_DOWNLOAD_CODE_ERR_SLOW = -10003 //active shutdown cause of too slow download at high traffic time
Variables ¶
This section is empty.
Functions ¶
func GetTotalDownloaderNum ¶
func GetTotalDownloaderNum() int64
func PreCheckTask ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.