Versions in this module Expand all Collapse all v3 v3.13.1 Sep 21, 2022 Changes in this version + var MaxMessageSize = 1024 * 1024 * 4 + func NewCodec(c io.ReadWriteCloser) codec.Codec + type Codec struct + Conn io.ReadWriteCloser + ContentType string + func (c *Codec) Close() error + func (c *Codec) ReadBody(b interface{}) error + func (c *Codec) ReadHeader(m *codec.Message, t codec.MessageType) error + func (c *Codec) String() string + func (c *Codec) Write(m *codec.Message, b interface{}) error