File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,20 +29,20 @@ import "github.com/grpc-ecosystem/go-grpc-middleware"
29
29
30
30
myServer := grpc.NewServer (
31
31
grpc.StreamInterceptor (grpc_middleware.ChainStreamServer (
32
+ grpc_recovery.StreamServerInterceptor (),
32
33
grpc_ctxtags.StreamServerInterceptor (),
33
34
grpc_opentracing.StreamServerInterceptor (),
34
35
grpc_prometheus.StreamServerInterceptor ,
35
36
grpc_zap.StreamServerInterceptor (zapLogger),
36
37
grpc_auth.StreamServerInterceptor (myAuthFunction),
37
- grpc_recovery.StreamServerInterceptor (),
38
38
)),
39
39
grpc.UnaryInterceptor (grpc_middleware.ChainUnaryServer (
40
+ grpc_recovery.UnaryServerInterceptor (),
40
41
grpc_ctxtags.UnaryServerInterceptor (),
41
42
grpc_opentracing.UnaryServerInterceptor (),
42
43
grpc_prometheus.UnaryServerInterceptor ,
43
44
grpc_zap.UnaryServerInterceptor (zapLogger),
44
45
grpc_auth.UnaryServerInterceptor (myAuthFunction),
45
- grpc_recovery.UnaryServerInterceptor (),
46
46
)),
47
47
)
48
48
```
You can’t perform that action at this time.
0 commit comments