Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler defines common part for all handlers
type Runtime ¶
type Runtime struct { CPU int `json:"cpu"` Memory string `json:"memory"` Goroutines int `json:"goroutines"` }
Runtime defines runtime part of service information
type Status ¶
type Status struct { Host string `json:"host"` Version string `json:"version"` Commit string `json:"commit"` Repo string `json:"repo"` Compiler string `json:"compiler"` Runtime Runtime `json:"runtime"` State State `json:"state"` Requests Requests `json:"requests"` }
Status contains detailed information about service
Click to show internal directories.
Click to hide internal directories.