Versions in this module Expand all Collapse all v4 v4.7.0 Jul 2, 2022 Changes in this version + func NewCodec(conn io.ReadWriteCloser) codec.Codec + type Codec struct + Conn io.ReadWriteCloser + SegDecoder *segjson.Decoder + SegEncoder *segjson.Encoder + StdDecoder *stdjson.Decoder + 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 Marshaler struct + func (j Marshaler) Marshal(v interface{}) ([]byte, error) + func (j Marshaler) String() string + func (j Marshaler) Unmarshal(d []byte, v interface{}) error Other modules containing this package github.com/asim/go-micro/plugins/codec/segmentio/v3