Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Health ¶
type Health struct { Start time.Time Info build.Information }
Health reports on the health of the service as a whole.
type HealthResponse ¶
type HealthResponse struct { Data struct { Name string `json:"name"` Version string `json:"version"` Build struct { Branch string `json:"branch"` Commit string `json:"commit"` Date string `json:"date"` Go string `json:"go"` } Uptime string `json:"uptime"` } }
HealthRespones defines the response to the health endpoint.
Click to show internal directories.
Click to hide internal directories.