Documentation
¶
Index ¶
- func Atoi(id string) int
- func CopyRequest(req *http.Request) *http.Request
- func EncodeFormToString(req *http.Request) string
- func Fstring(format string, v ...interface{}) string
- func ParseRequestForm(cpyReq *http.Request) url.Values
- func ParseURIPrefix(uri string) string
- func ResponseJSON(w http.ResponseWriter, i interface{})
- func ResponseString(w http.ResponseWriter, s string)
- func StringEncMd5(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyRequest ¶
CopyRequest copy request from a http.Request
func EncodeFormToString ¶
EncodeFormToString ... you must copy http.Request manually
func ParseRequestForm ¶
ParseRequestForm parse request and get form form body or url nomarlly support "application/www-form-urlencodeded" header TODO: ParseMultipartForm with Content-Type multipart/form-data
func ParseURIPrefix ¶
ParseURIPrefix ... 1. prefix/uri; 2 /prefix/uri
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.