Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewGRPCServer, NewHTTPServer, NewHTTPMetricsServer)
ProviderSet is server providers.
View Source
var Version = "dev"
Functions ¶
func NewGRPCServer ¶
func NewGRPCServer(c *conf.Server, authConf *conf.Auth, byteService *service.ByteStreamService, rSvc *service.ResourceService, logger log.Logger) (*grpc.Server, error)
NewGRPCServer new a gRPC server.
Types ¶
type HTTPMetricsServer ¶
HTTPMetricsServer is a HTTP server that exposes the metrics endpoint
func NewHTTPMetricsServer ¶
func NewHTTPMetricsServer(c *conf.Server) (*HTTPMetricsServer, error)
NewHTTPMetricsServer exposes the metrics endpoint
Click to show internal directories.
Click to hide internal directories.