Documentation ¶
Index ¶
- func GetJson(url string, data string, headers map[string]interface{}) (res []byte, err error)
- func GetResponseArrayIndexBytes(data []byte, index int, keys ...string) (b []byte, err error)
- func GetResponseBytes(data []byte, keys ...string) (b []byte, err error)
- func PostJson(url string, data map[string]interface{}, headers map[string]interface{}) (res []byte, err error)
- func PostXml(url string, data map[string]string, headers map[string]interface{}) (res []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetResponseArrayIndexBytes ¶
GetResponseArrayIndexBytes 兼容多层 Key 读取某个
func GetResponseBytes ¶
GetResponseBytes 兼容多层 Key 读取
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.