Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Error ¶
func Error(w http.ResponseWriter, status int, err error)
Error creates an HTTP response to handle errors.
func Response ¶
func Response(w http.ResponseWriter, v interface{})
Response creates an HTTP response for successful calls.
func UnmarshalJSON ¶
UnmarshalJSON unmarshals JSON data from the HTTP request body.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.