useragent

package module
v0.0.0-...-e086871 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserAgent

type UserAgent struct {
	// Human OR Machine
	Type UserAgentType
}

func Parse

func Parse(userAgent string) UserAgent

type UserAgentType

type UserAgentType int
const (
	Unknown UserAgentType = iota
	Human
	Machine
)

Jump to

Keyboard shortcuts

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