Documentation
¶
Index ¶
Constants ¶
View Source
const ( CHROME = "chrome" INTERNET_EXPLORER = "internet-explorer" FIREFOX = "firefox" SAFARI = "safari" ANDROID = "android" MAC_OS_X = "mac-os-x" IOS = "ios" LINUX = "linux" WINDOWS = "windows" IPHONE = "iphone" IPAD = "ipad" COMPUTER = "computer" MOBILE = "mobile" )
View Source
const ( VERSION = "0.2.0" BROWSER_URL = "https://developers.whatismybrowser.com/useragents/explore/%s/%s/%d" BROWSER_MAX_PAGE = 5 BROWSER_ALLOW_MAX_PAGE = 8 CACHE_VERSION = "0.2.0" CACHE_URL = "https://raw.githubusercontent.com/spider-com/fake-useragent/v0.2.0/static/" HTTP_TIMEOUT = 5 * time.Second HTTP_DELAY = 100 * time.Millisecond HTTP_ALLOW_MIN_DELAY = 100 * time.Millisecond TEMP_FILE_NAME = "fake_useragent_%s.json" TEMP_FILE_TEST_NAME = "fake_useragent_test_%s.json" )
Variables ¶
Functions ¶
func GetMaxPage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.