|
|
@ -219,12 +219,12 @@ func (a adminAPIHandlers) ServiceActionHandler(w http.ResponseWriter, r *http.Re |
|
|
|
// ServerProperties holds some server information such as, version, region
|
|
|
|
// ServerProperties holds some server information such as, version, region
|
|
|
|
// uptime, etc..
|
|
|
|
// uptime, etc..
|
|
|
|
type ServerProperties struct { |
|
|
|
type ServerProperties struct { |
|
|
|
Uptime time.Duration `json:"uptime"` |
|
|
|
Uptime int64 `json:"uptime"` |
|
|
|
Version string `json:"version"` |
|
|
|
Version string `json:"version"` |
|
|
|
CommitID string `json:"commitID"` |
|
|
|
CommitID string `json:"commitID"` |
|
|
|
DeploymentID string `json:"deploymentID"` |
|
|
|
DeploymentID string `json:"deploymentID"` |
|
|
|
Region string `json:"region"` |
|
|
|
Region string `json:"region"` |
|
|
|
SQSARN []string `json:"sqsARN"` |
|
|
|
SQSARN []string `json:"sqsARN"` |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// ServerConnStats holds transferred bytes from/to the server
|
|
|
|
// ServerConnStats holds transferred bytes from/to the server
|
|
|
|