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 + type UAParser struct + func NewUAParser(userAgent string) *UAParser + func (u UAParser) Match(pattern []string) bool + func (u UAParser) String() string v1.0.0 Oct 13, 2023 Changes in this version + type Android struct + func NewAndroid(userAgent string) *Android + func (a Android) Match() bool + func (a Android) Name() string + type BlackberryPlaybook struct + func NewBlackberryPlaybook(userAgent string) *BlackberryPlaybook + func (b *BlackberryPlaybook) Match() bool + func (b *BlackberryPlaybook) Name() string + type Ipad struct + func NewIpad(userAgent string) *Ipad + func (i *Ipad) Match() bool + func (i *Ipad) Name() string + type Iphone struct + func NewIphone(userAgent string) *Iphone + func (i *Iphone) Match() bool + func (i *Iphone) Name() string + type IpodTouch struct + func NewIpodTouch(userAgent string) *IpodTouch + func (i *IpodTouch) Match() bool + func (i *IpodTouch) Name() string + type Kindle struct + func NewKindle(userAgent string) *Kindle + func (k *Kindle) Match() bool + func (k *Kindle) Name() string + type KindleFire struct + func NewKindleFire(userAgent string) *KindleFire + func (k *KindleFire) Match() bool + func (k *KindleFire) Name() string + type PSP struct + func NewPSP(userAgent string) *PSP + func (p *PSP) Match() bool + func (p *PSP) Name() string + type PSVita struct + func NewPSVita(userAgent string) *PSVita + func (p *PSVita) Match() bool + func (p *PSVita) Name() string + type PlayStation3 struct + func NewPlayStation3(userAgent string) *PlayStation3 + func (p *PlayStation3) Match() bool + func (p *PlayStation3) Name() string + type PlayStation4 struct + func NewPlayStation4(userAgent string) *PlayStation4 + func (p *PlayStation4) Match() bool + func (p *PlayStation4) Name() string + type PlayStation5 struct + func NewPlayStation5(userAgent string) *PlayStation5 + func (p *PlayStation5) Match() bool + func (p *PlayStation5) Name() string + type Samsung struct + func NewSamsung(userAgent string) *Samsung + func (s *Samsung) Match() bool + func (s *Samsung) Name() string + type Surface struct + func NewSurface(userAgent string) *Surface + func (s *Surface) Match() bool + func (s *Surface) Name() string + type Switch struct + func NewSwitch(userAgent string) *Switch + func (s *Switch) Match() bool + func (s *Switch) Name() string + type TV struct + func NewTV(userAgent string) *TV + func (t *TV) Match() bool + func (t *TV) Name() string + type Unknown struct + func NewUnknown(userAgent string) *Unknown + func (u Unknown) Match() bool + func (u Unknown) Name() string + type Wii struct + func NewWii(userAgent string) *Wii + func (w *Wii) Match() bool + func (w *Wii) Name() string + type WiiU struct + func NewWiiU(userAgent string) *WiiU + func (w *WiiU) Match() bool + func (w *WiiU) Name() string + type Xbox360 struct + func NewXbox360(userAgent string) *Xbox360 + func (x *Xbox360) Match() bool + func (x *Xbox360) Name() string + type XboxOne struct + func NewXboxOne(userAgent string) *XboxOne + func (x *XboxOne) Match() bool + func (x *XboxOne) Name() string