From 9897c630ae2f326714331ddf8cd7497e83f72a6b Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Fri, 11 Jan 2019 14:04:37 +0000 Subject: [PATCH] remove request/response --- client/rpc_codec.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/client/rpc_codec.go b/client/rpc_codec.go index aaa01569..647d044b 100644 --- a/client/rpc_codec.go +++ b/client/rpc_codec.go @@ -44,20 +44,6 @@ type readWriteCloser struct { rbuf *bytes.Buffer } -type request struct { - Service string - ServiceMethod string // format: "Service.Method" - Seq string // sequence number chosen by client - next *request // for free list in Server -} - -type response struct { - ServiceMethod string // echoes that of the Request - Seq string // echoes that of the request - Error string // error, if any. - next *response // for free list in Server -} - var ( DefaultContentType = "application/protobuf"