Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdobeAir ¶
type AdobeAir struct {
// contains filtered or unexported fields
}
func NewAdobeAir ¶
type BlackBerry ¶
type BlackBerry struct {
// contains filtered or unexported fields
}
func NewBlackBerry ¶
func NewBlackBerry(userAgent string) *BlackBerry
func (*BlackBerry) Match ¶
func (b *BlackBerry) Match() bool
func (*BlackBerry) Name ¶
func (b *BlackBerry) Name() string
func (*BlackBerry) Version ¶
func (b *BlackBerry) Version() string
type ChromeOS ¶
type ChromeOS struct {
// contains filtered or unexported fields
}
func NewChromeOS ¶
type FirefoxOS ¶
type FirefoxOS struct {
// contains filtered or unexported fields
}
func NewFirefoxOS ¶
type Unknown ¶
type Unknown struct {
// contains filtered or unexported fields
}
Unknown is the platform information when the user agent is not recognized. It is used as a fallback when the user agent is not recognized. Its last in the list of platform matchers.
func NewUnknown ¶
type WindowsMobile ¶
type WindowsMobile struct {
// contains filtered or unexported fields
}
func NewWindowsMobile ¶
func NewWindowsMobile(userAgent string) *WindowsMobile
func (*WindowsMobile) Match ¶
func (w *WindowsMobile) Match() bool
func (*WindowsMobile) Name ¶
func (w *WindowsMobile) Name() string
func (*WindowsMobile) Version ¶
func (w *WindowsMobile) Version() string
type WindowsPhone ¶
type WindowsPhone struct {
// contains filtered or unexported fields
}
func NewWindowsPhone ¶
func NewWindowsPhone(userAgent string) *WindowsPhone
func (*WindowsPhone) Match ¶
func (w *WindowsPhone) Match() bool
func (*WindowsPhone) Name ¶
func (w *WindowsPhone) Name() string
func (*WindowsPhone) Version ¶
func (w *WindowsPhone) Version() string
Click to show internal directories.
Click to hide internal directories.