package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: May 18, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ClientHost struct {
Valid bool `json:"valid"`
Marked bool `json:"marked"`
InstanceId string `json:"instanceId"`
Port int `json:"port"`
Ip string `json:"ip"`
Weight float64 `json:"weight"`
Metadata interface{} `json:"metadata"`
}
type Config struct {
ServerIp string `json:"server_ip"`
ServerPort int `json:"server_port"`
}
type Result struct {
Dom string `json:"dom"`
CacheMillis int `json:"cacheMillis"`
UseSpecifiedURL bool `json:"useSpecifiedURL"`
Checksum string `json:"checksum"`
LastRefTime int `json:"lastRefTime"`
Env string `json:"env"`
Clusters string `json:"clusters"`
Hosts []ClientHost `json:"hosts"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.