示例#1
0
文件: easy.go 项目: ym/go-curl
// curl_easy_perform - Perform a file transfer
func (curl *CURL) Perform() error {
	p := curl.handle
	return newCurlError(C.curl_easy_perform(p))
}
示例#2
0
func (easy *Easy) Perform() error {
	return easy.getError(C.curl_easy_perform(easy.cptr))
}