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 Grafana user agent. Its format is "Grafana/<version> (<os>; <arch>)" Example: "Grafana/7.0.0-beta1 (darwin; amd64)", "Grafana/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) GrafanaVersion ¶
Click to show internal directories.
Click to hide internal directories.