grpcserver

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartGRPCCollector

func StartGRPCCollector(
	port int,
	server *grpc.Server,
	handler *app.GRPCHandler,
	samplingStrategy strategystore.StrategyStore,
	logger *zap.Logger,
	serveErr func(error),
) (net.Addr, error)

StartGRPCCollector configures and starts gRPC endpoints exposed by collector.

func TLSConfig added in v1.14.0

func TLSConfig(cert, key, clientCA string) (*tls.Config, error)

TLSConfig creates a *tls.Config from the user specified file paths.

Types

This section is empty.

Jump to

Keyboard shortcuts

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