aboutsummaryrefslogtreecommitdiffstats
path: root/clients/common.go
blob: 720de86f236f4cedb4d0dff20902a9a427bbc20c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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()
}