Skip to content

Commit eefb481

Browse files
authored
docs: the implementation of tags has been removed in v2. (#541)
Signed-off-by: aimuz <[email protected]>
1 parent 7ac0846 commit eefb481

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,13 @@ import "github.com/grpc-ecosystem/go-grpc-middleware/v2"
3131

3232
myServer := grpc.NewServer(
3333
grpc.ChainStreamInterceptor(
34-
tags.StreamServerInterceptor(),
3534
opentracing.StreamServerInterceptor(),
3635
prometheus.StreamServerInterceptor,
3736
zap.StreamServerInterceptor(zapLogger),
3837
auth.StreamServerInterceptor(myAuthFunction),
3938
recovery.StreamServerInterceptor(),
4039
),
4140
grpc.ChainUnaryInterceptor(
42-
tags.UnaryServerInterceptor(),
4341
opentracing.UnaryServerInterceptor(),
4442
prometheus.UnaryServerInterceptor,
4543
zap.UnaryServerInterceptor(zapLogger),
@@ -58,7 +56,6 @@ myServer := grpc.NewServer(
5856

5957
#### Logging
6058

61-
* [`tags`](interceptors/tags) - a library that adds a `Tag` map to context, with data populated from request body
6259
* [`zap`](providers/zap) - integration of [zap](https://github.com/uber-go/zap) logging library into gRPC handlers.
6360
* [`logrus`](providers/logrus) - integration of [logrus](https://github.com/sirupsen/logrus) logging library into gRPC handlers.
6461
* [`kit`](providers/kit) - integration of [go-kit/log](https://github.com/go-kit/log) logging library into gRPC handlers.

0 commit comments

Comments
 (0)