Documentation ¶
Index ¶
- func BadRequestServerError(l *zap.Logger, w http.ResponseWriter, r *http.Request, err error)
- func InternalServerError(l *zap.Logger, w http.ResponseWriter, r *http.Request, err error)
- func NotFoundServerError(l *zap.Logger, w http.ResponseWriter, r *http.Request, err error)
- func ServerError(l *zap.Logger, w http.ResponseWriter, r *http.Request, code int, err error)
- func UnauthorizedServerError(l *zap.Logger, w http.ResponseWriter, r *http.Request, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadRequestServerError ¶
BadRequestServerError http response
func InternalServerError ¶
InternalServerError http response
func NotFoundServerError ¶
NotFoundServerError http response
func ServerError ¶
ServerError http response
func UnauthorizedServerError ¶
UnauthorizedServerError http response
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.