Home | History | Annotate | Download | only in rpc

Lines Matching refs:Response

178 // Response is a header written before every RPC return. It is used internally
181 type Response struct {
185 next *Response // for free list in Server
195 freeResp *Response
351 // A value sent as a placeholder for the server's response value when the server
352 // receives an invalid request. It is never decoded by the client since the Response
358 // Encode the response header
368 log.Println("rpc: writing response:", err)
414 func (c *gobServerCodec) WriteResponse(r *Response, body interface{}) (err error) {
419 log.Println("rpc: gob error encoding response:", err)
474 // send a response if we actually managed to read a header.
495 // send a response if we actually managed to read a header.
526 func (server *Server) getResponse() *Response {
530 resp = new(Response)
533 *resp = Response{}
539 func (server *Server) freeResponse(resp *Response) {
645 // write a response back. The server calls Close when finished with the
652 WriteResponse(*Response, interface{}) error