go-grpc-interceptor

module
v0.0.0-...-1273577 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2019 License: MIT

README

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.

Jump to

Keyboard shortcuts

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