Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Respond ¶
func Respond(w http.ResponseWriter, statusCode int)
func RespondWithBody ¶
func RespondWithBody(w http.ResponseWriter, statusCode int, responseBody interface{})
func RespondWithError ¶
func RespondWithError(log *zap.SugaredLogger, w http.ResponseWriter, apperr apperrors.AppError)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.