Versions in this module Expand all Collapse all v1 v1.0.0 Sep 16, 2017 Changes in this version + var Server = newHTTPServer() + func Abort(w http.ResponseWriter, f string, args ...interface{}) + func NameToPath(name string, depth int) string + func ParseFormVars(req *http.Request, result interface{}) error + func ParseHeaderVars(req *http.Request, result interface{}) error + func ParseJSONVars(req *http.Request, result interface{}) error + func ParseURLVars(req *http.Request, result interface{}) error + func SendErrorDetail(w http.ResponseWriter, status int, data interface{}, f string, ...) + func SendResponse(w http.ResponseWriter, status int, f string, args ...interface{}) + func SendResponseData(w http.ResponseWriter, data interface{}) + func SendResponseOK(w http.ResponseWriter) + func SendRows(w http.ResponseWriter, total int64, data interface{}) + func UnmarshalForm(req *http.Request, postion VariablePostion, result interface{}) error + func UnmarshalJSON(req *http.Request, result interface{}) error + func UnmarshalValidate(req *http.Request, postion VariablePostion, result interface{}) error + type Callback func(http.ResponseWriter, *http.Request) + type Filter func(http.ResponseWriter, *http.Request) *http.Request + type Method int + const DELETE + const GET + const POST + const PUT + const RESTful + func (m Method) String() string + type Response struct + Data interface{} + Message string + Status int + type VariablePostion int + const FORM + const HEADER + const JSON + const URI + func (p VariablePostion) String() string