Documentation
¶
Overview ¶
Package useragent implements parts of https://tools.ietf.org/html/rfc7231#section-5.5 and https://tools.ietf.org/html/rfc2616#section-14.43
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Error = errs.Class("useragent")
Error is the default error class.
Functions ¶
func EncodeEntries ¶
EncodeEntries encodes all entries.
Types ¶
type Entry ¶
Entry represents a single item in useragent string.
func ParseEntries ¶
ParseEntries parses every entry in useragent string.
Click to show internal directories.
Click to hide internal directories.