newNopDecompressor creates a decompressor to test the case that type is not supported.
()
| 753 | |
| 754 | // newNopDecompressor creates a decompressor to test the case that type is not supported. |
| 755 | func newNopDecompressor() grpc.Decompressor { |
| 756 | return &nopDecompressor{grpc.NewGZIPDecompressor()} |
| 757 | } |
| 758 | |
| 759 | func (d *nopDecompressor) Type() string { |
| 760 | return "nop" |
no test coverage detected