예제 #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
파일: easy.go 프로젝트: edmonds/golang-curl
func (easy *Easy) Perform() error {
	return easy.getError(C.curl_easy_perform(easy.cptr))
}