SYMBOL INDEX (115 symbols across 15 files) FILE: b.go type browser (line 15) | type browser struct method load (line 54) | func (b *browser) load() *browser { type Client (line 20) | type Client struct type Cache (line 26) | type Cache struct function NewBrowser (line 36) | func NewBrowser(client Client, cache Cache) *browser { FILE: browser.go function Random (line 8) | func Random() string { function Chrome (line 12) | func Chrome() string { function InternetExplorer (line 16) | func InternetExplorer() string { function Firefox (line 20) | func Firefox() string { function Safari (line 24) | func Safari() string { function Android (line 28) | func Android() string { function MacOSX (line 32) | func MacOSX() string { function IOS (line 36) | func IOS() string { function Linux (line 40) | func Linux() string { function IPhone (line 44) | func IPhone() string { function IPad (line 48) | func IPad() string { function Computer (line 52) | func Computer() string { function Mobile (line 56) | func Mobile() string { method Random (line 60) | func (b *browser) Random() string { method Chrome (line 64) | func (b *browser) Chrome() string { method InternetExplorer (line 68) | func (b *browser) InternetExplorer() string { method Firefox (line 72) | func (b *browser) Firefox() string { method Safari (line 76) | func (b *browser) Safari() string { method Android (line 80) | func (b *browser) Android() string { method MacOSX (line 84) | func (b *browser) MacOSX() string { method IOS (line 88) | func (b *browser) IOS() string { method Linux (line 92) | func (b *browser) Linux() string { method IPhone (line 96) | func (b *browser) IPhone() string { method IPad (line 100) | func (b *browser) IPad() string { method Computer (line 104) | func (b *browser) Computer() string { method Mobile (line 108) | func (b *browser) Mobile() string { FILE: browser_test.go function TestRandom (line 8) | func TestRandom(t *testing.T) { function TestChrome (line 14) | func TestChrome(t *testing.T) { function TestInternetExplorer (line 20) | func TestInternetExplorer(t *testing.T) { function TestFirefox (line 26) | func TestFirefox(t *testing.T) { function TestSafari (line 32) | func TestSafari(t *testing.T) { function TestAndroid (line 38) | func TestAndroid(t *testing.T) { function TestMacOSX (line 44) | func TestMacOSX(t *testing.T) { function TestIOS (line 50) | func TestIOS(t *testing.T) { function TestLinux (line 56) | func TestLinux(t *testing.T) { function TestIPhone (line 62) | func TestIPhone(t *testing.T) { function TestIPad (line 68) | func TestIPad(t *testing.T) { function TestComputer (line 74) | func TestComputer(t *testing.T) { function TestMobile (line 80) | func TestMobile(t *testing.T) { function TestBrowser_Random (line 86) | func TestBrowser_Random(t *testing.T) { function TestBrowser_Chrome (line 100) | func TestBrowser_Chrome(t *testing.T) { function TestBrowser_IOS (line 112) | func TestBrowser_IOS(t *testing.T) { FILE: downloader/http.go type Download (line 9) | type Download struct method Get (line 14) | func (d *Download) Get(url string) (* http.Response, error) { FILE: downloader/http_test.go function TestDownload_Get (line 8) | func TestDownload_Get(t *testing.T) { FILE: scheduler/warehouse.go function PopUrl (line 5) | func PopUrl() string { function AppendUrl (line 16) | func AppendUrl(url string) { function CountUrl (line 20) | func CountUrl() int { FILE: scheduler/warehouse_test.go function TestAppendUrl (line 5) | func TestAppendUrl(t *testing.T) { function TestPopUrl (line 10) | func TestPopUrl(t *testing.T) { function TestCountUrl (line 16) | func TestCountUrl(t *testing.T) { FILE: setting/browser.go constant CHROME (line 4) | CHROME = "chrome" constant INTERNET_EXPLORER (line 5) | INTERNET_EXPLORER = "internet-explorer" constant FIREFOX (line 6) | FIREFOX = "firefox" constant SAFARI (line 7) | SAFARI = "safari" constant ANDROID (line 9) | ANDROID = "android" constant MAC_OS_X (line 10) | MAC_OS_X = "mac-os-x" constant IOS (line 11) | IOS = "ios" constant LINUX (line 12) | LINUX = "linux" constant IPHONE (line 14) | IPHONE = "iphone" constant IPAD (line 15) | IPAD = "ipad" constant COMPUTER (line 17) | COMPUTER = "computer" constant MOBILE (line 18) | MOBILE = "mobile" FILE: setting/setting.go constant VERSION (line 6) | VERSION = "0.2.0" constant BROWSER_URL (line 8) | BROWSER_URL = "https://developers.whatismybrowser.com/userage... constant BROWSER_MAX_PAGE (line 9) | BROWSER_MAX_PAGE = 5 constant BROWSER_ALLOW_MAX_PAGE (line 10) | BROWSER_ALLOW_MAX_PAGE = 8 constant CACHE_VERSION (line 12) | CACHE_VERSION = "0.2.0" constant CACHE_URL (line 13) | CACHE_URL = "https://raw.githubusercontent.com/EDDYCJY/fake-useragen... constant HTTP_TIMEOUT (line 15) | HTTP_TIMEOUT = 5 * time.Second constant HTTP_DELAY (line 16) | HTTP_DELAY = 100 * time.Millisecond constant HTTP_ALLOW_MIN_DELAY (line 17) | HTTP_ALLOW_MIN_DELAY = 100 * time.Millisecond constant TEMP_FILE_NAME (line 19) | TEMP_FILE_NAME = "fake_useragent_%s.json" constant TEMP_FILE_TEST_NAME (line 20) | TEMP_FILE_TEST_NAME = "fake_useragent_test_%s.json" function GetMaxPage (line 23) | func GetMaxPage(maxPage int) int { function GetDelay (line 31) | func GetDelay(delay time.Duration) time.Duration { function GetTimeout (line 39) | func GetTimeout(timeout time.Duration) time.Duration { FILE: spiders/browser.go type Spider (line 17) | type Spider struct method AppendBrowser (line 45) | func (s *Spider) AppendBrowser(maxPage int) { method StartBrowser (line 57) | func (s *Spider) StartBrowser(delay time.Duration, timeout time.Durati... type Attribute (line 22) | type Attribute struct method GetSpider (line 34) | func (a *Attribute) GetSpider() *Spider { function NewBrowserSpider (line 30) | func NewBrowserSpider() *Spider { FILE: useragent/cache/file.go type File (line 10) | type File struct method Read (line 24) | func (f *File) Read() ([]byte, error) { method Write (line 28) | func (f *File) Write(data []byte) error { method WriteJson (line 32) | func (f *File) WriteJson(v interface{}) error { method Remove (line 41) | func (f *File) Remove() error { method IsExist (line 50) | func (f *File) IsExist() (bool, error) { function NewFileCache (line 16) | func NewFileCache(dir string, name string) *File { function GetTempDir (line 63) | func GetTempDir() string { FILE: useragent/cache/file_test.go function TestFile_Write (line 12) | func TestFile_Write(t *testing.T) { function TestFile_Read (line 19) | func TestFile_Read(t *testing.T) { function TestFile_Remove (line 31) | func TestFile_Remove(t *testing.T) { function TestFile_IsExist (line 38) | func TestFile_IsExist(t *testing.T) { FILE: useragent/cache/rawgithub.go type raw (line 12) | type raw struct method Get (line 26) | func (f *raw) Get() (*http.Response, bool, error) { method Read (line 40) | func (f *raw) Read(body io.ReadCloser) ([]byte, error) { method IsExist (line 44) | func (f *raw) IsExist(resp *http.Response) bool { function NewRawCache (line 18) | func NewRawCache(dir string, name string) *raw { FILE: useragent/cache/rawgithub_test.go function TestRaw_Get (line 13) | func TestRaw_Get(t *testing.T) { function TestRaw_IsExist (line 25) | func TestRaw_IsExist(t *testing.T) { function TestRaw_Read (line 32) | func TestRaw_Read(t *testing.T) { FILE: useragent/warehouse.go type useragent (line 9) | type useragent struct method Get (line 19) | func (u *useragent) Get(key string) []string { method GetAll (line 23) | func (u *useragent) GetAll() map[string][]string { method GetRandom (line 27) | func (u *useragent) GetRandom(key string) string { method GetAllRandom (line 38) | func (u *useragent) GetAllRandom() string { method Set (line 54) | func (u *useragent) Set(key, value string) { method SetData (line 60) | func (u *useragent) SetData(data map[string][]string) {