Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there libCURL bindings for the Go language

Tags:

go

libcurl

I have searched web for libCURL bindings for Go language, but failed to find any... I also checked curl.haxx.se list of bindings with no success for Go. Are there any such project on net?

If such binding don't exists are where any alternative libraries or maybe you could provide some hints how I could implement my own bindings of libCURL?

Thanks

like image 646
Darius Kucinskas Avatar asked Aug 02 '11 14:08

Darius Kucinskas


People also ask

What is the use of libcurl?

libcurl is a free and easy-to-use client-side URL transfer library, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP.

Is libcurl open source?

curl is free and open source software and exists thanks to thousands of contributors and our awesome sponsors. The curl project follows well established open source best practices. You too can help us improve! What's the latest curl?

What is curl library?

cURL (pronounced like "curl", UK: /kəːl/, US: /kɝl/) is a computer software project providing a library (libcurl) and command-line tool (curl) for transferring data using various network protocols. The name stands for "Client URL". cURL.

What is curl library in C?

curl is a project containing a command line tool and a library that can be used to transfer data using a variety of protocols, including, of course, HTTP and HTTPS. The library API is written in C, but there are various C++ wrappers on top of it.


1 Answers

I found Cgo utility: "Cgo enables the creation of Go packages that call C code". I will try to create my wrapper of libCURL for Go.

UPDATED:

Created github repository gocurl. Initial version of Easy interface, not working yet. But it's a start :)

UPDATED 2:

Found better implementation go-curl

like image 68
Darius Kucinskas Avatar answered Oct 02 '22 05:10

Darius Kucinskas