blob: 8003d0766f8238e16e9b4f81045c5e8ccfa91c82 (
plain) (
tree)
|
|
package clients
import (
"io"
"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)
Fetch(r *common.GitUploadPackRequest) (io.ReadCloser, error)
}
func NewGitUploadPackService() GitUploadPackService {
return http.NewGitUploadPackService()
}
|