Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Browser ¶
type Browser struct {
Name BrowserName
Version version.Version
}
Browser contains the name and version of the browser
type BrowserName ¶
type BrowserName int
BrowserName (int) returns a constant.
const ( BrowserUnknown BrowserName = iota BrowserChrome BrowserChromium BrowserIE BrowserEdge BrowserSafari BrowserFirefox BrowserAndroid BrowserOpera BrowserUCBrowser BrowserQQ BrowserSamsung BrowserYandex BrowserCocCoc BrowserBot // Bot list begins here BrowserAppleBot BrowserBaiduBot BrowserBingBot BrowserDuckDuckGoBot BrowserFacebookBot BrowserGoogleBot BrowserLinkedInBot BrowserMsnBot BrowserPingdomBot BrowserTwitterBot BrowserYandexBot BrowserCocCocBot BrowserYahooBot // Bot list ends here )
A complete list of supported web browsers in the form of constants.
func (BrowserName) String ¶
func (i BrowserName) String() string
type DeviceType ¶
type DeviceType int
DeviceType (int) returns a constant.
const ( DeviceUnknown DeviceType = iota DeviceComputer DeviceTablet DevicePhone DeviceConsole DeviceTV )
A complete list of supported device types in the form of constants.
func (DeviceType) String ¶
func (i DeviceType) String() string
type OSName ¶
type OSName int
OSName (int) returns a constant.
A complete list of supported OS in the form of constants.
type Platform ¶
type Platform int
Platform (int) returns a constant.