Documentation ¶
Index ¶
- func EncodeForwardSuccessResult(w http.ResponseWriter, body []byte)
- func EncodeResult(w http.ResponseWriter, result *Result)
- func ResponceFailedMsg(w http.ResponseWriter, msg string)
- func ResponceSuccess(w http.ResponseWriter)
- func ResponceSuccessWithBody(w http.ResponseWriter, result interface{})
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeForwardSuccessResult ¶
func EncodeForwardSuccessResult(w http.ResponseWriter, body []byte)
func EncodeResult ¶
func EncodeResult(w http.ResponseWriter, result *Result)
func ResponceFailedMsg ¶
func ResponceFailedMsg(w http.ResponseWriter, msg string)
func ResponceSuccess ¶
func ResponceSuccess(w http.ResponseWriter)
func ResponceSuccessWithBody ¶
func ResponceSuccessWithBody(w http.ResponseWriter, result interface{})
Types ¶
Click to show internal directories.
Click to hide internal directories.