Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PingHandler ¶
func PingHandler(w http.ResponseWriter, r *http.Request)
PingHandler will handle the ping route
func RespondError ¶
func RespondError(w http.ResponseWriter, status int, err error)
Types ¶
type GenericError ¶
type GenericError struct { // Message describing the error Error string `json:"error"` }
Generic API error swagger:response genericError
type PingResponse ¶
Ping response payload swagger:response pingResponse
Click to show internal directories.
Click to hide internal directories.