diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2015-10-23 00:34:40 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2015-10-23 00:34:40 +0200 |
commit | b359f11ea09e642695edcd114b463da4395b10c1 (patch) | |
tree | 6f84c4693429a3815b7523e957801cdb420abb40 /clients/common.go | |
parent | 6f43e8933ba3c04072d5d104acc6118aac3e52ee (diff) | |
download | go-git-b359f11ea09e642695edcd114b463da4395b10c1.tar.gz |
clients: supporting diferent protocols
Diffstat (limited to 'clients/common.go')
-rw-r--r-- | clients/common.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/clients/common.go b/clients/common.go new file mode 100644 index 0000000..720de86 --- /dev/null +++ b/clients/common.go @@ -0,0 +1,15 @@ +package clients + +import ( + "gopkg.in/src-d/go-git.v2/clients/common" + "gopkg.in/src-d/go-git.v2/clients/http" +) + +type GitUploadPackService interface { + Connect(url common.Endpoint) error + Info() (*common.GitUploadPackInfo, error) +} + +func NewGitUploadPackService() GitUploadPackService { + return http.NewGitUploadPackService() +} |