# Functions
SendBadRequest400Response sets a "bad request" (HTTP 400) on the gin context and send userErrMessage as a response message as msg.
SendBadRequestPlatform400Response sets a "bad request" (HTTP 400) on the gin context and send userErrMessage as a response message as res_str.
SendCreated201Response sets a ok status (HTTP 201) on the gin context and send responseBody parameter passed as JSON response.
SendNoContent204Response sets a ok status (HTTP 204) on the gin context Finally it also aborts any other handlers in-line by calling Abort.
SendNotFound404Response sets a "resource not found" (HTTP 404) on the gin context and send userErrMessage to user.
SendOK200Response sets a ok status (HTTP 200) on the gin context and send responseBody parameter passed as JSON response.
SendPaymentRequired402Response sets a ok status (HTTP 402) on the gin context Finally it also aborts any other handlers in-line by calling Abort.
SendResourceConflict409Response sets the response status code to Unauthorised (http 409) on the gin context and send userErrMessage to user.
SendServerError500Response sets the response status code to Unauthorised (http 500) on the gin context and send userErrMessage to user.
SendStatusProcessing sets the response status code to Unauthorised (http 102) on the gin context and send userErrMessage to user.
SendUnauthorised401Response sets the response status code to Unauthorised (http 401) on the gin context and send userErrMessage to user.
# Constants
No description provided by the author
No description provided by the author