GetCompressor returns Compressor for the given compressor name.
(name string)
| 96 | |
| 97 | // GetCompressor returns Compressor for the given compressor name. |
| 98 | func GetCompressor(name string) Compressor { |
| 99 | return registeredCompressor[name] |
| 100 | } |
| 101 | |
| 102 | // Codec defines the interface gRPC uses to encode and decode messages. Note |
| 103 | // that implementations of this interface must be thread safe; a Codec's |
no outgoing calls