Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserAgent ¶
type UserAgent struct {
// contains filtered or unexported fields
}
UserAgent represents a Grafarg user agent. Its format is "Grafarg/<version> (<os>; <arch>)" Example: "Grafarg/7.0.0-beta1 (darwin; amd64)", "Grafarg/10.0.0 (windows; x86)"
func New ¶
New creates a new UserAgent. The version must be a valid semver string, and the os and arch must be valid strings.
func (*UserAgent) GrafargVersion ¶
Click to show internal directories.
Click to hide internal directories.