Versions in this module Expand all Collapse all v1 v1.11.0 Dec 6, 2022 Changes in this version + const ISO8601TimeFormat + const RFC822TimeFromat + const UnixTimeFormat + var RandReader = rand.Reader + var UnmarshalDiscardBodyHandler = request.NamedHandler + func CanSetIdempotencyToken(v reflect.Value, f reflect.StructField) bool + func DecodeBool(vp **bool) func(FieldValue) + func DecodeBytes(vp *[]byte) func(FieldValue) + func DecodeFloat64(vp **float64) func(FieldValue) + func DecodeInt64(vp **int64) func(FieldValue) + func DecodeReadCloser(vp *io.ReadCloser) func(FieldValue) + func DecodeReadSeeker(vp *io.ReadSeeker) func(FieldValue) + func DecodeString(vp **string) func(FieldValue) + func DecodeTime(vp **time.Time) func(FieldValue) + func EncodeBoolList(vs []*bool) func(ListEncoder) + func EncodeBoolMap(vs map[string]*bool) func(MapEncoder) + func EncodeFloat64List(vs []*float64) func(ListEncoder) + func EncodeFloat64Map(vs map[string]*float64) func(MapEncoder) + func EncodeInt64List(vs []*int64) func(ListEncoder) + func EncodeInt64Map(vs map[string]*int64) func(MapEncoder) + func EncodeStringList(vs []*string) func(ListEncoder) + func EncodeStringMap(vs map[string]*string) func(MapEncoder) + func EncodeTimeList(vs []*time.Time) func(ListEncoder) + func EncodeTimeMap(vs map[string]*time.Time) func(MapEncoder) + func GetIdempotencyToken() string + func SetIdempotencyToken(v reflect.Value) + func UUIDVersion4(u []byte) string + func UnmarshalDiscardBody(r *request.Request) + type Attribute struct + Meta Metadata + Name string + Value ValueMarshaler + type BoolValue bool + func (v BoolValue) MarshalValue() (string, error) + func (v BoolValue) MarshalValueBuf(b []byte) ([]byte, error) + type BytesStream []byte + func (v BytesStream) MarshalStream() (io.ReadSeeker, error) + type BytesValue string + func (v BytesValue) MarshalValue() (string, error) + func (v BytesValue) MarshalValueBuf(b []byte) ([]byte, error) + type FieldBuffer struct + func (b *FieldBuffer) GetValue(m ValueMarshaler) ([]byte, error) + type FieldDecoder interface + Get func(t Target, k string, fn func(v FieldValue), meta Metadata) + GetFields func(t Target, k string, fn func() FieldUnmarshaler, meta Metadata) + GetList func(t Target, k string, fn func(n int, ld ListDecoder), meta Metadata) + GetMap func(t Target, k string, fn func(ks []string, md MapDecoder), meta Metadata) + type FieldEncoder interface + SetFields func(t Target, k string, m FieldMarshaler, meta Metadata) + SetList func(t Target, k string, fn func(ListEncoder), meta Metadata) + SetMap func(t Target, k string, fn func(MapEncoder), meta Metadata) + SetStream func(t Target, k string, v StreamMarshaler, meta Metadata) + SetValue func(t Target, k string, v ValueMarshaler, meta Metadata) + type FieldMarshaler interface + MarshalFields func(FieldEncoder) error + type FieldUnmarshaler interface + UnmarshalFields func(FieldDecoder) error + type FieldValue interface + type Float64Value float64 + func (v Float64Value) MarshalValue() (string, error) + func (v Float64Value) MarshalValueBuf(b []byte) ([]byte, error) + type HeaderListEncoder struct + Err error + Header http.Header + Key string + func (e *HeaderListEncoder) ListAddFields(m FieldMarshaler) + func (e *HeaderListEncoder) ListAddList(fn func(ListEncoder)) + func (e *HeaderListEncoder) ListAddMap(fn func(MapEncoder)) + func (e *HeaderListEncoder) ListAddValue(v ValueMarshaler) + type HeaderMapEncoder struct + Err error + Header http.Header + Prefix string + func (e *HeaderMapEncoder) MapSetFields(k string, m FieldMarshaler) + func (e *HeaderMapEncoder) MapSetList(k string, fn func(le ListEncoder)) + func (e *HeaderMapEncoder) MapSetMap(k string, fn func(me MapEncoder)) + func (e *HeaderMapEncoder) MapSetValue(k string, v ValueMarshaler) + type Int64Value int64 + func (v Int64Value) MarshalValue() (string, error) + func (v Int64Value) MarshalValueBuf(b []byte) ([]byte, error) + type JSONValue struct + Base64 bool + V aws.JSONValue + func (v JSONValue) MarshalValue() (string, error) + func (v JSONValue) MarshalValueBuf(b []byte) ([]byte, error) + type ListDecoder interface + ListGet func(fn func(v FieldValue)) + ListGetFields func(m FieldUnmarshaler) + ListGetList func(fn func(n int, ld ListDecoder)) + ListGetMap func(fn func(ks []string, md MapDecoder)) + type ListEncoder interface + ListAddFields func(m FieldMarshaler) + ListAddList func(fn func(ListEncoder)) + ListAddMap func(fn func(MapEncoder)) + ListAddValue func(v ValueMarshaler) + type MapDecoder interface + MapGet func(k string, fn func(v FieldValue)) + MapGetFields func(k string, fn func() FieldUnmarshaler) + MapGetList func(k string, fn func(n int, ld ListDecoder)) + MapGetMap func(k string, fn func(ks []string, fd FieldDecoder)) + type MapEncoder interface + MapSetFields func(k string, m FieldMarshaler) + MapSetList func(k string, fn func(ListEncoder)) + MapSetMap func(k string, fn func(MapEncoder)) + MapSetValue func(k string, v ValueMarshaler) + type Metadata struct + Attributes []Attribute + Flatten bool + ListLocationName string + MapLocationNameKey string + MapLocationNameValue string + XMLNamespacePrefix string + XMLNamespaceURI string + type PathReplace struct + func NewPathReplace(path string) PathReplace + func (r *PathReplace) Encode() (path string, rawPath string) + func (r *PathReplace) ReplaceElement(key, val string) (err error) + type QueryListEncoder struct + Err error + Key string + Query url.Values + func (e *QueryListEncoder) ListAddFields(m FieldMarshaler) + func (e *QueryListEncoder) ListAddList(fn func(le ListEncoder)) + func (e *QueryListEncoder) ListAddMap(fn func(fe MapEncoder)) + func (e *QueryListEncoder) ListAddValue(v ValueMarshaler) + type QueryMapEncoder struct + Err error + Prefix string + Query url.Values + func (e *QueryMapEncoder) MapSetFields(k string, m FieldMarshaler) + func (e *QueryMapEncoder) MapSetList(k string, fn func(le ListEncoder)) + func (e *QueryMapEncoder) MapSetMap(k string, fn func(me MapEncoder)) + func (e *QueryMapEncoder) MapSetValue(k string, v ValueMarshaler) + type ReadSeekerStream struct + V io.ReadSeeker + func (v ReadSeekerStream) MarshalStream() (io.ReadSeeker, error) + type StreamMarshaler interface + MarshalStream func() (io.ReadSeeker, error) + type StringStream string + func (v StringStream) MarshalStream() (io.ReadSeeker, error) + type StringValue string + func (v StringValue) MarshalValue() (string, error) + func (v StringValue) MarshalValueBuf(b []byte) ([]byte, error) + type Target int + const BodyTarget + const HeaderTarget + const HeadersTarget + const PathTarget + const PayloadTarget + const QueryTarget + const StatusCodeTarget + func (e Target) String() string + type TimeValue struct + Format string + V time.Time + func (v TimeValue) MarshalValue() (string, error) + func (v TimeValue) MarshalValueBuf(b []byte) ([]byte, error) + type ValueMarshaler interface + MarshalValue func() (string, error) + MarshalValueBuf func([]byte) ([]byte, error)