Documentation ¶
Index ¶
- func PingRoute(router *mux.Router)
- func RegisterPing(response http.ResponseWriter, request *http.Request)
- func SendBadRequestResponse(msg string, w *http.ResponseWriter)
- func SendInternalErrorResponse(msg string, w *http.ResponseWriter)
- func SendJSONResponse(message interface{}, w *http.ResponseWriter) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPing ¶
func RegisterPing(response http.ResponseWriter, request *http.Request)
func SendBadRequestResponse ¶
func SendBadRequestResponse(msg string, w *http.ResponseWriter)
func SendInternalErrorResponse ¶
func SendInternalErrorResponse(msg string, w *http.ResponseWriter)
func SendJSONResponse ¶
func SendJSONResponse(message interface{}, w *http.ResponseWriter) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.