remove server codec

This commit is contained in:
Asim Aslam 2019-01-09 09:02:30 +00:00
parent 69119cc622
commit 7a1f735825

View File

@ -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"