browser

package
v0.0.0-...-0e8a65c Latest Latest
Warning

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

Go to latest
Published: May 20, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBrowserNames

func GetBrowserNames() map[string][]string

func GetDeviceTypes

func GetDeviceTypes() map[string][]string

func GetOSNames

func GetOSNames() map[string][]string

Types

type InfoItem

type InfoItem struct {
	Name    string
	Version string
}

type UAInfo

type UAInfo struct {
	Browser,
	Device,
	DeviceType,
	OS *InfoItem
}

func Parse

func Parse(ua string) (info *UAInfo)

Jump to

Keyboard shortcuts

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