Documentation ¶
Index ¶
- func Error(w http.ResponseWriter, code int, message string)
- func ErrorJson(w http.ResponseWriter, code int, message string, json []byte)
- func ErrorParse(w http.ResponseWriter, code int, message string, values interface{})
- func Errorf(w http.ResponseWriter, code int, format string, args ...interface{})
- func Success(w http.ResponseWriter, code int, message string)
- func SuccessJson(w http.ResponseWriter, code int, message string, json []byte)
- func SuccessParse(w http.ResponseWriter, code int, message string, values interface{})
- func Successf(w http.ResponseWriter, code int, format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorParse ¶
func ErrorParse(w http.ResponseWriter, code int, message string, values interface{})
func SuccessJson ¶
func SuccessJson(w http.ResponseWriter, code int, message string, json []byte)
func SuccessParse ¶
func SuccessParse(w http.ResponseWriter, code int, message string, values interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.