Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecordRequestInfo ¶
func RecordRequestInfo(log *logs.ZapLogger) grpc.UnaryServerInterceptor
RecordRequestInfo 记录请求日志
func Recovery ¶
func Recovery(log *logs.ZapLogger) grpc.UnaryServerInterceptor
Recovery is a server middleware that recovers from any panics.
func RequestDownstreamLogs ¶
func RequestDownstreamLogs(log *logs.ZapLogger) grpc.UnaryClientInterceptor
RequestDownstreamLogs 记录请求下游日志
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.