Categorygithub.com/yeyus/go-grpc-interceptor

# README

go-grpc-interceptor

gRPC server interceptors for grpc-go.

Interceptors

interceptorDescription
multiinterceptorChain multiple UnaryServerInterceptors or StreamServerInterceptors
panichandlerProtect a process from aborting by panic and return Internal error as status code
zapAttach zap logger to each request
xrequestidGenerate X-Request-Id to each request
acceptlangParses Accept-Language from metadata
instrumentInstrumentation hook
requestdumpDump request/response messages

Committers

  • Masahiro Sano(@kazegusuri)

Contribution

Please read the CLA below carefully before submitting your contribution.

https://www.mercari.com/cla/

License

Copyright 2016 Mercari, Inc.

Licensed under the MIT License.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author