Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RuntimeInfo ¶
type RuntimeInfo struct { Compiler string `json:"compilier"` CPU int `json:"cpu"` Memory string `json:"memory"` Goroutines int `json:"goroutines"` Uptime string `json:"uptime"` }
RuntimeInfo defines runtime part of service information
type ServiceInfo ¶
type ServiceInfo struct { Host string `json:"host"` Version string `json:"version"` Repo string `json:"repo"` Commit string `json:"commit"` Build string `json:"build"` Runtime *RuntimeInfo `json:"runtime"` }
ServiceInfo defines HTTP API response giving service information
Click to show internal directories.
Click to hide internal directories.