From 7a1f7358258f548624b40b2ac11add368d6de534 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Wed, 9 Jan 2019 09:02:30 +0000 Subject: [PATCH] remove server codec --- server/rpc_codec.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/server/rpc_codec.go b/server/rpc_codec.go index a4392445..8cf209dd 100644 --- a/server/rpc_codec.go +++ b/server/rpc_codec.go @@ -28,13 +28,6 @@ type readWriteCloser struct { rbuf *bytes.Buffer } -type serverCodec interface { - ReadHeader(*request, bool) error - ReadBody(interface{}) error - Write(*response, interface{}, bool) error - Close() error -} - var ( DefaultContentType = "application/protobuf"