ua

package
v0.0.67 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Random

func Random(count int) (o []string)

Types

type Field

type Field struct {
	Dict *array.Dictionary
	Str  *array.String
}

func (*Field) Get

func (f *Field) Get(i int) string

type Model

type Model struct {
	IsBot          bool
	Os             string
	OsVersion      string
	Browser        string
	BrowserVersion string
}

func Get

func Get(agent string) *Model

func (*Model) Size

func (m *Model) Size() int

type Record

type Record struct {
	IsBot         *array.Int64
	OSName        *Field
	OSVersion     *Field
	ClientName    *Field
	ClientVersion *Field
}

func (*Record) Get

func (r *Record) Get(i int) *Model

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL