Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertError ¶
func ConvertError(err error) interface{}
Types ¶
type JSONRequest ¶
func WrapJSONRequest ¶
func WrapJSONRequest(r *http.Request) *JSONRequest
type JSONResponseWriter ¶
type JSONResponseWriter interface { http.ResponseWriter WriteJSON(interface{}) error WriteJSONString(string) error WriteJSONError(code int, err error) error }
func WrapJSONResponseWriter ¶
func WrapJSONResponseWriter(w http.ResponseWriter) JSONResponseWriter
Click to show internal directories.
Click to hide internal directories.