Documentation
¶
Overview ¶
Package version ...
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetVersionBody ¶
type GetVersionBody struct {
Result string `json:"result"`
Version string `json:"version"`
ServerTime int64 `json:"server_time"`
}
GetVersionBody on GET /version
type Handler ¶
Handler is an application context carrier
func (*Handler) GetVersion ¶
GetVersion is a GET /version handler swagger:operation GET /version version GetVersion
Returns server time and version, also can be used as a healthcheck ¶
--- responses:
200:
description: Get server version.
schema:
$ref: '#/definitions/GetVersionBody'
Click to show internal directories.
Click to hide internal directories.