Documentation ¶ Index ¶ func ErrorResponse(respw http.ResponseWriter, req *http.Request, statusCode int, err, msg string) func Jsonstr(strc any) string func WriteJSON(respw http.ResponseWriter, statusCode int, content any) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ErrorResponse ¶ func ErrorResponse(respw http.ResponseWriter, req *http.Request, statusCode int, err, msg string) func Jsonstr ¶ func Jsonstr(strc any) string func WriteJSON ¶ func WriteJSON(respw http.ResponseWriter, statusCode int, content any) Types ¶ This section is empty. Source Files ¶ View all Source files reshttp.go Click to show internal directories. Click to hide internal directories.