Skip to content

eltorocorp/go-grpc-request-id-interceptor

 
 

Repository files navigation

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.

About

gRPC server insterceptor for golang which adds a request id to each endpoint if one does not already exist

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%