Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleInfo ¶
func HandleInfo(system *core.System) http.HandlerFunc
ShowSystemInfo godoc @Summary Show system info @Description @Tags system @Accept json @Produce json @Success 200 {object} InfoResponse @Router /info [get]
func HandleTime ¶
func HandleTime() http.HandlerFunc
ShowSystemTime godoc @Summary Show server time @Description @Tags system @Accept json @Produce json @Success 200 {object} TimeResponse @Router /time [get]
Types ¶
type InfoResponse ¶
type TimeResponse ¶
Click to show internal directories.
Click to hide internal directories.