package
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Aug 22, 2022
License: MIT
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
AgentStatusNormal = 2
AgentStatusDownloading = 3
)
type AgentStatus struct {
Status int `json:"status,omitempty"`
NeedDownload int64 `json:"need_download,omitempty"`
}
checker will get downloadable sectors and send it to channel ch
type Data struct {
List []DataItem `json:"list,omitempty"`
}
type DataItem struct {
MinerID string `json:"minerId,omitempty"`
SectorId string `json:"sectorId,omitempty"`
SectorType string `json:"sectorType,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.