aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/client
Commit message (Collapse)AuthorAgeFilesLines
* transport: create Client interface (#132)Santiago M. Mola2016-11-2312-1665/+0
| | | | | | | | | | | | | | | * plumbing: move plumbing/client package to plumbing/transport. * transport: create Client interface. * A Client can instantiate any client transport service. * InstallProtocol installs a Client for a given protocol, instead of just a UploadPackService. * A Client can open a session for fetch-pack or send-pack for a specific Endpoint. * Adapt ssh and http clients to the new client interface. * updated doc
* Add configurable http client factory (fixes #120) (#121)ferhat elmas2016-11-157-47/+72
| | | | | | | | | | | | | | | | * new http client factory ready to install/override default http(s) * mv GitUploadPackServiceFactory to clients.common pkg * rename http.HTTPError to http.Err * rename http.HTTPAuthMethod to http.AuthMethod * add doc and examples/ usage * general improvements: - update install link in readme to v4 (example are already pointing v4) - fix indentation in package doc (styling for godoc.org) - use http.Status constants instead of integers - close leaked response body - rm named returns which stutter in doc - fix one format string - rm unnecessary if checks - documentation fixes
* new plumbing package (#118)Máximo Cuadros2016-11-0812-0/+1640
* plumbing: now core was renamed to core, and formats and clients moved inside