aboutsummaryrefslogtreecommitdiff
path: root/lib/http/callback_error_handler.go
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2020-11-27 18:59:36 +0700
committerShulhan <m.shulhan@gmail.com>2020-11-27 18:59:36 +0700
commite46ab6bc3b6aed18fd11269a578c7b9614fc2e4b (patch)
treef4a90b72641033c549ff5d4b55c369dd3d5ed173 /lib/http/callback_error_handler.go
parent0df82da7a8cd0678ed845f2284b7d3f84ba84687 (diff)
downloadpakakeh.go-e46ab6bc3b6aed18fd11269a578c7b9614fc2e4b.tar.xz
http: add an example on how to write custom HTTP status code
The example show how to use http.ResponseWriter.WriteHeader to write custom HTTP status code instead of relying on errors.E.
Diffstat (limited to 'lib/http/callback_error_handler.go')
0 files changed, 0 insertions, 0 deletions