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