Versions in this module Expand all Collapse all v1 v1.2.0 Mar 25, 2019 v1.1.0 Sep 27, 2016 Changes in this version + type Codec struct + func NewCodec() *Codec + func (c *Codec) NewRequest(r *http.Request) rpc.CodecRequest + type CodecRequest struct + func (c *CodecRequest) Method() (string, error) + func (c *CodecRequest) ReadRequest(args interface{}) error + func (c *CodecRequest) WriteError(w http.ResponseWriter, status int, err error) + func (c *CodecRequest) WriteResponse(w http.ResponseWriter, reply interface{})