remove server codec
This commit is contained in:
parent
69119cc622
commit
7a1f735825
@ -28,13 +28,6 @@ type readWriteCloser struct {
|
|||||||
rbuf *bytes.Buffer
|
rbuf *bytes.Buffer
|
||||||
}
|
}
|
||||||
|
|
||||||
type serverCodec interface {
|
|
||||||
ReadHeader(*request, bool) error
|
|
||||||
ReadBody(interface{}) error
|
|
||||||
Write(*response, interface{}, bool) error
|
|
||||||
Close() error
|
|
||||||
}
|
|
||||||
|
|
||||||
var (
|
var (
|
||||||
DefaultContentType = "application/protobuf"
|
DefaultContentType = "application/protobuf"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user