MCPcopy
hub / github.com/grpc/grpc-go / newNopDecompressor

Function newNopDecompressor

test/end2end_test.go:755–757  ·  view source on GitHub ↗

newNopDecompressor creates a decompressor to test the case that type is not supported.

()

Source from the content-addressed store, hash-verified

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

Callers 2

configDialMethod · 0.85

Calls 1

NewGZIPDecompressorFunction · 0.92

Tested by

no test coverage detected