check in this cruft

This commit is contained in:
Asim Aslam
2019-06-08 19:40:44 +01:00
committed by Vasiliy Tolstov
parent 96d68eeace
commit 502ac83bfe
4 changed files with 65 additions and 6 deletions

View File

@@ -15,6 +15,7 @@ type grpcRequest struct {
contentType string
request interface{}
opts client.RequestOptions
codec codec.Codec
}
func methodToGRPC(method string, request interface{}) string {
@@ -80,7 +81,7 @@ func (g *grpcRequest) Endpoint() string {
}
func (g *grpcRequest) Codec() codec.Writer {
return nil
return g.codec
}
func (g *grpcRequest) Body() interface{} {