smarthttp

package
v14.10.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2022 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(locator storage.Locator, gitCmdFactory git.CommandFactory,
	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

nolint: revive,stylecheck // This is unintentionally missing documentation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL