go-grpc-interceptor

module
v1.0.1-beta Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 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