grpc_zap

package
v0.0.0-...-53c1a21 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PayloadUnaryServerInterceptor

func PayloadUnaryServerInterceptor(logger *zap.Logger) grpc.UnaryServerInterceptor

func UnaryServerInterceptor

func UnaryServerInterceptor(logger *zap.Logger, logReq bool, decider LoggingDecider) grpc.UnaryServerInterceptor

Types

type LoggingDecider

type LoggingDecider func(ctx context.Context, fullMethodName string) bool

Jump to

Keyboard shortcuts

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