Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVersion ¶
func GetVersion(w http.ResponseWriter, r *http.Request)
GetVersion is a 'GET /version' handler.
Types ¶
type GetVersionResponse ¶
type GetVersionResponse struct { ServerUUID string `json:"server_uuid"` ServerBuild string `json:"server_build"` ServerTime int64 `json:"server_time"` Title string `json:"title"` Version string `json:"version"` }
GetVersionResponse defines response format for 'GET /version' request.
Click to show internal directories.
Click to hide internal directories.