Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer( cfg config.Cfg, locator storage.Locator, gitCmdFactory git.CommandFactory, txManager transaction.Manager, serverOpts ...ServerOpt, ) gitalypb.SSHServiceServer
NewServer creates a new instance of a grpc SSHServer
Types ¶
type ServerOpt ¶
type ServerOpt func(s *server)
ServerOpt is a self referential option for server
func WithArchiveRequestTimeout ¶
WithArchiveRequestTimeout sets the upload pack request timeout
func WithPackfileNegotiationMetrics ¶
func WithPackfileNegotiationMetrics(c *prometheus.CounterVec) ServerOpt
func WithUploadPackRequestTimeout ¶
WithUploadPackRequestTimeout sets the upload pack request timeout
Click to show internal directories.
Click to hide internal directories.