in src/product-catalog/genproto/oteldemo/demo_grpc.pb.go [717:733]
func _CurrencyService_GetSupportedCurrencies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(Empty)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CurrencyServiceServer).GetSupportedCurrencies(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: CurrencyService_GetSupportedCurrencies_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CurrencyServiceServer).GetSupportedCurrencies(ctx, req.(*Empty))
}
return interceptor(ctx, in, info, handler)
}