Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareVersion ¶ added in v1.3.19
CompareVersion compare versions. if v1<v2, return -1; if v1>v2, return 1; if v1=v2, return 0, Only consider release version
func NewHTTPClientViaUDS ¶
NewHTTPClientViaUDS return a http.client based on http
Types ¶
type AgentVersion ¶ added in v1.3.19
type AgentVersion struct {
Version string `json:"version"`
}
func GetAgentVersion ¶ added in v1.3.19
func GetAgentVersion() AgentVersion
Click to show internal directories.
Click to hide internal directories.