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"