Documentation
¶
Index ¶
- func BuildQuery(key []string, value []string) string
- func BuildQueryWithOutEmptyValue(key []string, value []string) string
- func Get(url string, params util.OrderKV, header map[string]string) (code int, response string, err error)
- func GetWithCookie(url string, params util.OrderKV, cookie map[string]string) (code int, response string, err error)
- func Post(url string, params util.OrderKV, header map[string]string) (code int, response string, err error)
- func PostByte(url string, post []byte, header map[string]string) (code int, response string, err error)
- func PostWithCookie(url string, params util.OrderKV, cookie map[string]string) (code int, response string, err error)
- func QueryString2Map(que string) (set map[string]string)
- func RawUrlEncode(origin string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildQuery ¶
func GetWithCookie ¶
func PostWithCookie ¶
func QueryString2Map ¶
func RawUrlEncode ¶
like php - rawurlencode rawurlencode and urlencode is different form the ' ' will encode to '%20', is not '+'
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.