models

package
v0.45.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DailyDownloadInfo

type DailyDownloadInfo struct {
	gorm.Model
	SupplierName string `gorm:"column:supplier_name;type:varchar(255);not null" json:"supplier_name"`
	PublicIP     string `gorm:"column:public_ip;type:varchar(255);not null" json:"public_ip"`
	WhichDay     string `gorm:"column:which_day;type:varchar(255);not null" json:"which_day"`
	Count        int    `gor:"column:count;type:int;not null;default:0" json:"count"`
}

DailyDownloadInfo 今日下载统计,每个下载源使用了多少的次数

type DownloadFileInfo

type DownloadFileInfo struct {
	gorm.Model
	UID            string    `gorm:"column:uid;primary_key"`
	RelPath        string    `gorm:"column:rel_path"`
	ExpirationTime time.Time `gorm:"column:expiration_time"`
}

type TaskQueueInfo

type TaskQueueInfo struct {
	gorm.Model
	Priority int    `gorm:"column:priority"`
	RelPath  string `gorm:"column:rel_path"`
}

Jump to

Keyboard shortcuts

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