diff options
| author | Shulhan <m.shulhan@gmail.com> | 2020-11-27 18:59:36 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2020-11-27 18:59:36 +0700 |
| commit | e46ab6bc3b6aed18fd11269a578c7b9614fc2e4b (patch) | |
| tree | f4a90b72641033c549ff5d4b55c369dd3d5ed173 /lib/http/callback_error_handler.go | |
| parent | 0df82da7a8cd0678ed845f2284b7d3f84ba84687 (diff) | |
| download | pakakeh.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
