MCPcopy
hub / github.com/micro/go-micro / grpcCodec

Struct grpcCodec

client/grpc/codec.go:155–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155type grpcCodec struct {
156 // headers
157 id string
158 target string
159 method string
160 endpoint string
161
162 s grpc.ClientStream
163 c encoding.Codec
164}
165
166func (g *grpcCodec) ReadHeader(m *codec.Message, mt codec.MessageType) error {
167 md, err := g.s.Header()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected