Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // ConnectTimeout is the timeout for establishing a connection to the gitaly-ruby process. ConnectTimeout = 20 * time.Second )
Functions ¶
func Proxy ¶ added in v0.31.0
Proxy calls recvSend until it receives an error. The error is returned to the caller unless it is io.EOF.
func SetHeaders ¶
SetHeaders adds headers that tell gitaly-ruby the full path to the repository.
Types ¶
type Server ¶ added in v0.34.0
type Server struct { *supervisor.Process // contains filtered or unexported fields }
Server represents a gitaly-ruby helper process.
func (*Server) CommitServiceClient ¶ added in v0.39.0
CommitServiceClient returns a CommitServiceClient instance that is configured to connect to the running Ruby server. This assumes Start() has been called already.
func (*Server) DiffServiceClient ¶ added in v0.39.0
DiffServiceClient returns a DiffServiceClient instance that is configured to connect to the running Ruby server. This assumes Start() has been called already.
func (*Server) RefServiceClient ¶ added in v0.39.0
RefServiceClient returns a RefServiceClient instance that is configured to connect to the running Ruby server. This assumes Start() has been called already.