Documentation
¶
Index ¶
- func Get(uri string) ([]byte, error)
- func GetWithRespContentType(uri string) ([]byte, string, error)
- func Post(uri, data, contentType string) ([]byte, error)
- func PostJSON(uri string, data interface{}) ([]byte, error)
- func PostJSONWithRespContentType(uri string, obj interface{}) ([]byte, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetWithRespContentType ¶
GetWithRespContentType get请求,并返回content-type
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.