Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct {
ID uint
Name string
Versions []*VersionItem
}
Item is a parentless OS or browser family. Versions are the child rows.
type SimpleClient ¶
SimpleClient represents a simple implementation of the Client interface that uses the mileusna/useragent package for user-agent parsing.
func New ¶
func New(browsers, os []*Item) *SimpleClient
New returns a SimpleClient with the given catalog lists.
Click to show internal directories.
Click to hide internal directories.