Versions in this module Expand all Collapse all v0 v0.0.2 Dec 2, 2023 Changes in this version + const BlackBerry + const FacebookApp + const FreeBSD + const GoogleAdsBot + const HeadlessChrome + const InstagramApp + const TiktokApp type UserAgent + OSVersionNo VersionNo + VersionNo VersionNo + func (ua UserAgent) IsChromeOS() bool + func (ua UserAgent) IsUnknown() bool + func (ua UserAgent) OSVersionNoFull() string + func (ua UserAgent) OSVersionNoShort() string + func (ua UserAgent) VersionNoFull() string + func (ua UserAgent) VersionNoShort() string + type VersionNo struct + Major int + Minor int + Patch int v0.0.1 Jan 12, 2022 Changes in this version + const AlipayClient + const Android + const Applebot + const Baidubot + const Bingbot + const Chrome + const ChromeOS + const Edge + const FacebookExternalHit + const Firefox + const Googlebot + const IAskbot + const IOS + const InternetExplorer + const Linux + const MSNbot + const MacOS + const MicroMessenger + const Opera + const OperaMini + const OperaTouch + const Safari + const SemrushBot + const Sobot + const Sogoubot + const Sososbot + const Twitterbot + const Vivaldi + const Windows + const WindowsPhone + const WxWork + const Yahoobot + const Yodaobot + var SchemeHTTPBytes = []byte("http:") + var SchemeHTTPsBytes = []byte("https:") + type UserAgent struct + Bot bool + Desktop bool + Device string + Mobile bool + Name string + OS string + OSVersion string + String string + Tablet bool + URL string + Version string + func Parse(userAgent string) UserAgent + func (ua UserAgent) IsAndroid() bool + func (ua UserAgent) IsChrome() bool + func (ua UserAgent) IsEdge() bool + func (ua UserAgent) IsFacebookbot() bool + func (ua UserAgent) IsFirefox() bool + func (ua UserAgent) IsGooglebot() bool + func (ua UserAgent) IsIOS() bool + func (ua UserAgent) IsInternetExplorer() bool + func (ua UserAgent) IsLinux() bool + func (ua UserAgent) IsMacOS() bool + func (ua UserAgent) IsOpera() bool + func (ua UserAgent) IsOperaMini() bool + func (ua UserAgent) IsSafari() bool + func (ua UserAgent) IsTwitterbot() bool + func (ua UserAgent) IsWindows() bool + func (ua UserAgent) Tokens() properties