Documentation
¶
Overview ¶
Package response provides a uniformed interface for writing HTTP responses. It defines the formats of response bodies and populates them properly according to the given error and data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteResponse ¶
WriteResponse writes HTTP responses according to the given error and data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.