go-grpc-interceptor
go-grpc-interceptor copied to clipboard
gRPC server insterceptor for golang
go-grpc-interceptor
gRPC server interceptors for grpc-go.
Interceptors
| interceptor | Description |
|---|---|
| multiinterceptor | Chain multiple UnaryServerInterceptors or StreamServerInterceptors |
| panichandler | Protect a process from aborting by panic and return Internal error as status code |
| zap | Attach zap logger to each request |
| xrequestid | Generate X-Request-Id to each request |
| acceptlang | Parses Accept-Language from metadata |
| instrument | Instrumentation hook |
| requestdump | Dump 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.