grpcserver

package
v0.0.0-...-39992ae Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseGrpcServer

type BaseGrpcServer interface {
	PrepareContext(ctx context.Context) (context.Context, opentracing.Span)
	Listen(ctx context.Context, cancel context.CancelFunc, server *grpc.Server)
}

func NewGrpcServer

func NewGrpcServer(
	tracer opentracing.Tracer,
	logger *zap.Logger,
	uri string,
) BaseGrpcServer

Jump to

Keyboard shortcuts

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