Versions in this module Expand all Collapse all v1 v1.1.0 May 18, 2024 Changes in this version + type Parser interface + Match func([]string) bool + String func() string + Version func([]string, int, string) string + type UAParser struct + func NewUAParser(userAgent string) *UAParser + func (b UAParser) Match(patterns []string) bool + func (b UAParser) String() string + func (b UAParser) Version(patterns []string, order int, defaultVersion string) string v1.0.0 Oct 13, 2023 Changes in this version + type AdobeAir struct + func NewAdobeAir(userAgent string) *AdobeAir + func (a *AdobeAir) Match() bool + func (a *AdobeAir) Name() string + func (a *AdobeAir) Version() string + type Android struct + func NewAndroid(userAgent string) *Android + func (a *Android) Match() bool + func (a *Android) Name() string + func (a *Android) Version() string + type BlackBerry struct + func NewBlackBerry(userAgent string) *BlackBerry + func (b *BlackBerry) Match() bool + func (b *BlackBerry) Name() string + func (b *BlackBerry) Version() string + type ChromeOS struct + func NewChromeOS(userAgent string) *ChromeOS + func (c *ChromeOS) Match() bool + func (c *ChromeOS) Name() string + func (c *ChromeOS) Version() string + type FirefoxOS struct + func NewFirefoxOS(userAgent string) *FirefoxOS + func (f *FirefoxOS) Match() bool + func (f *FirefoxOS) Name() string + func (f *FirefoxOS) Version() string + type IOS struct + func NewIOS(userAgent string) *IOS + func (i *IOS) Match() bool + func (i *IOS) Name() string + func (i *IOS) Version() string + type KaiOS struct + func NewKaiOS(userAgent string) *KaiOS + func (k *KaiOS) Match() bool + func (k *KaiOS) Name() string + func (k *KaiOS) Version() string + type Linux struct + func NewLinux(userAgent string) *Linux + func (l *Linux) Match() bool + func (l *Linux) Name() string + func (l *Linux) Version() string + type Mac struct + func NewMac(userAgent string) *Mac + func (m *Mac) Match() bool + func (m *Mac) Name() string + func (m *Mac) Version() string + type Unknown struct + func NewUnknown(userAgent string) *Unknown + func (u *Unknown) Match() bool + func (u *Unknown) Name() string + func (u *Unknown) Version() string + type WatchOS struct + func NewWatchOS(userAgent string) *WatchOS + func (w *WatchOS) Match() bool + func (w *WatchOS) Name() string + func (w *WatchOS) Version() string + type Windows struct + func NewWindows(userAgent string) *Windows + func (w *Windows) Match() bool + func (w *Windows) Name() string + func (w *Windows) Version() string + type WindowsMobile struct + func NewWindowsMobile(userAgent string) *WindowsMobile + func (w *WindowsMobile) Match() bool + func (w *WindowsMobile) Name() string + func (w *WindowsMobile) Version() string + type WindowsPhone struct + func NewWindowsPhone(userAgent string) *WindowsPhone + func (w *WindowsPhone) Match() bool + func (w *WindowsPhone) Name() string + func (w *WindowsPhone) Version() string