An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 4.4% on proxy.golang.org
Top 0.7% forks on proxy.golang.org

proxy.golang.org : github.com/grpc-ecosystem/go-grpc-Middleware

`grpc_middleware` is a collection of gRPC middleware packages: interceptors, helpers and tools. gRPC is a fantastic RPC middleware, which sees a lot of adoption in the Golang world. However, the upstream gRPC codebase is relatively bare bones. This package, and most of its child packages provides commonly needed middleware for gRPC: client-side interceptors for retires, server-side interceptors for input validation and auth, functions for chaining said interceptors, metadata convenience methods and more. By default, gRPC doesn't allow one to have more than one interceptor either on the client nor on the server side. `grpc_middleware` provides convenient chaining methods Simple way of turning a multiple interceptors into a single interceptor. Here's an example for server chaining: These interceptors will be executed from left to right: logging, monitoring and auth. Here's an example for client side chaining: These interceptors will be executed from left to right: monitoring and then retry logic. The retry interceptor will call every interceptor that follows it whenever when a retry happens. Implementing your own interceptor is pretty trivial: there are interfaces for that. But the interesting bit exposing common data to handlers (and other middleware), similarly to HTTP Middleware design. For example, you may want to pass the identity of the caller from the auth interceptor all the way to the handling function. For example, a client side interceptor example for auth looks like: Unfortunately, it's not as easy for streaming RPCs. These have the `context.Context` embedded within the `grpc.ServerStream` object. To pass values through context, a wrapper (`WrappedServerStream`) is needed. For example:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/grpc-ecosystem/go-grpc-%21middleware
Keywords: authentication , generic-functions , golang , grpc , interceptor , library , logging , middleware , retries , testing
License: Apache-2.0
Latest release: about 2 years ago
First release: about 7 years ago
Namespace: github.com/grpc-ecosystem
Stars: 5,272 on GitHub
Forks: 613 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 7 days ago

