Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddLogging ¶
func AddLogging( logger *zap.Logger, ) ([]grpc.UnaryServerInterceptor, []grpc.StreamServerInterceptor)
AddLogging returns grpc.Server config option that turn on logging.
func AddPayloadLogging ¶
func AddPayloadLogging( logger *zap.Logger, ) ([]grpc.UnaryServerInterceptor, []grpc.StreamServerInterceptor)
func AddRecovery ¶
func AddRecovery() ([]grpc.UnaryServerInterceptor, []grpc.StreamServerInterceptor)
AddRecovery recovers from gRPC panics from handlers
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.