remove request/response

This commit is contained in:
Asim Aslam 2019-01-11 14:04:37 +00:00
parent 36788487a7
commit 9897c630ae

View File

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