Versions in this module Expand all Collapse all v1 v1.2.0 Feb 26, 2012 v1.1.0 Feb 10, 2012 Changes in this version + func ReadProto(r ProtoReader, pb interface{}) error + func WriteProto(w io.Writer, pb interface{}) error + type ClientCodec struct + func NewClientCodec(conn net.Conn) *ClientCodec + func (c *ClientCodec) Close() error + func (c *ClientCodec) ReadResponseBody(pb interface{}) error + func (c *ClientCodec) ReadResponseHeader(resp *rpc.Response) error + func (c *ClientCodec) WriteRequest(req *rpc.Request, pb interface{}) error + type ProtoReader interface + type ServerCodec struct + func NewServerCodec(conn net.Conn) *ServerCodec + func (s *ServerCodec) Close() error + func (s *ServerCodec) ReadRequestBody(pb interface{}) error + func (s *ServerCodec) ReadRequestHeader(req *rpc.Request) error + func (s *ServerCodec) WriteResponse(resp *rpc.Response, pb interface{}) error Incompatible versions in this module v2.1.1+incompatible Jan 6, 2013 v2.1.0+incompatible Jan 6, 2013 v2.0.0+incompatible Apr 1, 2012