Versions in this module Expand all Collapse all v4 v4.0.4 Feb 13, 2023 v4.0.3 Oct 11, 2021 Changes in this version + type ByteCodec struct + func (c ByteCodec) Decode(data []byte, i interface{}) error + func (c ByteCodec) Encode(i interface{}) ([]byte, error) + type Codec interface + Decode func(data []byte, i interface{}) error + Encode func(i interface{}) ([]byte, error) + type JSONCodec struct + func (c JSONCodec) Decode(data []byte, i interface{}) error + func (c JSONCodec) Encode(i interface{}) ([]byte, error) + type MsgpackCodec struct + func (c MsgpackCodec) Decode(data []byte, i interface{}) error + func (c MsgpackCodec) Encode(i interface{}) ([]byte, error) + type PBCodec struct + func (c PBCodec) Decode(data []byte, i interface{}) error + func (c PBCodec) Encode(i interface{}) ([]byte, error) Other modules containing this package github.com/werunclub/rpcx