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(p Parser) *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 UAParser ¶ added in v1.1.0
type UAParser struct {
// contains filtered or unexported fields
}
func NewUAParser ¶ added in v1.1.0
NewUAParser returns a new UAParser.
func (UAParser) Match ¶ added in v1.1.0
Match returns true if the user agent matches the pattern. The pattern is a list of regular expressions.
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(p Parser) *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(p Parser) *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.