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 (),
33
32
grpc_ctxtags.StreamServerInterceptor (),
34
33
grpc_opentracing.StreamServerInterceptor (),
35
34
grpc_prometheus.StreamServerInterceptor ,
36
35
grpc_zap.StreamServerInterceptor (zapLogger),
37
36
grpc_auth.StreamServerInterceptor (myAuthFunction),
37
+ grpc_recovery.StreamServerInterceptor (),
38
38
)),
39
39
grpc.UnaryInterceptor (grpc_middleware.ChainUnaryServer (
40
- grpc_recovery.UnaryServerInterceptor (),
41
40
grpc_ctxtags.UnaryServerInterceptor (),
42
41
grpc_opentracing.UnaryServerInterceptor (),
43
42
grpc_prometheus.UnaryServerInterceptor ,
44
43
grpc_zap.UnaryServerInterceptor (zapLogger),
45
44
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