Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer( locator storage.Locator, gitCmdFactory git.CommandFactory, txManager transaction.Manager, cache cache.Streamer, serverOpts ...ServerOpt, ) gitalypb.SmartHTTPServiceServer
NewServer creates a new instance of a grpc SmartHTTPServer
Types ¶
type ServerOpt ¶
type ServerOpt func(s *server)
ServerOpt is a self referential option for server
func WithPackfileNegotiationMetrics ¶
func WithPackfileNegotiationMetrics(c *prometheus.CounterVec) ServerOpt
Click to show internal directories.
Click to hide internal directories.