Documentation ¶
Index ¶
- Constants
- func HTTPPostForm(reqUrl string, headers map[string]string, payload io.Reader) ([]byte, error)
- func HTTPPostJSON(reqUrl string, headers map[string]string, payload io.Reader) ([]byte, error)
- func HTTPRequest(method string, reqUrl string, headers map[string]string, payload io.Reader) ([]byte, error)
- func HttpGet(url string) ([]byte, error)
- func ParseInterface(orign interface{}, ty string) (interface{}, error)
Constants ¶
View Source
const HttpReqTimeout = 20 * time.Second
Variables ¶
This section is empty.
Functions ¶
func HTTPPostForm ¶
func HTTPPostJSON ¶
HTTPPostJSON with json []byte
func HTTPRequest ¶
func ParseInterface ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.