Versions in this module Expand all Collapse all v1 v1.42.9 Aug 3, 2023 v1.42.6 Nov 15, 2021 Changes in this version + func DecodeWithLogger(logger aws.Logger) func(*Decoder) + func EncodeHeaders(w io.Writer, headers Headers) error + func EncodeWithLogger(logger aws.Logger) func(*Encoder) + type BoolValue bool + func (v BoolValue) Get() interface{} + func (v BoolValue) String() string + type BytesValue []byte + func (v BytesValue) Get() interface{} + func (v BytesValue) String() string + type ChecksumError struct + func (e ChecksumError) Error() string + type Decoder struct + func NewDecoder(r io.Reader, opts ...func(*Decoder)) *Decoder + func (d *Decoder) Decode(payloadBuf []byte) (m Message, err error) + type Encoder struct + func NewEncoder(w io.Writer, opts ...func(*Encoder)) *Encoder + func (e *Encoder) Encode(msg Message) (err error) + type Header struct + Name string + Value Value + type Headers []Header + func (hs *Headers) Del(name string) + func (hs *Headers) Set(name string, value Value) + func (hs Headers) Clone() Headers + func (hs Headers) Get(name string) Value + type Int16Value int16 + func (v Int16Value) Get() interface{} + func (v Int16Value) String() string + type Int32Value int32 + func (v Int32Value) Get() interface{} + func (v Int32Value) String() string + type Int64Value int64 + func (v Int64Value) Get() interface{} + func (v Int64Value) String() string + type Int8Value int8 + func (v Int8Value) Get() interface{} + func (v Int8Value) String() string + type LengthError struct + Have int + Part string + Value interface{} + Want int + func (e LengthError) Error() string + type Message struct + Headers Headers + Payload []byte + func Decode(reader io.Reader, payloadBuf []byte) (m Message, err error) + func (m Message) Clone() Message + type StringValue string + func (v StringValue) Get() interface{} + func (v StringValue) String() string + type TimestampValue time.Time + func (v TimestampValue) Get() interface{} + func (v TimestampValue) MarshalJSON() ([]byte, error) + func (v TimestampValue) String() string + type UUIDValue [16]byte + func (v UUIDValue) Get() interface{} + func (v UUIDValue) String() string + type Value interface + Get func() interface{} + String func() string