Documentation ¶
Index ¶
- func CloseConnections()
- type BlobClient
- type Server
- type SmartHTTPClient
- func (client *SmartHTTPClient) InfoRefsResponseReader(ctx context.Context, repo *pb.Repository, rpc string) (io.Reader, error)
- func (client *SmartHTTPClient) ReceivePack(ctx context.Context, repo *pb.Repository, glId string, glRepository string, ...) error
- func (client *SmartHTTPClient) UploadPack(ctx context.Context, repo *pb.Repository, clientRequest io.Reader, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseConnections ¶ added in v1.4.0
func CloseConnections()
Types ¶
type BlobClient ¶
type BlobClient struct {
pb.BlobServiceClient
}
func NewBlobClient ¶
func NewBlobClient(server Server) (*BlobClient, error)
func (*BlobClient) SendBlob ¶
func (client *BlobClient) SendBlob(ctx context.Context, w http.ResponseWriter, request *pb.GetBlobRequest) error
type SmartHTTPClient ¶ added in v1.4.0
type SmartHTTPClient struct {
pb.SmartHTTPServiceClient
}
func NewSmartHTTPClient ¶ added in v1.4.0
func NewSmartHTTPClient(server Server) (*SmartHTTPClient, error)
func (*SmartHTTPClient) InfoRefsResponseReader ¶
func (client *SmartHTTPClient) InfoRefsResponseReader(ctx context.Context, repo *pb.Repository, rpc string) (io.Reader, error)
func (*SmartHTTPClient) ReceivePack ¶ added in v1.4.3
func (*SmartHTTPClient) UploadPack ¶ added in v1.4.3
func (client *SmartHTTPClient) UploadPack(ctx context.Context, repo *pb.Repository, clientRequest io.Reader, clientResponse io.Writer) error
Click to show internal directories.
Click to hide internal directories.