package structures type Response struct { Url string Content []byte Err error } type Request struct { Url string Response chan Response } type WorkerDescription struct { Ip string Req chan Request } type ProxyServer struct { Type string Address string } type WebServerConfig struct { Address string APIKey string Timeout int // In seconds } type WorkerServerConfig struct { Address string WorkersCount int RequestMessagePrefix string } type ClientConfig struct { ConnectionsCount int ConnectionTimeout int // In seconds WaitingTimeout int // In seconds WorkerServerAddress string RequestMessagePrefix string ProxyListBaseURL string ProxyListTimeout int // In seconds ProxyListReloadInterval int // In minutes CustomSOCKS5ProxyList []ProxyServer FetchTimeout int // In seconds }