Documentation ¶
Index ¶
Constants ¶
View Source
const (
DownloadServerTypeOss = 2
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Announcement ¶
type CacheInfo ¶ added in v1.0.11
type CacheInfo struct { GenerateTimestamp int64 `json:"generate_timestamp"` GenerateTime string `json:"generate_time"` UpdateTimestamp int64 `json:"update_timestamp"` UpdateTime string `json:"update_time"` Files map[string]*CacheFile `json:"files"` }
func NewCacheInfo ¶ added in v1.0.11
func NewCacheInfo() *CacheInfo
type ClientFileInfo ¶
type ClientFileInfo struct {
Files []*FileInfo `json:"files"`
}
type ScanStatus ¶
type ScanStatus int8
const ( ScanStatusWait ScanStatus = 10 ScanStatusScanning ScanStatus = 20 ScanStatusFailed ScanStatus = 30 ScanStatusCompleted ScanStatus = 40 )
type ServerFileInfo ¶
type ServerFileInfo struct { ScanStatus ScanStatus `json:"status"` Files []*FileInfo `json:"files"` }
type UpdateInfo ¶
var UpdateInf *UpdateInfo = &UpdateInfo{}
Click to show internal directories.
Click to hide internal directories.