remove request/response
This commit is contained in:
		| @@ -44,20 +44,6 @@ type readWriteCloser struct { | |||||||
| 	rbuf *bytes.Buffer | 	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 ( | var ( | ||||||
| 	DefaultContentType = "application/protobuf" | 	DefaultContentType = "application/protobuf" | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user