From 08e08d771ef03df80248c80d81475fe7c5ea6fe7 Mon Sep 17 00:00:00 2001 From: "Santiago M. Mola" Date: Wed, 23 Nov 2016 15:30:34 +0100 Subject: transport: create Client interface (#132) * 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 --- cshared/auth_method_cshared.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cshared/auth_method_cshared.go') diff --git a/cshared/auth_method_cshared.go b/cshared/auth_method_cshared.go index 9be3339..c4c1a28 100644 --- a/cshared/auth_method_cshared.go +++ b/cshared/auth_method_cshared.go @@ -6,8 +6,8 @@ import ( "strings" "golang.org/x/crypto/ssh" - "gopkg.in/src-d/go-git.v4/plumbing/client/http" - gssh "gopkg.in/src-d/go-git.v4/plumbing/client/ssh" + "gopkg.in/src-d/go-git.v4/plumbing/transport/http" + gssh "gopkg.in/src-d/go-git.v4/plumbing/transport/ssh" ) //export c_NewBasicAuth -- cgit