Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // common errors ErrSuccess = newError(0, "ok") ErrBadRequest = newError(400, "Bad Request") ErrNotFound = newError(404, "Not Found") ErrInternalServerError = newError(500, "Internal Server Error") )
Functions ¶
func HandleSuccess ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.