Documentation
¶
Overview ¶
Package httputil provides HTTP utility functions for request and response handling.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeJSONResponse ¶
func MakeJSONResponse(w http.ResponseWriter, statusCode int, data interface{})
MakeJSONResponse writes a JSON response with the given status code and data
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.