An open API service indexing awesome lists of open source software.

https://github.com/svrana/go-connect-middleware

Golang connect middlewares: interceptors, helpers and utilities
https://github.com/svrana/go-connect-middleware

connect golang grpc interceptor logging middleware

Last synced: 3 months ago
JSON representation

Golang connect middlewares: interceptors, helpers and utilities

Awesome Lists containing this project

README

          

# Go Connect Middleware

This repository holds [connect Go](https://github.com/bufbuild/connect-go) Middlewares: interceptors, helpers and utilities.

This is a derived work of [go gRPC middleware](https://github.com/grpc-ecosystem/go-grpc-middleware), specifically the v2 branch.

## Interceptors

#### Observability

- Logging with [`github.com/svrana/go-connect-middleware/interceptors/logging`](interceptors/logging) - a customizable logging middleware offering extended per request logging. It requires a logging adapter, see examples in [`interceptors/logging/examples`](interceptors/logging/examples) for `zap`
(Only unary server interceptor for now)

## Prerequisites

- **[Go](https://golang.org)**: Any one of the **three latest major** [releases](https://golang.org/doc/devel/release.html) are supported.

## License

`go-grpc-middleware` is released under the Apache 2.0 license. See the [LICENSE](LICENSE) file for details.