Documentation
¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_MYSQL_USER = "root" DEFAULT_MYSQL_PASSWORD = "163453" DEFAULT_MYSQL_HOST = "192.168.5.2" DEFAULT_MYSQL_PORT = "3306" DEFAULT_SMTP = "ocuplrlgwgelebej" DEFAULT_PROXY = "http://127.0.0.1:8889" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OneFile ¶
type OneFile struct {
Channel string // 频道id
FileId int // 文件id
Tag string // 主文件夹名 #后面的文件名
Subtag string // 子(二级)文件夹名 &后面的文件名
FileName string // 手动设置的文件名 @后面的文件名
Offset int // 偏移量 如下载当前媒体之后第n个文件 +后面的数字
Capacity int // 下载当前文件和之后的n个文件 %后面的数字
Success bool // 是否下载成功
}
func (*OneFile) SetCapacity ¶ added in v0.0.12
func (*OneFile) SetChannel ¶ added in v0.0.12
func (*OneFile) SetFileName ¶ added in v0.0.12
type Parameter ¶ added in v0.1.0
func (*Parameter) GetMainFolder ¶ added in v0.1.0
func (*Parameter) SetMainFolder ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.