aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/client/common/common.go
diff options
context:
space:
mode:
Diffstat (limited to 'plumbing/client/common/common.go')
-rw-r--r--plumbing/client/common/common.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/plumbing/client/common/common.go b/plumbing/client/common/common.go
index 97f78c4..b2d52e8 100644
--- a/plumbing/client/common/common.go
+++ b/plumbing/client/common/common.go
@@ -36,6 +36,9 @@ type GitUploadPackService interface {
Disconnect() error
}
+// GitUploadPackServiceFactory is capable of instantiating GitUploadPackService with given endpoint
+type GitUploadPackServiceFactory func(Endpoint) GitUploadPackService
+
type AuthMethod interface {
Name() string
String() string