Documentation ¶ Index ¶ func BindJson(r *http.Request, v any) error func Data(w http.ResponseWriter, statusCode int, contentType string, data []byte) func JsonErr(w http.ResponseWriter, statusCode int, cause error) error func JsonOK(w http.ResponseWriter, payload any) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func BindJson ¶ func BindJson(r *http.Request, v any) error func Data ¶ func Data(w http.ResponseWriter, statusCode int, contentType string, data []byte) func JsonErr ¶ func JsonErr(w http.ResponseWriter, statusCode int, cause error) error func JsonOK ¶ func JsonOK(w http.ResponseWriter, payload any) error Types ¶ This section is empty. Source Files ¶ View all Source files json.go Click to show internal directories. Click to hide internal directories.