Home | History | Annotate | Download | only in rpc

Lines Matching refs:Response

174 // Response is a header written before every RPC return.  It is used internally
177 type Response struct {
181 next *Response // for free list in Server
191 freeResp *Response
347 // A value sent as a placeholder for the server's response value when the server
348 // receives an invalid request. It is never decoded by the client since the Response
354 // Encode the response header
364 log.Println("rpc: writing response:", err)
410 func (c *gobServerCodec) WriteResponse(r *Response, body interface{}) (err error) {
415 log.Println("rpc: gob error encoding response:", err)
470 // send a response if we actually managed to read a header.
491 // send a response if we actually managed to read a header.
522 func (server *Server) getResponse() *Response {
526 resp = new(Response)
529 *resp = Response{}
535 func (server *Server) freeResponse(resp *Response) {
639 // write a response back. The server calls Close when finished with the
646 WriteResponse(*Response, interface{}) error