Top 4.5% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/providers/logrus
Initialization shows a relatively complex initialization sequence.
Latest release: 12 days ago - 5,275 stars on GitHub
Top 6.4% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/logging
grpc_logging is a "parent" package for gRPC logging middlewares. The gRPC logging middleware pop...
Latest release: 12 days ago - 6,258 stars on GitHub
Top 6.4% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/util/metautils
Golang gRPC Middlewares: interceptor chaining, auth, logging, retries and more.
Latest release: 18 days ago - 6,258 stars on GitHub
Top 6.4% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/logging/zap/ctxzap
`ctxzap` is a ctxlogger that is backed by Zap It accepts a user-configured `zap.Logger` that wil...
Latest release: 19 days ago - 6,258 stars on GitHub
Top 3.6% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/logging/zap
`grpc_zap` is a gRPC logging middleware backed by ZAP loggers It accepts a user-configured `zap....
Latest release: 19 days ago - 6,258 stars on GitHub
Top 3.6% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/tags
`grpc_ctxtags` adds a Tag object to the context that can be used by other middleware to add conte...
Latest release: 19 days ago - 6,258 stars on GitHub
Top 4.8% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/providers/zap
Package zap provides a small adapter required to use zap in logging gRPC middlewares. Please see ...
Latest release: 19 days ago - 5,305 stars on GitHub
Top 6.4% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/retry
`grpc_retry` provides client-side request retry logic for gRPC. It allows for automatic retry, i...
Latest release: 19 days ago - 6,258 stars on GitHub
Top 6.1% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/tracing/opentracing
`grpc_opentracing` adds OpenTracing These are both client-side and server-side interceptors for ...
Latest release: 19 days ago - 6,292 stars on GitHub
Top 4.5% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/providers/kit
Initialization shows a relatively complex initialization sequence.
Latest release: 19 days ago - 5,275 stars on GitHub
Top 9.4% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/examples/v2
Golang gRPC Middlewares: interceptor chaining, auth, logging, retries and more.
Latest release: 19 days ago - 5,914 stars on GitHub
Top 6.4% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/logging/settable
grpc_logsettable contains a thread-safe wrapper around grpc-logging infrastructure. The go-grpc ...
Latest release: 19 days ago - 6,258 stars on GitHub
Top 6.4% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/util/backoffutils
Backoff Helper Utilities Implements common backoff features.
Latest release: 19 days ago - 6,258 stars on GitHub
Top 7.4% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middLeware/v2 v2.3.2
Golang gRPC Middlewares: interceptor chaining, auth, logging, retries and more.
12 versions - Latest release: 30 days ago - 6,072 stars on GitHub
Top 0.6% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.3.2
Package middleware `middleware` is a collection of gRPC middleware packages: interceptors, helpe...
12 versions - Latest release: 30 days ago - 403 dependent packages - 661 dependent repositories - 5,264 stars on GitHub
Top 3.9% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.0.1
Package prometheus provides a standalone interceptor for metrics. It's next iteration of deprecat...
3 versions - Latest release: about 1 year ago - 66 dependent packages - 10 dependent repositories
Top 4.4% on proxy.golang.org
github.com/gRPC-ecosystem/go-grpc-middleware v1.4.0
`grpc_middleware` is a collection of gRPC middleware packages: interceptors, helpers and tools. ...
7 versions - Latest release: about 2 years ago - 5,271 stars on GitHub
Top 0.4% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
`grpc_middleware` is a collection of gRPC middleware packages: interceptors, helpers and tools. ...
7 versions - Latest release: about 2 years ago - 15,493 dependent packages - 74,483 dependent repositories - 5,264 stars on GitHub
Top 4.4% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-mIDdleware v1.4.0
`grpc_middleware` is a collection of gRPC middleware packages: interceptors, helpers and tools. ...
7 versions - Latest release: about 2 years ago - 5,264 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-mIddleware v1.4.0
`grpc_middleware` is a collection of gRPC middleware packages: interceptors, helpers and tools. ...
7 versions - Latest release: about 2 years ago - 5,264 stars on GitHub
Top 7.4% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middLeware v1.4.0
`grpc_middleware` is a collection of gRPC middleware packages: interceptors, helpers and tools. ...
7 versions - Latest release: about 2 years ago - 6,080 stars on GitHub
Top 0.7% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/providers/kit/v2 v2.0.0-rc.3
Package kit provides a small adapter required to use go-kit/log in logging gRPC middlewares. Plea...
1 version - Latest release: over 2 years ago - 32 dependent packages - 425 dependent repositories - 5,264 stars on GitHub
Top 1.9% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/providers/opentracing/v2 v2.0.0-rc.3
Golang gRPC Middlewares: interceptor chaining, auth, logging, retries and more.
1 version - Latest release: over 2 years ago - 3 dependent packages - 4 dependent repositories - 5,271 stars on GitHub
Top 1.1% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/providers/openmetrics/v2 v2.0.0-rc.3
Golang gRPC Middlewares: interceptor chaining, auth, logging, retries and more.
1 version - Latest release: over 2 years ago - 13 dependent packages - 45 dependent repositories - 5,271 stars on GitHub
Top 1.3% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/providers/zap/v2 v2.0.0-rc.3
Package zap provides a small adapter required to use zap in logging gRPC middlewares. Please see ...
1 version - Latest release: over 2 years ago - 11 dependent packages - 9 dependent repositories - 5,264 stars on GitHub
Top 4.4% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/providers/phuslog/v2 v2.0.0-rc.3
Package phuslog provides a small adapter required to use phuslog in logging gRPC middlewares. Ple...
1 version - Latest release: over 2 years ago - 5,271 stars on GitHub
Top 3.8% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/providers/logr/v2 v2.0.0-rc.3
Package logr provides a small adapter required to use logr in logging gRPC middlewares. Please se...
1 version - Latest release: over 2 years ago - 1 dependent repositories - 5,275 stars on GitHub
Top 4.4% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/providers/logrus/v2 v2.0.0-rc.3
Package logrus provides a small adapter required to use logrus in logging gRPC middlewares. Plea...
1 version - Latest release: over 2 years ago - 5,271 stars on GitHub
Top 4.4% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/providers/tokenbucket/v2 v2.0.0-rc.3
Simple example of server initialization code.
1 version - Latest release: over 2 years ago - 5,275 stars on GitHub
Top 0.8% on proxy.golang.org
github.com/grpc-ecosystem/go-grpc-middleware/providers/zerolog/v2 v2.0.0-rc.3
Package zerolog provides a small adapter required to use zerolog in logging gRPC middlewares. Ple...
3 versions - Latest release: over 2 years ago - 118 dependent packages - 85 dependent repositories - 5,264 stars on GitHub