Documentation
¶
Index ¶
Constants ¶
View Source
const ( ModerateUploadSpeed = "5–10 Mbps" ModerateDownloadSpeed = "10–25 Mbps" MaxFileSizeBytes = 524288000 // 500 MB )
Variables ¶
This section is empty.
Functions ¶
func CheckRewards ¶
func CheckRewards(nodeID string)
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately.
func ShowNodeStatus ¶
func ShowNodeStatus()
Types ¶
type FileMetadataModel ¶
type FileMetadataModel struct {
CID string `gorm:"column:cid;primaryKey;not null;size:255" json:"cid"`
FileName string `gorm:"size:255" json:"fileName"`
Note string `gorm:"size:255" json:"note"`
FileSize string `gorm:"size:255" json:"fileSize"`
Shards datatypes.JSON `gorm:"type:jsonb" json:"shards"`
CreatedAt time.Time `json:"createdAt"`
}
Click to show internal directories.
Click to hide internal directories.