Documentation
¶
Index ¶
- func Created(w http.ResponseWriter) (int, error)
- func Error(w http.ResponseWriter, err error, code int) (int, error)
- func JSON(w http.ResponseWriter, str []byte) (int, error)
- func JSONCode(w http.ResponseWriter, str []byte, code int) (int, error)
- func NoContent(w http.ResponseWriter) (int, error)
- func OK(w http.ResponseWriter) (int, error)
- func Object(w http.ResponseWriter, obj any) (int, error)
- func ObjectCode(w http.ResponseWriter, obj any, code int) (int, error)
- func Reply(w http.ResponseWriter, code int, contentType string, content []byte) (int, error)
- func String(w http.ResponseWriter, str string) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ObjectCode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.