Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserAgent ¶
type UserAgent struct { // Product identifier; its name or development codename. Product string `json:"product"` // Version number of the product. Version string `json:"version"` // Zero or more comments containing more details. Comment []string `json:"comment"` }
UserAgent represents a User-Agent header.
type UserAgents ¶
type UserAgents []UserAgent
UserAgents represents one or more UserAgents.
func (UserAgents) String ¶
func (uas UserAgents) String() string
String concatenates all the user-defined UserAgents.
Click to show internal directories.
Click to hide internal directories.