Versions in this module Expand all Collapse all v0 v0.6.3 Dec 16, 2019 v0.6.2 Dec 13, 2019 Changes in this version + const RegIp + const RegProxy + const RegProxyWithoutColon + func FindIp(s string) string + func GetLogger(module string) *log.Entry + func GetRandomUA() string + func GetWsFromChrome(url string) (ws string, err error) + func IsIpFormat(ip string) bool + func Parse(url string) (string, string) + type Config struct + ApiBind string + ApiPort int + Auth string + CheckInterval int + ChromeWS string + Db int + Debug bool + DumpHttp bool + EnableApi bool + EnableProxy bool + Expire int + Host string + HttpsConnectTimeOut int + Limit int + Manager bool + MaxProxy int + MaxRetry int + NewQueue int + OldQueue int + OnlyChina bool + Port int + PrefixKey string + ProxyBind string + ProxyCacheTimeOut int + ProxyPort int + ProxyTimeout int + Retry int + Score int + ScoreAtLeast int + TcpTestTimeOut int + TcpTimeout int + Timeout int + UlimitCur int + UlimitMax int + Worker bool + var ServerConf *Config + func (c Config) GetInternalCron() string + func (c Config) GetTcpTestTimeOut() time.Duration + type Handler struct + Writer io.Writer + func (h *Handler) HandleLog(e *log.Entry) error