diff options
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() +} |