agent

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2024 License: MIT Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package agent provides simple agent helper functions

Index

Constants

View Source
const (

	// User agent strings
	Android5Nexus7    = "" /* 128-byte string literal not displayed */
	Android7GalaxyS8  = "" /* 152-byte string literal not displayed */
	Android6Note4     = "" /* 165-byte string literal not displayed */
	BingBot           = "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)"
	IPadIOS9          = "Mozilla/5.0 (iPad; CPU OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML like Gecko) Version/9.0 Mobile/13B143 Safari/601.1"
	IPadIOS12         = "" /* 145-byte string literal not displayed */
	IPhoneIOS8        = "" /* 136-byte string literal not displayed */
	IPhoneIOS9        = "" /* 134-byte string literal not displayed */
	IPhoneIOS10       = "" /* 137-byte string literal not displayed */
	IPhoneIOS11       = "" /* 141-byte string literal not displayed */
	IPhoneIOS12       = "" /* 140-byte string literal not displayed */
	LinuxFirefox43    = "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0"
	LinuxKonqueror    = "Mozilla/5.0 (compatible; Konqueror/3; Linux)"
	LinuxMozilla      = "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624"
	MacFirefox        = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:43.0) Gecko/20100101 Firefox/43.0"
	MacMozilla        = "Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4a) Gecko/20030401"
	MacSafari4        = "" /* 127-byte string literal not displayed */
	MacSafari9        = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/601.3.9 (KHTML like Gecko) Version/9.0.2 Safari/601.3.9"
	Windows10Chrome58 = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36"
	WindowsChrome43   = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML like Gecko) Chrome/43.0.2357.125 Safari/537.36"
	WindowsFirefox53  = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0"
	WindowsIE6        = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
	WindowsIE7        = "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"
	WindowsIE8        = "Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"
	WindowsIE9        = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)"
	WindowsIE10       = "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0)"
	WindowsIE11       = "Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko"
	WindowsEdge13     = "" /* 126-byte string literal not displayed */
	WindowsEdge14     = "" /* 128-byte string literal not displayed */
	WindowsMozilla    = "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6"
	WindowsFirefox43  = "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL