Documentation ¶
Overview ¶
Package http implements a HTTP client for go-git.
Index ¶
- Variables
- func NewHTTPError(r *http.Response) error
- type BasicAuth
- type GitUploadPackService
- func (s *GitUploadPackService) Connect(url common.Endpoint) error
- func (s *GitUploadPackService) ConnectWithAuth(url common.Endpoint, auth common.AuthMethod) error
- func (s *GitUploadPackService) Fetch(r *common.GitUploadPackRequest) (io.ReadCloser, error)
- func (s *GitUploadPackService) Info() (*common.GitUploadPackInfo, error)
- type HTTPAuthMethod
- type HTTPError
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type BasicAuth ¶
type BasicAuth struct {
// contains filtered or unexported fields
}
type GitUploadPackService ¶
func NewGitUploadPackService ¶
func NewGitUploadPackService() *GitUploadPackService
func (*GitUploadPackService) Connect ¶
func (s *GitUploadPackService) Connect(url common.Endpoint) error
func (*GitUploadPackService) ConnectWithAuth ¶
func (s *GitUploadPackService) ConnectWithAuth(url common.Endpoint, auth common.AuthMethod) error
func (*GitUploadPackService) Fetch ¶
func (s *GitUploadPackService) Fetch(r *common.GitUploadPackRequest) (io.ReadCloser, error)
func (*GitUploadPackService) Info ¶
func (s *GitUploadPackService) Info() (*common.GitUploadPackInfo, error)
type HTTPAuthMethod ¶
type HTTPAuthMethod interface { common.AuthMethod // contains filtered or unexported methods }
Click to show internal directories.
Click to hide internal directories.