interceptors

package
v0.0.0-...-4e281dc Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccessLogUnaryServerInterceptor

func AccessLogUnaryServerInterceptor() grpc.UnaryServerInterceptor

AccessLogUnaryServerInterceptor - log unary server interceptor

func NewJaegerTracer

func NewJaegerTracer(log *zap.Logger, service string) (opentracing.Tracer, io.Closer)

NewJaegerTracer - New Jaeger Tracer

func TokenAuthInterceptor

func TokenAuthInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)

TokenAuthInterceptor - Token Auth Interceptor

Types

This section is empty.

Jump to

Keyboard shortcuts

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