Documentation
¶
Overview ¶
Package httpjson writes the server's uniform JSON responses and error envelopes. It marshals into a buffer BEFORE writing the status line, so an encoding failure becomes a clean 500 rather than a committed 200 with a truncated body. Every HTTP surface (native, Hrana, auth middleware, admin) routes its responses through here so the wire shape is defined once.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.