Documentation
¶
Overview ¶
Package interceptor contains gRPC interceptors. This package is not intended to be used directly from plugins. Its main use today is to insert shared processes such as logging.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequestLogging ¶
func RequestLogging(direction string) grpc.UnaryServerInterceptor
RequestLogging is an interceptor for gRPC request logging. It outouts all request logs as "trace" level, and if an error occurs, it outputs the response as "error" level.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.