Versions in this module Expand all Collapse all v6 v6.1.0 Apr 24, 2021 Changes in this version + const ReceivePackServiceName + const UploadPackServiceName + var ErrAlreadyConnected = errors.New("session already established") + var ErrAuthenticationRequired = errors.New("authentication required") + var ErrAuthorizationFailed = errors.New("authorization failed") + var ErrEmptyRemoteRepository = errors.New("remote repository is empty") + var ErrEmptyUploadPackRequest = errors.New("empty git-upload-pack given") + var ErrInvalidAuthMethod = errors.New("invalid auth method") + var ErrRepositoryNotFound = errors.New("repository not found") + var UnsupportedCapabilities = []capability.Capability + func FilterUnsupportedCapabilities(list *capability.List) + type AuthMethod interface + Name func() string + type Endpoint struct + CaBundle []byte + Host string + InsecureSkipTLS bool + Password string + Path string + Port int + Protocol string + User string + func NewEndpoint(endpoint string) (*Endpoint, error) + func (u *Endpoint) String() string + type ReceivePackSession interface + ReceivePack func(context.Context, *packp.ReferenceUpdateRequest) (*packp.ReportStatus, error) + type Session interface + AdvertisedReferences func() (*packp.AdvRefs, error) + AdvertisedReferencesContext func(context.Context) (*packp.AdvRefs, error) + type Transport interface + NewReceivePackSession func(*Endpoint, AuthMethod) (ReceivePackSession, error) + NewUploadPackSession func(*Endpoint, AuthMethod) (UploadPackSession, error) + type UploadPackSession interface + UploadPack func(context.Context, *packp.UploadPackRequest) (*packp.UploadPackResponse, error) Other modules containing this package github.com/egibert/go-git github.com/egibert/go-git/v5 github.com/egibert/go-git/v8