mirror of
https://github.com/linka-cloud/grpc.git
synced 2025-06-22 09:12:28 +00:00
interceptors: migrate to otel and add logging interceptor
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
@ -18,7 +18,7 @@ func (s *service) gateway(opts ...runtime.ServeMuxOption) error {
|
||||
return nil
|
||||
}
|
||||
mux := runtime.NewServeMux(append(defaultGatewayOptions, opts...)...)
|
||||
if err := s.opts.gateway(s.opts.ctx, mux, s.inproc); err != nil {
|
||||
if err := s.opts.gateway(s.opts.ctx, mux, s.wrapCC()); err != nil {
|
||||
return err
|
||||
}
|
||||
if s.opts.gatewayPrefix != "" {
|
||||
|
Reference in New Issue
Block a user