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

Function newCodecV1Bridge

codec.go:53–58  ·  view source on GitHub ↗
(c encoding.Codec)

Source from the content-addressed store, hash-verified

51}
52
53func newCodecV1Bridge(c encoding.Codec) encoding.CodecV2 {
54 return codecV1Bridge{
55 codecV0Bridge: codecV0Bridge{codec: c},
56 name: c.Name(),
57 }
58}
59
60var _ baseCodec = codecV0Bridge{}
61

Callers 3

ForceServerCodecFunction · 0.85
getCodecFunction · 0.85
beforeMethod · 0.85

Calls 1

NameMethod · 0.65

Tested by

no test coverage detected