middleware

package
v0.0.0-...-fc18315 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: MIT Imports: 7 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

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