Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IP ¶
type IP struct { ProxyId int64 `gorm:"primary_key; auto_increment; not null" json:"-"` ProxyHost string `gorm:"type:varchar(255); not null; unique" json:"proxyHost"` ProxyPort int `gorm:"type:int(11); not null; unique" json:"proxyPort"` ProxyType string `gorm:"type:varchar(64); not null" json:"proxyType"` ProxyLocation string `gorm:"type:varchar(255); default null" json:"proxyLocation"` ProxySpeed int `gorm:"type:int(20); not null; default 0" json:"proxySpeed"` ProxySource string `gorm:"type:varchar(64); not null;" json:"proxySource"` CreateTime string `gorm:"type:varchar(50); not null" json:"-"` UpdateTime string `gorm:"type:varchar(50); default ''" json:"updateTime"` }
IP struct
func GetIpByProxyType ¶
GetIpByProxyType 根据 proxyType 获取一条数据
Click to show internal directories.
Click to hide internal directories.