Documentation ¶
Index ¶
Constants ¶
View Source
const ( PingFail int8 = 0 PingOk int8 = 1 )
View Source
const ( CrawHtml CrawType = 1 // 网站是HTML CrawApi CrawType = 2 // 网站是JSON接口 ByType = 1 // 通过服务器类型 ByHosts = 2 // 服务器IPs Disable = 0 // 禁用 Enable = 1 // 启用 )
View Source
const ( AuthGithub = iota AuthWeibo )
View Source
const DB_MU = "mu"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Favor ¶
type Node ¶
type Site ¶
type Site struct { ID int `gorm:"primaryKey"` Name string `gorm:"name"` Root string `gorm:"root"` Key string `gorm:"key"` Desc string `gorm:"desc"` Type int8 `gorm:"type"` Tags string `gorm:"tags"` Cron string `gorm:"cron"` Enable int8 `gorm:"enable"` NodeOption int8 `gorm:"node_option"` NodeType int8 `gorm:"node_type"` NodeHosts string `gorm:"node_hosts"` ReqHeaders string `gorm:"req_headers"` }
Click to show internal directories.
Click to hide internal directories.