Conver to regular Go vendor + dep tool

This commit is contained in:
Andrey Smirnov
2017-03-22 17:38:32 +03:00
parent 070347295e
commit c6c1012330
3260 changed files with 1742550 additions and 72 deletions
+23
View File
@@ -0,0 +1,23 @@
go-ftp-protocol
===============
Plugin for http.Transport with support for ftp:// protocol in Go.
Limitations: only anonymous FTP servers, only file retrieval operations.
Internally connections to FTP servers are cached and re-used when possible.
Example usage:
import "github.com/smira/go-ftp-protocol/protocol"
transport := &http.Transport{}
transport.RegisterProtocol("ftp", &protocol.FTPRoundTripper{})
client := &http.Client{Transport: transport}
resp, err := client.Get("ftp://ftp.ru.debian.org/debian/README")
License: MIT
Base on FTP client library: http://github.com/jlaffaye/ftp/