|
|
|
@ -180,6 +180,7 @@ type ServerProperties struct { |
|
|
|
|
Uptime time.Duration `json:"uptime"` |
|
|
|
|
Version string `json:"version"` |
|
|
|
|
CommitID string `json:"commitID"` |
|
|
|
|
DeploymentID string `json:"deploymentID"` |
|
|
|
|
Region string `json:"region"` |
|
|
|
|
SQSARN []string `json:"sqsARN"` |
|
|
|
|
} |
|
|
|
@ -259,6 +260,7 @@ func (a adminAPIHandlers) ServerInfoHandler(w http.ResponseWriter, r *http.Reque |
|
|
|
|
Uptime: UTCNow().Sub(globalBootTime), |
|
|
|
|
Version: Version, |
|
|
|
|
CommitID: CommitID, |
|
|
|
|
DeploymentID: globalDeploymentID, |
|
|
|
|
SQSARN: globalNotificationSys.GetARNList(), |
|
|
|
|
Region: globalServerConfig.GetRegion(), |
|
|
|
|
}, |
|
|
|
|