Documentation ¶
Index ¶
- func StartGRPCServer(params *GRPCServerParams) (*grpc.Server, error)
- func StartHTTPServer(params *HTTPServerParams) (*http.Server, error)
- func StartThriftServer(params *ThriftServerParams) (*tchannel.Channel, error)
- func StartZipkinServer(params *ZipkinServerParams) (*http.Server, error)
- type GRPCServerParams
- type HTTPServerParams
- type ThriftServerParams
- type ZipkinServerParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartGRPCServer ¶
func StartGRPCServer(params *GRPCServerParams) (*grpc.Server, error)
StartGRPCServer based on the given parameters
func StartHTTPServer ¶
func StartHTTPServer(params *HTTPServerParams) (*http.Server, error)
StartHTTPServer based on the given parameters
func StartThriftServer ¶
func StartThriftServer(params *ThriftServerParams) (*tchannel.Channel, error)
StartThriftServer based on the given parameters
func StartZipkinServer ¶
func StartZipkinServer(params *ZipkinServerParams) (*http.Server, error)
StartZipkinServer based on the given parameters
Types ¶
type GRPCServerParams ¶
type GRPCServerParams struct { TLSConfig tlscfg.Options Port int Handler *handler.GRPCHandler SamplingStore strategystore.StrategyStore Logger *zap.Logger OnError func(error) }
GRPCServerParams to construct a new Jaeger Collector gRPC Server
type HTTPServerParams ¶
type HTTPServerParams struct { Port int Handler handler.JaegerBatchesHandler RecoveryHandler func(http.Handler) http.Handler SamplingStore strategystore.StrategyStore MetricsFactory metrics.Factory HealthCheck *healthcheck.HealthCheck Logger *zap.Logger }
HTTPServerParams to construct a new Jaeger Collector HTTP Server
type ThriftServerParams ¶
type ThriftServerParams struct { JaegerBatchesHandler handler.JaegerBatchesHandler ZipkinSpansHandler handler.ZipkinSpansHandler StrategyStore strategystore.StrategyStore ServiceName string Port int Logger *zap.Logger }
ThriftServerParams to construct a new Jaeger Collector Thrift Server
type ZipkinServerParams ¶
type ZipkinServerParams struct { Port int Handler handler.ZipkinSpansHandler RecoveryHandler func(http.Handler) http.Handler AllowedOrigins string AllowedHeaders string HealthCheck *healthcheck.HealthCheck Logger *zap.Logger }
ZipkinServerParams to construct a new Jaeger Collector Zipkin Server
Click to show internal directories.
Click to hide internal directories.