Versions in this module Expand all Collapse all v3 v3.5.1 Mar 27, 2021 Changes in this version + func NewCodec(c io.ReadWriteCloser) codec.Codec + type Codec struct + Conn io.ReadWriteCloser + 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 + type Frame struct + Data []byte + type Marshaler struct + func (n Marshaler) Marshal(v interface{}) ([]byte, error) + func (n Marshaler) String() string + func (n Marshaler) Unmarshal(d []byte, v interface{}) error + type Message struct + Body []byte + Header map[string]string Other modules containing this package github.com/blackdreamers/go-micro