Documentation ¶
Overview ¶
Code generated by "go run -tags tools ./internal/cmd/dummy_visitor"; DO NOT EDIT.
Code generated by "go run -tags tools ./internal/cmd/integer_visitor"; DO NOT EDIT.
Index ¶
- Constants
- type BoolIntSerializer
- type BoolVisitor
- func (vi BoolVisitor) String() string
- func (vi BoolVisitor) VisitBool(v bool) (err error)
- func (vi BoolVisitor) VisitBytes(v []byte) (err error)
- func (vi BoolVisitor) VisitComplex128(v complex128) (err error)
- func (vi BoolVisitor) VisitComplex64(v complex64) (err error)
- func (vi BoolVisitor) VisitFloat32(v float32) (err error)
- func (vi BoolVisitor) VisitFloat64(v float64) (err error)
- func (vi BoolVisitor) VisitInt(v int) (err error)
- func (vi BoolVisitor) VisitInt16(v int16) (err error)
- func (vi BoolVisitor) VisitInt32(v int32) (err error)
- func (vi BoolVisitor) VisitInt64(v int64) (err error)
- func (vi BoolVisitor) VisitInt8(v int8) (err error)
- func (vi BoolVisitor) VisitMap(m MapAccess) (err error)
- func (vi BoolVisitor) VisitNil() (err error)
- func (vi BoolVisitor) VisitSlice(s SliceAccess) (err error)
- func (vi BoolVisitor) VisitString(v string) (err error)
- func (vi BoolVisitor) VisitUint(v uint) (err error)
- func (vi BoolVisitor) VisitUint16(v uint16) (err error)
- func (vi BoolVisitor) VisitUint32(v uint32) (err error)
- func (vi BoolVisitor) VisitUint64(v uint64) (err error)
- func (vi BoolVisitor) VisitUint8(v uint8) (err error)
- type ByteSerializer
- type ByteVisitor
- func (vi ByteVisitor) String() string
- func (vi ByteVisitor) VisitBool(v bool) (err error)
- func (vi ByteVisitor) VisitByte(v byte) (err error)
- func (vi ByteVisitor) VisitBytes(v []byte) (err error)
- func (vi ByteVisitor) VisitComplex128(v complex128) (err error)
- func (vi ByteVisitor) VisitComplex64(v complex64) (err error)
- func (vi ByteVisitor) VisitFloat32(v float32) (err error)
- func (vi ByteVisitor) VisitFloat64(v float64) (err error)
- func (vi ByteVisitor) VisitInt(v int) (err error)
- func (vi ByteVisitor) VisitInt16(v int16) (err error)
- func (vi ByteVisitor) VisitInt32(v int32) (err error)
- func (vi ByteVisitor) VisitInt64(v int64) (err error)
- func (vi ByteVisitor) VisitInt8(v int8) (err error)
- func (vi ByteVisitor) VisitMap(m MapAccess) (err error)
- func (vi ByteVisitor) VisitNil() (err error)
- func (vi ByteVisitor) VisitSlice(s SliceAccess) (err error)
- func (vi ByteVisitor) VisitString(v string) (err error)
- func (vi ByteVisitor) VisitUint(v uint) (err error)
- func (vi ByteVisitor) VisitUint16(v uint16) (err error)
- func (vi ByteVisitor) VisitUint32(v uint32) (err error)
- func (vi ByteVisitor) VisitUint64(v uint64) (err error)
- func (vi ByteVisitor) VisitUint8(v uint8) (err error)
- type BytesSerializer
- type BytesVisitor
- func (vi BytesVisitor) String() string
- func (vi BytesVisitor) VisitBool(v bool) (err error)
- func (vi BytesVisitor) VisitBytes(v []byte) (err error)
- func (vi BytesVisitor) VisitComplex128(v complex128) (err error)
- func (vi BytesVisitor) VisitComplex64(v complex64) (err error)
- func (vi BytesVisitor) VisitFloat32(v float32) (err error)
- func (vi BytesVisitor) VisitFloat64(v float64) (err error)
- func (vi BytesVisitor) VisitInt(v int) (err error)
- func (vi BytesVisitor) VisitInt16(v int16) (err error)
- func (vi BytesVisitor) VisitInt32(v int32) (err error)
- func (vi BytesVisitor) VisitInt64(v int64) (err error)
- func (vi BytesVisitor) VisitInt8(v int8) (err error)
- func (vi BytesVisitor) VisitMap(m MapAccess) (err error)
- func (vi BytesVisitor) VisitNil() (err error)
- func (vi BytesVisitor) VisitSlice(s SliceAccess) (err error)
- func (vi BytesVisitor) VisitString(v string) (err error)
- func (vi BytesVisitor) VisitUint(v uint) (err error)
- func (vi BytesVisitor) VisitUint16(v uint16) (err error)
- func (vi BytesVisitor) VisitUint32(v uint32) (err error)
- func (vi BytesVisitor) VisitUint64(v uint64) (err error)
- func (vi BytesVisitor) VisitUint8(v uint8) (err error)
- type Complex128Serializer
- type Complex128Visitor
- func (vi Complex128Visitor) String() string
- func (vi Complex128Visitor) VisitBool(v bool) (err error)
- func (vi Complex128Visitor) VisitBytes(v []byte) (err error)
- func (vi Complex128Visitor) VisitComplex128(v complex128) (err error)
- func (vi Complex128Visitor) VisitComplex64(v complex64) (err error)
- func (vi Complex128Visitor) VisitFloat32(v float32) (err error)
- func (vi Complex128Visitor) VisitFloat64(v float64) (err error)
- func (vi Complex128Visitor) VisitInt(v int) (err error)
- func (vi Complex128Visitor) VisitInt16(v int16) (err error)
- func (vi Complex128Visitor) VisitInt32(v int32) (err error)
- func (vi Complex128Visitor) VisitInt64(v int64) (err error)
- func (vi Complex128Visitor) VisitInt8(v int8) (err error)
- func (vi Complex128Visitor) VisitMap(m MapAccess) (err error)
- func (vi Complex128Visitor) VisitNil() (err error)
- func (vi Complex128Visitor) VisitSlice(s SliceAccess) (err error)
- func (vi Complex128Visitor) VisitString(v string) (err error)
- func (vi Complex128Visitor) VisitUint(v uint) (err error)
- func (vi Complex128Visitor) VisitUint16(v uint16) (err error)
- func (vi Complex128Visitor) VisitUint32(v uint32) (err error)
- func (vi Complex128Visitor) VisitUint64(v uint64) (err error)
- func (vi Complex128Visitor) VisitUint8(v uint8) (err error)
- type Complex64Serializer
- type Complex64Visitor
- func (vi Complex64Visitor) String() string
- func (vi Complex64Visitor) VisitBool(v bool) (err error)
- func (vi Complex64Visitor) VisitBytes(v []byte) (err error)
- func (vi Complex64Visitor) VisitComplex128(v complex128) (err error)
- func (vi Complex64Visitor) VisitComplex64(v complex64) (err error)
- func (vi Complex64Visitor) VisitFloat32(v float32) (err error)
- func (vi Complex64Visitor) VisitFloat64(v float64) (err error)
- func (vi Complex64Visitor) VisitInt(v int) (err error)
- func (vi Complex64Visitor) VisitInt16(v int16) (err error)
- func (vi Complex64Visitor) VisitInt32(v int32) (err error)
- func (vi Complex64Visitor) VisitInt64(v int64) (err error)
- func (vi Complex64Visitor) VisitInt8(v int8) (err error)
- func (vi Complex64Visitor) VisitMap(m MapAccess) (err error)
- func (vi Complex64Visitor) VisitNil() (err error)
- func (vi Complex64Visitor) VisitSlice(s SliceAccess) (err error)
- func (vi Complex64Visitor) VisitString(v string) (err error)
- func (vi Complex64Visitor) VisitUint(v uint) (err error)
- func (vi Complex64Visitor) VisitUint16(v uint16) (err error)
- func (vi Complex64Visitor) VisitUint32(v uint32) (err error)
- func (vi Complex64Visitor) VisitUint64(v uint64) (err error)
- func (vi Complex64Visitor) VisitUint8(v uint8) (err error)
- type Deserializable
- type Deserializer
- type DummyVisitor
- func (vi DummyVisitor) String() string
- func (vi DummyVisitor) VisitBool(v bool) (err error)
- func (vi DummyVisitor) VisitBytes(v []byte) (err error)
- func (vi DummyVisitor) VisitComplex128(v complex128) (err error)
- func (vi DummyVisitor) VisitComplex64(v complex64) (err error)
- func (vi DummyVisitor) VisitFloat32(v float32) (err error)
- func (vi DummyVisitor) VisitFloat64(v float64) (err error)
- func (vi DummyVisitor) VisitInt(v int) (err error)
- func (vi DummyVisitor) VisitInt16(v int16) (err error)
- func (vi DummyVisitor) VisitInt32(v int32) (err error)
- func (vi DummyVisitor) VisitInt64(v int64) (err error)
- func (vi DummyVisitor) VisitInt8(v int8) (err error)
- func (vi DummyVisitor) VisitMap(m MapAccess) (err error)
- func (vi DummyVisitor) VisitNil() (err error)
- func (vi DummyVisitor) VisitSlice(s SliceAccess) (err error)
- func (vi DummyVisitor) VisitString(v string) (err error)
- func (vi DummyVisitor) VisitUint(v uint) (err error)
- func (vi DummyVisitor) VisitUint16(v uint16) (err error)
- func (vi DummyVisitor) VisitUint32(v uint32) (err error)
- func (vi DummyVisitor) VisitUint64(v uint64) (err error)
- func (vi DummyVisitor) VisitUint8(v uint8) (err error)
- type ErrDuplicateField
- type ErrInvalidLength
- type ErrInvalidType
- type ErrInvalidValue
- type ErrMissingField
- type ErrUnknownField
- type Float32Serializer
- type Float32Visitor
- func (vi Float32Visitor) String() string
- func (vi Float32Visitor) VisitBool(v bool) (err error)
- func (vi Float32Visitor) VisitBytes(v []byte) (err error)
- func (vi Float32Visitor) VisitComplex128(v complex128) (err error)
- func (vi Float32Visitor) VisitComplex64(v complex64) (err error)
- func (vi Float32Visitor) VisitFloat32(v float32) (err error)
- func (vi Float32Visitor) VisitFloat64(v float64) (err error)
- func (vi Float32Visitor) VisitInt(v int) (err error)
- func (vi Float32Visitor) VisitInt16(v int16) (err error)
- func (vi Float32Visitor) VisitInt32(v int32) (err error)
- func (vi Float32Visitor) VisitInt64(v int64) (err error)
- func (vi Float32Visitor) VisitInt8(v int8) (err error)
- func (vi Float32Visitor) VisitMap(m MapAccess) (err error)
- func (vi Float32Visitor) VisitNil() (err error)
- func (vi Float32Visitor) VisitSlice(s SliceAccess) (err error)
- func (vi Float32Visitor) VisitString(v string) (err error)
- func (vi Float32Visitor) VisitUint(v uint) (err error)
- func (vi Float32Visitor) VisitUint16(v uint16) (err error)
- func (vi Float32Visitor) VisitUint32(v uint32) (err error)
- func (vi Float32Visitor) VisitUint64(v uint64) (err error)
- func (vi Float32Visitor) VisitUint8(v uint8) (err error)
- type Float64Serializer
- type Float64Visitor
- func (vi Float64Visitor) String() string
- func (vi Float64Visitor) VisitBool(v bool) (err error)
- func (vi Float64Visitor) VisitBytes(v []byte) (err error)
- func (vi Float64Visitor) VisitComplex128(v complex128) (err error)
- func (vi Float64Visitor) VisitComplex64(v complex64) (err error)
- func (vi Float64Visitor) VisitFloat32(v float32) (err error)
- func (vi Float64Visitor) VisitFloat64(v float64) (err error)
- func (vi Float64Visitor) VisitInt(v int) (err error)
- func (vi Float64Visitor) VisitInt16(v int16) (err error)
- func (vi Float64Visitor) VisitInt32(v int32) (err error)
- func (vi Float64Visitor) VisitInt64(v int64) (err error)
- func (vi Float64Visitor) VisitInt8(v int8) (err error)
- func (vi Float64Visitor) VisitMap(m MapAccess) (err error)
- func (vi Float64Visitor) VisitNil() (err error)
- func (vi Float64Visitor) VisitSlice(s SliceAccess) (err error)
- func (vi Float64Visitor) VisitString(v string) (err error)
- func (vi Float64Visitor) VisitUint(v uint) (err error)
- func (vi Float64Visitor) VisitUint16(v uint16) (err error)
- func (vi Float64Visitor) VisitUint32(v uint32) (err error)
- func (vi Float64Visitor) VisitUint64(v uint64) (err error)
- func (vi Float64Visitor) VisitUint8(v uint8) (err error)
- type Int16Serializer
- type Int16Visitor
- func (vi Int16Visitor) String() string
- func (vi Int16Visitor) VisitBool(v bool) (err error)
- func (vi Int16Visitor) VisitBytes(v []byte) (err error)
- func (vi Int16Visitor) VisitComplex128(v complex128) (err error)
- func (vi Int16Visitor) VisitComplex64(v complex64) (err error)
- func (vi Int16Visitor) VisitFloat32(v float32) (err error)
- func (vi Int16Visitor) VisitFloat64(v float64) (err error)
- func (vi Int16Visitor) VisitInt(v int) (err error)
- func (vi Int16Visitor) VisitInt16(v int16) (err error)
- func (vi Int16Visitor) VisitInt32(v int32) (err error)
- func (vi Int16Visitor) VisitInt64(v int64) (err error)
- func (vi Int16Visitor) VisitInt8(v int8) (err error)
- func (vi Int16Visitor) VisitMap(m MapAccess) (err error)
- func (vi Int16Visitor) VisitNil() (err error)
- func (vi Int16Visitor) VisitSlice(s SliceAccess) (err error)
- func (vi Int16Visitor) VisitString(v string) (err error)
- func (vi Int16Visitor) VisitUint(v uint) (err error)
- func (vi Int16Visitor) VisitUint16(v uint16) (err error)
- func (vi Int16Visitor) VisitUint32(v uint32) (err error)
- func (vi Int16Visitor) VisitUint64(v uint64) (err error)
- func (vi Int16Visitor) VisitUint8(v uint8) (err error)
- type Int32Serializer
- type Int32Visitor
- func (vi Int32Visitor) String() string
- func (vi Int32Visitor) VisitBool(v bool) (err error)
- func (vi Int32Visitor) VisitBytes(v []byte) (err error)
- func (vi Int32Visitor) VisitComplex128(v complex128) (err error)
- func (vi Int32Visitor) VisitComplex64(v complex64) (err error)
- func (vi Int32Visitor) VisitFloat32(v float32) (err error)
- func (vi Int32Visitor) VisitFloat64(v float64) (err error)
- func (vi Int32Visitor) VisitInt(v int) (err error)
- func (vi Int32Visitor) VisitInt16(v int16) (err error)
- func (vi Int32Visitor) VisitInt32(v int32) (err error)
- func (vi Int32Visitor) VisitInt64(v int64) (err error)
- func (vi Int32Visitor) VisitInt8(v int8) (err error)
- func (vi Int32Visitor) VisitMap(m MapAccess) (err error)
- func (vi Int32Visitor) VisitNil() (err error)
- func (vi Int32Visitor) VisitSlice(s SliceAccess) (err error)
- func (vi Int32Visitor) VisitString(v string) (err error)
- func (vi Int32Visitor) VisitUint(v uint) (err error)
- func (vi Int32Visitor) VisitUint16(v uint16) (err error)
- func (vi Int32Visitor) VisitUint32(v uint32) (err error)
- func (vi Int32Visitor) VisitUint64(v uint64) (err error)
- func (vi Int32Visitor) VisitUint8(v uint8) (err error)
- type Int64Serializer
- type Int64Visitor
- func (vi Int64Visitor) String() string
- func (vi Int64Visitor) VisitBool(v bool) (err error)
- func (vi Int64Visitor) VisitBytes(v []byte) (err error)
- func (vi Int64Visitor) VisitComplex128(v complex128) (err error)
- func (vi Int64Visitor) VisitComplex64(v complex64) (err error)
- func (vi Int64Visitor) VisitFloat32(v float32) (err error)
- func (vi Int64Visitor) VisitFloat64(v float64) (err error)
- func (vi Int64Visitor) VisitInt(v int) (err error)
- func (vi Int64Visitor) VisitInt16(v int16) (err error)
- func (vi Int64Visitor) VisitInt32(v int32) (err error)
- func (vi Int64Visitor) VisitInt64(v int64) (err error)
- func (vi Int64Visitor) VisitInt8(v int8) (err error)
- func (vi Int64Visitor) VisitMap(m MapAccess) (err error)
- func (vi Int64Visitor) VisitNil() (err error)
- func (vi Int64Visitor) VisitSlice(s SliceAccess) (err error)
- func (vi Int64Visitor) VisitString(v string) (err error)
- func (vi Int64Visitor) VisitUint(v uint) (err error)
- func (vi Int64Visitor) VisitUint16(v uint16) (err error)
- func (vi Int64Visitor) VisitUint32(v uint32) (err error)
- func (vi Int64Visitor) VisitUint64(v uint64) (err error)
- func (vi Int64Visitor) VisitUint8(v uint8) (err error)
- type Int8Serializer
- type Int8Visitor
- func (vi Int8Visitor) String() string
- func (vi Int8Visitor) VisitBool(v bool) (err error)
- func (vi Int8Visitor) VisitBytes(v []byte) (err error)
- func (vi Int8Visitor) VisitComplex128(v complex128) (err error)
- func (vi Int8Visitor) VisitComplex64(v complex64) (err error)
- func (vi Int8Visitor) VisitFloat32(v float32) (err error)
- func (vi Int8Visitor) VisitFloat64(v float64) (err error)
- func (vi Int8Visitor) VisitInt(v int) (err error)
- func (vi Int8Visitor) VisitInt16(v int16) (err error)
- func (vi Int8Visitor) VisitInt32(v int32) (err error)
- func (vi Int8Visitor) VisitInt64(v int64) (err error)
- func (vi Int8Visitor) VisitInt8(v int8) (err error)
- func (vi Int8Visitor) VisitMap(m MapAccess) (err error)
- func (vi Int8Visitor) VisitNil() (err error)
- func (vi Int8Visitor) VisitSlice(s SliceAccess) (err error)
- func (vi Int8Visitor) VisitString(v string) (err error)
- func (vi Int8Visitor) VisitUint(v uint) (err error)
- func (vi Int8Visitor) VisitUint16(v uint16) (err error)
- func (vi Int8Visitor) VisitUint32(v uint32) (err error)
- func (vi Int8Visitor) VisitUint64(v uint64) (err error)
- func (vi Int8Visitor) VisitUint8(v uint8) (err error)
- type IntSerializer
- type IntVisitor
- func (vi IntVisitor) String() string
- func (vi IntVisitor) VisitBool(v bool) (err error)
- func (vi IntVisitor) VisitBytes(v []byte) (err error)
- func (vi IntVisitor) VisitComplex128(v complex128) (err error)
- func (vi IntVisitor) VisitComplex64(v complex64) (err error)
- func (vi IntVisitor) VisitFloat32(v float32) (err error)
- func (vi IntVisitor) VisitFloat64(v float64) (err error)
- func (vi IntVisitor) VisitInt(v int) (err error)
- func (vi IntVisitor) VisitInt16(v int16) (err error)
- func (vi IntVisitor) VisitInt32(v int32) (err error)
- func (vi IntVisitor) VisitInt64(v int64) (err error)
- func (vi IntVisitor) VisitInt8(v int8) (err error)
- func (vi IntVisitor) VisitMap(m MapAccess) (err error)
- func (vi IntVisitor) VisitNil() (err error)
- func (vi IntVisitor) VisitSlice(s SliceAccess) (err error)
- func (vi IntVisitor) VisitString(v string) (err error)
- func (vi IntVisitor) VisitUint(v uint) (err error)
- func (vi IntVisitor) VisitUint16(v uint16) (err error)
- func (vi IntVisitor) VisitUint32(v uint32) (err error)
- func (vi IntVisitor) VisitUint64(v uint64) (err error)
- func (vi IntVisitor) VisitUint8(v uint8) (err error)
- type MapAccess
- type MapSerializer
- type NilSerializer
- type RuneSerializer
- type RuneVisitor
- func (vi RuneVisitor) String() string
- func (vi RuneVisitor) VisitBool(v bool) (err error)
- func (vi RuneVisitor) VisitBytes(v []byte) (err error)
- func (vi RuneVisitor) VisitComplex128(v complex128) (err error)
- func (vi RuneVisitor) VisitComplex64(v complex64) (err error)
- func (vi RuneVisitor) VisitFloat32(v float32) (err error)
- func (vi RuneVisitor) VisitFloat64(v float64) (err error)
- func (vi RuneVisitor) VisitInt(v int) (err error)
- func (vi RuneVisitor) VisitInt16(v int16) (err error)
- func (vi RuneVisitor) VisitInt32(v int32) (err error)
- func (vi RuneVisitor) VisitInt64(v int64) (err error)
- func (vi RuneVisitor) VisitInt8(v int8) (err error)
- func (vi RuneVisitor) VisitMap(m MapAccess) (err error)
- func (vi RuneVisitor) VisitNil() (err error)
- func (vi RuneVisitor) VisitRune(v rune) (err error)
- func (vi RuneVisitor) VisitSlice(s SliceAccess) (err error)
- func (vi RuneVisitor) VisitString(v string) (err error)
- func (vi RuneVisitor) VisitUint(v uint) (err error)
- func (vi RuneVisitor) VisitUint16(v uint16) (err error)
- func (vi RuneVisitor) VisitUint32(v uint32) (err error)
- func (vi RuneVisitor) VisitUint64(v uint64) (err error)
- func (vi RuneVisitor) VisitUint8(v uint8) (err error)
- type Serializable
- type Serializer
- type SkipVisitor
- func (vi SkipVisitor) String() string
- func (s SkipVisitor) VisitBool(v bool) (err error)
- func (s SkipVisitor) VisitBytes(v []byte) (err error)
- func (s SkipVisitor) VisitComplex128(v complex128) (err error)
- func (s SkipVisitor) VisitComplex64(v complex64) (err error)
- func (s SkipVisitor) VisitFloat32(v float32) (err error)
- func (s SkipVisitor) VisitFloat64(v float64) (err error)
- func (s SkipVisitor) VisitInt(v int) (err error)
- func (s SkipVisitor) VisitInt16(v int16) (err error)
- func (s SkipVisitor) VisitInt32(v int32) (err error)
- func (s SkipVisitor) VisitInt64(v int64) (err error)
- func (s SkipVisitor) VisitInt8(v int8) (err error)
- func (s SkipVisitor) VisitMap(m MapAccess) (err error)
- func (s SkipVisitor) VisitNil() (err error)
- func (s SkipVisitor) VisitSlice(sa SliceAccess) (err error)
- func (s SkipVisitor) VisitString(v string) (err error)
- func (s SkipVisitor) VisitUint(v uint) (err error)
- func (s SkipVisitor) VisitUint16(v uint16) (err error)
- func (s SkipVisitor) VisitUint32(v uint32) (err error)
- func (s SkipVisitor) VisitUint64(v uint64) (err error)
- func (s SkipVisitor) VisitUint8(v uint8) (err error)
- type SliceAccess
- type SliceSerializer
- type StringSerializer
- type StringVisitor
- func (vi StringVisitor) String() string
- func (vi StringVisitor) VisitBool(v bool) (err error)
- func (vi StringVisitor) VisitBytes(v []byte) (err error)
- func (vi StringVisitor) VisitComplex128(v complex128) (err error)
- func (vi StringVisitor) VisitComplex64(v complex64) (err error)
- func (vi StringVisitor) VisitFloat32(v float32) (err error)
- func (vi StringVisitor) VisitFloat64(v float64) (err error)
- func (vi StringVisitor) VisitInt(v int) (err error)
- func (vi StringVisitor) VisitInt16(v int16) (err error)
- func (vi StringVisitor) VisitInt32(v int32) (err error)
- func (vi StringVisitor) VisitInt64(v int64) (err error)
- func (vi StringVisitor) VisitInt8(v int8) (err error)
- func (vi StringVisitor) VisitMap(m MapAccess) (err error)
- func (vi StringVisitor) VisitNil() (err error)
- func (vi StringVisitor) VisitSlice(s SliceAccess) (err error)
- func (vi StringVisitor) VisitString(v string) (err error)
- func (vi StringVisitor) VisitUint(v uint) (err error)
- func (vi StringVisitor) VisitUint16(v uint16) (err error)
- func (vi StringVisitor) VisitUint32(v uint32) (err error)
- func (vi StringVisitor) VisitUint64(v uint64) (err error)
- func (vi StringVisitor) VisitUint8(v uint8) (err error)
- type StructSerializer
- type Uint16Serializer
- type Uint16Visitor
- func (vi Uint16Visitor) String() string
- func (vi Uint16Visitor) VisitBool(v bool) (err error)
- func (vi Uint16Visitor) VisitBytes(v []byte) (err error)
- func (vi Uint16Visitor) VisitComplex128(v complex128) (err error)
- func (vi Uint16Visitor) VisitComplex64(v complex64) (err error)
- func (vi Uint16Visitor) VisitFloat32(v float32) (err error)
- func (vi Uint16Visitor) VisitFloat64(v float64) (err error)
- func (vi Uint16Visitor) VisitInt(v int) (err error)
- func (vi Uint16Visitor) VisitInt16(v int16) (err error)
- func (vi Uint16Visitor) VisitInt32(v int32) (err error)
- func (vi Uint16Visitor) VisitInt64(v int64) (err error)
- func (vi Uint16Visitor) VisitInt8(v int8) (err error)
- func (vi Uint16Visitor) VisitMap(m MapAccess) (err error)
- func (vi Uint16Visitor) VisitNil() (err error)
- func (vi Uint16Visitor) VisitSlice(s SliceAccess) (err error)
- func (vi Uint16Visitor) VisitString(v string) (err error)
- func (vi Uint16Visitor) VisitUint(v uint) (err error)
- func (vi Uint16Visitor) VisitUint16(v uint16) (err error)
- func (vi Uint16Visitor) VisitUint32(v uint32) (err error)
- func (vi Uint16Visitor) VisitUint64(v uint64) (err error)
- func (vi Uint16Visitor) VisitUint8(v uint8) (err error)
- type Uint32Serializer
- type Uint32Visitor
- func (vi Uint32Visitor) String() string
- func (vi Uint32Visitor) VisitBool(v bool) (err error)
- func (vi Uint32Visitor) VisitBytes(v []byte) (err error)
- func (vi Uint32Visitor) VisitComplex128(v complex128) (err error)
- func (vi Uint32Visitor) VisitComplex64(v complex64) (err error)
- func (vi Uint32Visitor) VisitFloat32(v float32) (err error)
- func (vi Uint32Visitor) VisitFloat64(v float64) (err error)
- func (vi Uint32Visitor) VisitInt(v int) (err error)
- func (vi Uint32Visitor) VisitInt16(v int16) (err error)
- func (vi Uint32Visitor) VisitInt32(v int32) (err error)
- func (vi Uint32Visitor) VisitInt64(v int64) (err error)
- func (vi Uint32Visitor) VisitInt8(v int8) (err error)
- func (vi Uint32Visitor) VisitMap(m MapAccess) (err error)
- func (vi Uint32Visitor) VisitNil() (err error)
- func (vi Uint32Visitor) VisitSlice(s SliceAccess) (err error)
- func (vi Uint32Visitor) VisitString(v string) (err error)
- func (vi Uint32Visitor) VisitUint(v uint) (err error)
- func (vi Uint32Visitor) VisitUint16(v uint16) (err error)
- func (vi Uint32Visitor) VisitUint32(v uint32) (err error)
- func (vi Uint32Visitor) VisitUint64(v uint64) (err error)
- func (vi Uint32Visitor) VisitUint8(v uint8) (err error)
- type Uint64Serializer
- type Uint64Visitor
- func (vi Uint64Visitor) String() string
- func (vi Uint64Visitor) VisitBool(v bool) (err error)
- func (vi Uint64Visitor) VisitBytes(v []byte) (err error)
- func (vi Uint64Visitor) VisitComplex128(v complex128) (err error)
- func (vi Uint64Visitor) VisitComplex64(v complex64) (err error)
- func (vi Uint64Visitor) VisitFloat32(v float32) (err error)
- func (vi Uint64Visitor) VisitFloat64(v float64) (err error)
- func (vi Uint64Visitor) VisitInt(v int) (err error)
- func (vi Uint64Visitor) VisitInt16(v int16) (err error)
- func (vi Uint64Visitor) VisitInt32(v int32) (err error)
- func (vi Uint64Visitor) VisitInt64(v int64) (err error)
- func (vi Uint64Visitor) VisitInt8(v int8) (err error)
- func (vi Uint64Visitor) VisitMap(m MapAccess) (err error)
- func (vi Uint64Visitor) VisitNil() (err error)
- func (vi Uint64Visitor) VisitSlice(s SliceAccess) (err error)
- func (vi Uint64Visitor) VisitString(v string) (err error)
- func (vi Uint64Visitor) VisitUint(v uint) (err error)
- func (vi Uint64Visitor) VisitUint16(v uint16) (err error)
- func (vi Uint64Visitor) VisitUint32(v uint32) (err error)
- func (vi Uint64Visitor) VisitUint64(v uint64) (err error)
- func (vi Uint64Visitor) VisitUint8(v uint8) (err error)
- type Uint8Serializer
- type Uint8Visitor
- func (vi Uint8Visitor) String() string
- func (vi Uint8Visitor) VisitBool(v bool) (err error)
- func (vi Uint8Visitor) VisitBytes(v []byte) (err error)
- func (vi Uint8Visitor) VisitComplex128(v complex128) (err error)
- func (vi Uint8Visitor) VisitComplex64(v complex64) (err error)
- func (vi Uint8Visitor) VisitFloat32(v float32) (err error)
- func (vi Uint8Visitor) VisitFloat64(v float64) (err error)
- func (vi Uint8Visitor) VisitInt(v int) (err error)
- func (vi Uint8Visitor) VisitInt16(v int16) (err error)
- func (vi Uint8Visitor) VisitInt32(v int32) (err error)
- func (vi Uint8Visitor) VisitInt64(v int64) (err error)
- func (vi Uint8Visitor) VisitInt8(v int8) (err error)
- func (vi Uint8Visitor) VisitMap(m MapAccess) (err error)
- func (vi Uint8Visitor) VisitNil() (err error)
- func (vi Uint8Visitor) VisitSlice(s SliceAccess) (err error)
- func (vi Uint8Visitor) VisitString(v string) (err error)
- func (vi Uint8Visitor) VisitUint(v uint) (err error)
- func (vi Uint8Visitor) VisitUint16(v uint16) (err error)
- func (vi Uint8Visitor) VisitUint32(v uint32) (err error)
- func (vi Uint8Visitor) VisitUint64(v uint64) (err error)
- func (vi Uint8Visitor) VisitUint8(v uint8) (err error)
- type UintSerializer
- type UintVisitor
- func (vi UintVisitor) String() string
- func (vi UintVisitor) VisitBool(v bool) (err error)
- func (vi UintVisitor) VisitBytes(v []byte) (err error)
- func (vi UintVisitor) VisitComplex128(v complex128) (err error)
- func (vi UintVisitor) VisitComplex64(v complex64) (err error)
- func (vi UintVisitor) VisitFloat32(v float32) (err error)
- func (vi UintVisitor) VisitFloat64(v float64) (err error)
- func (vi UintVisitor) VisitInt(v int) (err error)
- func (vi UintVisitor) VisitInt16(v int16) (err error)
- func (vi UintVisitor) VisitInt32(v int32) (err error)
- func (vi UintVisitor) VisitInt64(v int64) (err error)
- func (vi UintVisitor) VisitInt8(v int8) (err error)
- func (vi UintVisitor) VisitMap(m MapAccess) (err error)
- func (vi UintVisitor) VisitNil() (err error)
- func (vi UintVisitor) VisitSlice(s SliceAccess) (err error)
- func (vi UintVisitor) VisitString(v string) (err error)
- func (vi UintVisitor) VisitUint(v uint) (err error)
- func (vi UintVisitor) VisitUint16(v uint16) (err error)
- func (vi UintVisitor) VisitUint32(v uint32) (err error)
- func (vi UintVisitor) VisitUint64(v uint64) (err error)
- func (vi UintVisitor) VisitUint8(v uint8) (err error)
- type Unexpected
- type UnexpectedBool
- type UnexpectedByte
- type UnexpectedBytes
- type UnexpectedComplex128
- type UnexpectedComplex64
- type UnexpectedFloat32
- type UnexpectedFloat64
- type UnexpectedInt
- type UnexpectedInt16
- type UnexpectedInt32
- type UnexpectedInt64
- type UnexpectedInt8
- type UnexpectedMap
- type UnexpectedNil
- type UnexpectedRune
- type UnexpectedSlice
- type UnexpectedString
- type UnexpectedStruct
- type UnexpectedUint
- type UnexpectedUint16
- type UnexpectedUint32
- type UnexpectedUint64
- type UnexpectedUint8
- type Visitor
Constants ¶
View Source
const ( UintSize = bits.UintSize MinInt = -MaxInt - 1 // -1 << 31 or -1 << 63 MaxInt = 1<<(UintSize-1) - 1 // 1<<31 - 1 or 1<<63 - 1 MinInt8 = math.MinInt8 MaxInt8 = math.MaxInt8 MinInt16 = math.MinInt16 MaxInt16 = math.MaxInt16 MinInt32 = math.MinInt32 MaxInt32 = math.MaxInt32 MinInt64 = math.MinInt64 MaxInt64 = math.MaxInt64 MinUint = 0 MaxUint = 1<<UintSize - 1 // 1<<32 - 1 or 1<<64 - 1 MinUint8 = 0 MaxUint8 = math.MaxUint8 MinUint16 = 0 MaxUint16 = math.MaxUint16 MinUint32 = 0 MaxUint32 = math.MaxUint32 MinUint64 = 0 MaxUint64 = math.MaxUint64 MinFloat32 = math.SmallestNonzeroFloat32 MaxFloat32 = math.MaxFloat32 MinFloat64 = math.SmallestNonzeroFloat64 MaxFloat64 = math.MaxFloat64 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoolIntSerializer ¶
type BoolIntSerializer bool
func (BoolIntSerializer) Serialize ¶
func (s BoolIntSerializer) Serialize(ser Serializer) (err error)
type BoolVisitor ¶
type BoolVisitor struct {
// contains filtered or unexported fields
}
func NewBoolVisitor ¶
func NewBoolVisitor(v *bool) BoolVisitor
func (BoolVisitor) String ¶
func (vi BoolVisitor) String() string
func (BoolVisitor) VisitBool ¶
func (vi BoolVisitor) VisitBool(v bool) (err error)
func (BoolVisitor) VisitBytes ¶
func (vi BoolVisitor) VisitBytes(v []byte) (err error)
func (BoolVisitor) VisitComplex128 ¶
func (vi BoolVisitor) VisitComplex128(v complex128) (err error)
func (BoolVisitor) VisitComplex64 ¶
func (vi BoolVisitor) VisitComplex64(v complex64) (err error)
func (BoolVisitor) VisitFloat32 ¶
func (vi BoolVisitor) VisitFloat32(v float32) (err error)
func (BoolVisitor) VisitFloat64 ¶
func (vi BoolVisitor) VisitFloat64(v float64) (err error)
func (BoolVisitor) VisitInt ¶
func (vi BoolVisitor) VisitInt(v int) (err error)
func (BoolVisitor) VisitInt16 ¶
func (vi BoolVisitor) VisitInt16(v int16) (err error)
func (BoolVisitor) VisitInt32 ¶
func (vi BoolVisitor) VisitInt32(v int32) (err error)
func (BoolVisitor) VisitInt64 ¶
func (vi BoolVisitor) VisitInt64(v int64) (err error)
func (BoolVisitor) VisitInt8 ¶
func (vi BoolVisitor) VisitInt8(v int8) (err error)
func (BoolVisitor) VisitMap ¶
func (vi BoolVisitor) VisitMap(m MapAccess) (err error)
func (BoolVisitor) VisitNil ¶
func (vi BoolVisitor) VisitNil() (err error)
func (BoolVisitor) VisitSlice ¶
func (vi BoolVisitor) VisitSlice(s SliceAccess) (err error)
func (BoolVisitor) VisitString ¶
func (vi BoolVisitor) VisitString(v string) (err error)
func (BoolVisitor) VisitUint ¶
func (vi BoolVisitor) VisitUint(v uint) (err error)
func (BoolVisitor) VisitUint16 ¶
func (vi BoolVisitor) VisitUint16(v uint16) (err error)
func (BoolVisitor) VisitUint32 ¶
func (vi BoolVisitor) VisitUint32(v uint32) (err error)
func (BoolVisitor) VisitUint64 ¶
func (vi BoolVisitor) VisitUint64(v uint64) (err error)
func (BoolVisitor) VisitUint8 ¶
func (vi BoolVisitor) VisitUint8(v uint8) (err error)
type ByteSerializer ¶
type ByteSerializer byte
func (ByteSerializer) Serialize ¶
func (s ByteSerializer) Serialize(ser Serializer) (err error)
type ByteVisitor ¶
type ByteVisitor struct {
// contains filtered or unexported fields
}
func NewByteVisitor ¶
func NewByteVisitor(v *byte) ByteVisitor
func (ByteVisitor) String ¶
func (vi ByteVisitor) String() string
func (ByteVisitor) VisitBool ¶
func (vi ByteVisitor) VisitBool(v bool) (err error)
func (ByteVisitor) VisitByte ¶
func (vi ByteVisitor) VisitByte(v byte) (err error)
func (ByteVisitor) VisitBytes ¶
func (vi ByteVisitor) VisitBytes(v []byte) (err error)
func (ByteVisitor) VisitComplex128 ¶
func (vi ByteVisitor) VisitComplex128(v complex128) (err error)
func (ByteVisitor) VisitComplex64 ¶
func (vi ByteVisitor) VisitComplex64(v complex64) (err error)
func (ByteVisitor) VisitFloat32 ¶
func (vi ByteVisitor) VisitFloat32(v float32) (err error)
func (ByteVisitor) VisitFloat64 ¶
func (vi ByteVisitor) VisitFloat64(v float64) (err error)
func (ByteVisitor) VisitInt ¶
func (vi ByteVisitor) VisitInt(v int) (err error)
func (ByteVisitor) VisitInt16 ¶
func (vi ByteVisitor) VisitInt16(v int16) (err error)
func (ByteVisitor) VisitInt32 ¶
func (vi ByteVisitor) VisitInt32(v int32) (err error)
func (ByteVisitor) VisitInt64 ¶
func (vi ByteVisitor) VisitInt64(v int64) (err error)
func (ByteVisitor) VisitInt8 ¶
func (vi ByteVisitor) VisitInt8(v int8) (err error)
func (ByteVisitor) VisitMap ¶
func (vi ByteVisitor) VisitMap(m MapAccess) (err error)
func (ByteVisitor) VisitNil ¶
func (vi ByteVisitor) VisitNil() (err error)
func (ByteVisitor) VisitSlice ¶
func (vi ByteVisitor) VisitSlice(s SliceAccess) (err error)
func (ByteVisitor) VisitString ¶
func (vi ByteVisitor) VisitString(v string) (err error)
func (ByteVisitor) VisitUint ¶
func (vi ByteVisitor) VisitUint(v uint) (err error)
func (ByteVisitor) VisitUint16 ¶
func (vi ByteVisitor) VisitUint16(v uint16) (err error)
func (ByteVisitor) VisitUint32 ¶
func (vi ByteVisitor) VisitUint32(v uint32) (err error)
func (ByteVisitor) VisitUint64 ¶
func (vi ByteVisitor) VisitUint64(v uint64) (err error)
func (ByteVisitor) VisitUint8 ¶
func (vi ByteVisitor) VisitUint8(v uint8) (err error)
type BytesSerializer ¶
type BytesSerializer []byte
func (BytesSerializer) Serialize ¶
func (s BytesSerializer) Serialize(ser Serializer) (err error)
type BytesVisitor ¶
type BytesVisitor struct {
// contains filtered or unexported fields
}
func NewBytesVisitor ¶
func NewBytesVisitor(v *[]byte) BytesVisitor
func (BytesVisitor) String ¶
func (vi BytesVisitor) String() string
func (BytesVisitor) VisitBool ¶
func (vi BytesVisitor) VisitBool(v bool) (err error)
func (BytesVisitor) VisitBytes ¶
func (vi BytesVisitor) VisitBytes(v []byte) (err error)
func (BytesVisitor) VisitComplex128 ¶
func (vi BytesVisitor) VisitComplex128(v complex128) (err error)
func (BytesVisitor) VisitComplex64 ¶
func (vi BytesVisitor) VisitComplex64(v complex64) (err error)
func (BytesVisitor) VisitFloat32 ¶
func (vi BytesVisitor) VisitFloat32(v float32) (err error)
func (BytesVisitor) VisitFloat64 ¶
func (vi BytesVisitor) VisitFloat64(v float64) (err error)
func (BytesVisitor) VisitInt ¶
func (vi BytesVisitor) VisitInt(v int) (err error)
func (BytesVisitor) VisitInt16 ¶
func (vi BytesVisitor) VisitInt16(v int16) (err error)
func (BytesVisitor) VisitInt32 ¶
func (vi BytesVisitor) VisitInt32(v int32) (err error)
func (BytesVisitor) VisitInt64 ¶
func (vi BytesVisitor) VisitInt64(v int64) (err error)
func (BytesVisitor) VisitInt8 ¶
func (vi BytesVisitor) VisitInt8(v int8) (err error)
func (BytesVisitor) VisitMap ¶
func (vi BytesVisitor) VisitMap(m MapAccess) (err error)
func (BytesVisitor) VisitNil ¶
func (vi BytesVisitor) VisitNil() (err error)
func (BytesVisitor) VisitSlice ¶
func (vi BytesVisitor) VisitSlice(s SliceAccess) (err error)
func (BytesVisitor) VisitString ¶
func (vi BytesVisitor) VisitString(v string) (err error)
func (BytesVisitor) VisitUint ¶
func (vi BytesVisitor) VisitUint(v uint) (err error)
func (BytesVisitor) VisitUint16 ¶
func (vi BytesVisitor) VisitUint16(v uint16) (err error)
func (BytesVisitor) VisitUint32 ¶
func (vi BytesVisitor) VisitUint32(v uint32) (err error)
func (BytesVisitor) VisitUint64 ¶
func (vi BytesVisitor) VisitUint64(v uint64) (err error)
func (BytesVisitor) VisitUint8 ¶
func (vi BytesVisitor) VisitUint8(v uint8) (err error)
type Complex128Serializer ¶
type Complex128Serializer complex128
func (Complex128Serializer) Serialize ¶
func (s Complex128Serializer) Serialize(ser Serializer) (err error)
type Complex128Visitor ¶
type Complex128Visitor struct {
// contains filtered or unexported fields
}
func NewComplex128Visitor ¶
func NewComplex128Visitor(v *complex128) Complex128Visitor
func (Complex128Visitor) String ¶
func (vi Complex128Visitor) String() string
func (Complex128Visitor) VisitBool ¶
func (vi Complex128Visitor) VisitBool(v bool) (err error)
func (Complex128Visitor) VisitBytes ¶
func (vi Complex128Visitor) VisitBytes(v []byte) (err error)
func (Complex128Visitor) VisitComplex128 ¶
func (vi Complex128Visitor) VisitComplex128(v complex128) (err error)
func (Complex128Visitor) VisitComplex64 ¶
func (vi Complex128Visitor) VisitComplex64(v complex64) (err error)
func (Complex128Visitor) VisitFloat32 ¶
func (vi Complex128Visitor) VisitFloat32(v float32) (err error)
func (Complex128Visitor) VisitFloat64 ¶
func (vi Complex128Visitor) VisitFloat64(v float64) (err error)
func (Complex128Visitor) VisitInt ¶
func (vi Complex128Visitor) VisitInt(v int) (err error)
func (Complex128Visitor) VisitInt16 ¶
func (vi Complex128Visitor) VisitInt16(v int16) (err error)
func (Complex128Visitor) VisitInt32 ¶
func (vi Complex128Visitor) VisitInt32(v int32) (err error)
func (Complex128Visitor) VisitInt64 ¶
func (vi Complex128Visitor) VisitInt64(v int64) (err error)
func (Complex128Visitor) VisitInt8 ¶
func (vi Complex128Visitor) VisitInt8(v int8) (err error)
func (Complex128Visitor) VisitMap ¶
func (vi Complex128Visitor) VisitMap(m MapAccess) (err error)
func (Complex128Visitor) VisitNil ¶
func (vi Complex128Visitor) VisitNil() (err error)
func (Complex128Visitor) VisitSlice ¶
func (vi Complex128Visitor) VisitSlice(s SliceAccess) (err error)
func (Complex128Visitor) VisitString ¶
func (vi Complex128Visitor) VisitString(v string) (err error)
func (Complex128Visitor) VisitUint ¶
func (vi Complex128Visitor) VisitUint(v uint) (err error)
func (Complex128Visitor) VisitUint16 ¶
func (vi Complex128Visitor) VisitUint16(v uint16) (err error)
func (Complex128Visitor) VisitUint32 ¶
func (vi Complex128Visitor) VisitUint32(v uint32) (err error)
func (Complex128Visitor) VisitUint64 ¶
func (vi Complex128Visitor) VisitUint64(v uint64) (err error)
func (Complex128Visitor) VisitUint8 ¶
func (vi Complex128Visitor) VisitUint8(v uint8) (err error)
type Complex64Serializer ¶
type Complex64Serializer complex64
func (Complex64Serializer) Serialize ¶
func (s Complex64Serializer) Serialize(ser Serializer) (err error)
type Complex64Visitor ¶
type Complex64Visitor struct {
// contains filtered or unexported fields
}
func NewComplex64Visitor ¶
func NewComplex64Visitor(v *complex64) Complex64Visitor
func (Complex64Visitor) String ¶
func (vi Complex64Visitor) String() string
func (Complex64Visitor) VisitBool ¶
func (vi Complex64Visitor) VisitBool(v bool) (err error)
func (Complex64Visitor) VisitBytes ¶
func (vi Complex64Visitor) VisitBytes(v []byte) (err error)
func (Complex64Visitor) VisitComplex128 ¶
func (vi Complex64Visitor) VisitComplex128(v complex128) (err error)
func (Complex64Visitor) VisitComplex64 ¶
func (vi Complex64Visitor) VisitComplex64(v complex64) (err error)
func (Complex64Visitor) VisitFloat32 ¶
func (vi Complex64Visitor) VisitFloat32(v float32) (err error)
func (Complex64Visitor) VisitFloat64 ¶
func (vi Complex64Visitor) VisitFloat64(v float64) (err error)
func (Complex64Visitor) VisitInt ¶
func (vi Complex64Visitor) VisitInt(v int) (err error)
func (Complex64Visitor) VisitInt16 ¶
func (vi Complex64Visitor) VisitInt16(v int16) (err error)
func (Complex64Visitor) VisitInt32 ¶
func (vi Complex64Visitor) VisitInt32(v int32) (err error)
func (Complex64Visitor) VisitInt64 ¶
func (vi Complex64Visitor) VisitInt64(v int64) (err error)
func (Complex64Visitor) VisitInt8 ¶
func (vi Complex64Visitor) VisitInt8(v int8) (err error)
func (Complex64Visitor) VisitMap ¶
func (vi Complex64Visitor) VisitMap(m MapAccess) (err error)
func (Complex64Visitor) VisitNil ¶
func (vi Complex64Visitor) VisitNil() (err error)
func (Complex64Visitor) VisitSlice ¶
func (vi Complex64Visitor) VisitSlice(s SliceAccess) (err error)
func (Complex64Visitor) VisitString ¶
func (vi Complex64Visitor) VisitString(v string) (err error)
func (Complex64Visitor) VisitUint ¶
func (vi Complex64Visitor) VisitUint(v uint) (err error)
func (Complex64Visitor) VisitUint16 ¶
func (vi Complex64Visitor) VisitUint16(v uint16) (err error)
func (Complex64Visitor) VisitUint32 ¶
func (vi Complex64Visitor) VisitUint32(v uint32) (err error)
func (Complex64Visitor) VisitUint64 ¶
func (vi Complex64Visitor) VisitUint64(v uint64) (err error)
func (Complex64Visitor) VisitUint8 ¶
func (vi Complex64Visitor) VisitUint8(v uint8) (err error)
type Deserializable ¶
type Deserializable interface {
Deserialize(deserializer Deserializer) (err error)
}
type Deserializer ¶
type Deserializer interface { DeserializeAny(v Visitor) (err error) DeserializeNil(v Visitor) (err error) DeserializeBool(v Visitor) (err error) DeserializeInt(v Visitor) (err error) DeserializeInt8(v Visitor) (err error) DeserializeInt16(v Visitor) (err error) DeserializeInt32(v Visitor) (err error) DeserializeInt64(v Visitor) (err error) DeserializeUint(v Visitor) (err error) DeserializeUint8(v Visitor) (err error) DeserializeUint16(v Visitor) (err error) DeserializeUint32(v Visitor) (err error) DeserializeUint64(v Visitor) (err error) DeserializeFloat32(v Visitor) (err error) DeserializeFloat64(v Visitor) (err error) DeserializeComplex64(v Visitor) (err error) DeserializeComplex128(v Visitor) (err error) DeserializeString(v Visitor) (err error) DeserializeBytes(v Visitor) (err error) DeserializeSlice(v Visitor) (err error) DeserializeMap(v Visitor) (err error) DeserializeStruct(name string, fields []string, v Visitor) (err error) }
type DummyVisitor ¶
type DummyVisitor struct {
// contains filtered or unexported fields
}
func NewDummyVisitor ¶
func NewDummyVisitor(expect string) DummyVisitor
func (DummyVisitor) String ¶
func (vi DummyVisitor) String() string
func (DummyVisitor) VisitBool ¶
func (vi DummyVisitor) VisitBool(v bool) (err error)
func (DummyVisitor) VisitBytes ¶
func (vi DummyVisitor) VisitBytes(v []byte) (err error)
func (DummyVisitor) VisitComplex128 ¶
func (vi DummyVisitor) VisitComplex128(v complex128) (err error)
func (DummyVisitor) VisitComplex64 ¶
func (vi DummyVisitor) VisitComplex64(v complex64) (err error)
func (DummyVisitor) VisitFloat32 ¶
func (vi DummyVisitor) VisitFloat32(v float32) (err error)
func (DummyVisitor) VisitFloat64 ¶
func (vi DummyVisitor) VisitFloat64(v float64) (err error)
func (DummyVisitor) VisitInt ¶
func (vi DummyVisitor) VisitInt(v int) (err error)
func (DummyVisitor) VisitInt16 ¶
func (vi DummyVisitor) VisitInt16(v int16) (err error)
func (DummyVisitor) VisitInt32 ¶
func (vi DummyVisitor) VisitInt32(v int32) (err error)
func (DummyVisitor) VisitInt64 ¶
func (vi DummyVisitor) VisitInt64(v int64) (err error)
func (DummyVisitor) VisitInt8 ¶
func (vi DummyVisitor) VisitInt8(v int8) (err error)
func (DummyVisitor) VisitMap ¶
func (vi DummyVisitor) VisitMap(m MapAccess) (err error)
func (DummyVisitor) VisitNil ¶
func (vi DummyVisitor) VisitNil() (err error)
func (DummyVisitor) VisitSlice ¶
func (vi DummyVisitor) VisitSlice(s SliceAccess) (err error)
func (DummyVisitor) VisitString ¶
func (vi DummyVisitor) VisitString(v string) (err error)
func (DummyVisitor) VisitUint ¶
func (vi DummyVisitor) VisitUint(v uint) (err error)
func (DummyVisitor) VisitUint16 ¶
func (vi DummyVisitor) VisitUint16(v uint16) (err error)
func (DummyVisitor) VisitUint32 ¶
func (vi DummyVisitor) VisitUint32(v uint32) (err error)
func (DummyVisitor) VisitUint64 ¶
func (vi DummyVisitor) VisitUint64(v uint64) (err error)
func (DummyVisitor) VisitUint8 ¶
func (vi DummyVisitor) VisitUint8(v uint8) (err error)
type ErrDuplicateField ¶
type ErrDuplicateField struct {
// contains filtered or unexported fields
}
func NewErrDuplicateField ¶
func NewErrDuplicateField(field string) *ErrDuplicateField
func (*ErrDuplicateField) Error ¶
func (e *ErrDuplicateField) Error() string
type ErrInvalidLength ¶
type ErrInvalidLength struct {
// contains filtered or unexported fields
}
func NewErrInvalidLength ¶
func NewErrInvalidLength(length uint, expected fmt.Stringer) *ErrInvalidLength
func (*ErrInvalidLength) Error ¶
func (e *ErrInvalidLength) Error() string
type ErrInvalidType ¶
type ErrInvalidType struct {
// contains filtered or unexported fields
}
func NewInvalidTypeError ¶
func NewInvalidTypeError(unexpected Unexpected, expected fmt.Stringer) *ErrInvalidType
func (*ErrInvalidType) Error ¶
func (e *ErrInvalidType) Error() string
type ErrInvalidValue ¶
type ErrInvalidValue struct {
// contains filtered or unexported fields
}
func NewErrInvalidValue ¶
func NewErrInvalidValue(unexpected Unexpected, expected fmt.Stringer) *ErrInvalidValue
func (*ErrInvalidValue) Error ¶
func (e *ErrInvalidValue) Error() string
type ErrMissingField ¶
type ErrMissingField struct {
// contains filtered or unexported fields
}
func NewErrMissingField ¶
func NewErrMissingField(field string) *ErrMissingField
func (*ErrMissingField) Error ¶
func (e *ErrMissingField) Error() string
type ErrUnknownField ¶
type ErrUnknownField struct {
// contains filtered or unexported fields
}
func NewErrUnknownField ¶
func NewErrUnknownField(field string, expected []string) *ErrUnknownField
func (*ErrUnknownField) Error ¶
func (e *ErrUnknownField) Error() string
type Float32Serializer ¶
type Float32Serializer float32
func (Float32Serializer) Serialize ¶
func (s Float32Serializer) Serialize(ser Serializer) (err error)
type Float32Visitor ¶
type Float32Visitor struct {
// contains filtered or unexported fields
}
func NewFloat32Visitor ¶
func NewFloat32Visitor(v *float32) Float32Visitor
func (Float32Visitor) String ¶
func (vi Float32Visitor) String() string
func (Float32Visitor) VisitBool ¶
func (vi Float32Visitor) VisitBool(v bool) (err error)
func (Float32Visitor) VisitBytes ¶
func (vi Float32Visitor) VisitBytes(v []byte) (err error)
func (Float32Visitor) VisitComplex128 ¶
func (vi Float32Visitor) VisitComplex128(v complex128) (err error)
func (Float32Visitor) VisitComplex64 ¶
func (vi Float32Visitor) VisitComplex64(v complex64) (err error)
func (Float32Visitor) VisitFloat32 ¶
func (vi Float32Visitor) VisitFloat32(v float32) (err error)
func (Float32Visitor) VisitFloat64 ¶
func (vi Float32Visitor) VisitFloat64(v float64) (err error)
func (Float32Visitor) VisitInt ¶
func (vi Float32Visitor) VisitInt(v int) (err error)
func (Float32Visitor) VisitInt16 ¶
func (vi Float32Visitor) VisitInt16(v int16) (err error)
func (Float32Visitor) VisitInt32 ¶
func (vi Float32Visitor) VisitInt32(v int32) (err error)
func (Float32Visitor) VisitInt64 ¶
func (vi Float32Visitor) VisitInt64(v int64) (err error)
func (Float32Visitor) VisitInt8 ¶
func (vi Float32Visitor) VisitInt8(v int8) (err error)
func (Float32Visitor) VisitMap ¶
func (vi Float32Visitor) VisitMap(m MapAccess) (err error)
func (Float32Visitor) VisitNil ¶
func (vi Float32Visitor) VisitNil() (err error)
func (Float32Visitor) VisitSlice ¶
func (vi Float32Visitor) VisitSlice(s SliceAccess) (err error)
func (Float32Visitor) VisitString ¶
func (vi Float32Visitor) VisitString(v string) (err error)
func (Float32Visitor) VisitUint ¶
func (vi Float32Visitor) VisitUint(v uint) (err error)
func (Float32Visitor) VisitUint16 ¶
func (vi Float32Visitor) VisitUint16(v uint16) (err error)
func (Float32Visitor) VisitUint32 ¶
func (vi Float32Visitor) VisitUint32(v uint32) (err error)
func (Float32Visitor) VisitUint64 ¶
func (vi Float32Visitor) VisitUint64(v uint64) (err error)
func (Float32Visitor) VisitUint8 ¶
func (vi Float32Visitor) VisitUint8(v uint8) (err error)
type Float64Serializer ¶
type Float64Serializer float64
func (Float64Serializer) Serialize ¶
func (s Float64Serializer) Serialize(ser Serializer) (err error)
type Float64Visitor ¶
type Float64Visitor struct {
// contains filtered or unexported fields
}
func NewFloat64Visitor ¶
func NewFloat64Visitor(v *float64) Float64Visitor
func (Float64Visitor) String ¶
func (vi Float64Visitor) String() string
func (Float64Visitor) VisitBool ¶
func (vi Float64Visitor) VisitBool(v bool) (err error)
func (Float64Visitor) VisitBytes ¶
func (vi Float64Visitor) VisitBytes(v []byte) (err error)
func (Float64Visitor) VisitComplex128 ¶
func (vi Float64Visitor) VisitComplex128(v complex128) (err error)
func (Float64Visitor) VisitComplex64 ¶
func (vi Float64Visitor) VisitComplex64(v complex64) (err error)
func (Float64Visitor) VisitFloat32 ¶
func (vi Float64Visitor) VisitFloat32(v float32) (err error)
func (Float64Visitor) VisitFloat64 ¶
func (vi Float64Visitor) VisitFloat64(v float64) (err error)
func (Float64Visitor) VisitInt ¶
func (vi Float64Visitor) VisitInt(v int) (err error)
func (Float64Visitor) VisitInt16 ¶
func (vi Float64Visitor) VisitInt16(v int16) (err error)
func (Float64Visitor) VisitInt32 ¶
func (vi Float64Visitor) VisitInt32(v int32) (err error)
func (Float64Visitor) VisitInt64 ¶
func (vi Float64Visitor) VisitInt64(v int64) (err error)
func (Float64Visitor) VisitInt8 ¶
func (vi Float64Visitor) VisitInt8(v int8) (err error)
func (Float64Visitor) VisitMap ¶
func (vi Float64Visitor) VisitMap(m MapAccess) (err error)
func (Float64Visitor) VisitNil ¶
func (vi Float64Visitor) VisitNil() (err error)
func (Float64Visitor) VisitSlice ¶
func (vi Float64Visitor) VisitSlice(s SliceAccess) (err error)
func (Float64Visitor) VisitString ¶
func (vi Float64Visitor) VisitString(v string) (err error)
func (Float64Visitor) VisitUint ¶
func (vi Float64Visitor) VisitUint(v uint) (err error)
func (Float64Visitor) VisitUint16 ¶
func (vi Float64Visitor) VisitUint16(v uint16) (err error)
func (Float64Visitor) VisitUint32 ¶
func (vi Float64Visitor) VisitUint32(v uint32) (err error)
func (Float64Visitor) VisitUint64 ¶
func (vi Float64Visitor) VisitUint64(v uint64) (err error)
func (Float64Visitor) VisitUint8 ¶
func (vi Float64Visitor) VisitUint8(v uint8) (err error)
type Int16Serializer ¶
type Int16Serializer int16
func (Int16Serializer) Serialize ¶
func (s Int16Serializer) Serialize(ser Serializer) (err error)
type Int16Visitor ¶
type Int16Visitor struct {
// contains filtered or unexported fields
}
func NewInt16Visitor ¶
func NewInt16Visitor(v *int16) Int16Visitor
func (Int16Visitor) String ¶
func (vi Int16Visitor) String() string
func (Int16Visitor) VisitBool ¶
func (vi Int16Visitor) VisitBool(v bool) (err error)
func (Int16Visitor) VisitBytes ¶
func (vi Int16Visitor) VisitBytes(v []byte) (err error)
func (Int16Visitor) VisitComplex128 ¶
func (vi Int16Visitor) VisitComplex128(v complex128) (err error)
func (Int16Visitor) VisitComplex64 ¶
func (vi Int16Visitor) VisitComplex64(v complex64) (err error)
func (Int16Visitor) VisitFloat32 ¶
func (vi Int16Visitor) VisitFloat32(v float32) (err error)
func (Int16Visitor) VisitFloat64 ¶
func (vi Int16Visitor) VisitFloat64(v float64) (err error)
func (Int16Visitor) VisitInt ¶
func (vi Int16Visitor) VisitInt(v int) (err error)
func (Int16Visitor) VisitInt16 ¶
func (vi Int16Visitor) VisitInt16(v int16) (err error)
func (Int16Visitor) VisitInt32 ¶
func (vi Int16Visitor) VisitInt32(v int32) (err error)
func (Int16Visitor) VisitInt64 ¶
func (vi Int16Visitor) VisitInt64(v int64) (err error)
func (Int16Visitor) VisitInt8 ¶
func (vi Int16Visitor) VisitInt8(v int8) (err error)
func (Int16Visitor) VisitMap ¶
func (vi Int16Visitor) VisitMap(m MapAccess) (err error)
func (Int16Visitor) VisitNil ¶
func (vi Int16Visitor) VisitNil() (err error)
func (Int16Visitor) VisitSlice ¶
func (vi Int16Visitor) VisitSlice(s SliceAccess) (err error)
func (Int16Visitor) VisitString ¶
func (vi Int16Visitor) VisitString(v string) (err error)
func (Int16Visitor) VisitUint ¶
func (vi Int16Visitor) VisitUint(v uint) (err error)
func (Int16Visitor) VisitUint16 ¶
func (vi Int16Visitor) VisitUint16(v uint16) (err error)
func (Int16Visitor) VisitUint32 ¶
func (vi Int16Visitor) VisitUint32(v uint32) (err error)
func (Int16Visitor) VisitUint64 ¶
func (vi Int16Visitor) VisitUint64(v uint64) (err error)
func (Int16Visitor) VisitUint8 ¶
func (vi Int16Visitor) VisitUint8(v uint8) (err error)
type Int32Serializer ¶
type Int32Serializer int32
func (Int32Serializer) Serialize ¶
func (s Int32Serializer) Serialize(ser Serializer) (err error)
type Int32Visitor ¶
type Int32Visitor struct {
// contains filtered or unexported fields
}
func NewInt32Visitor ¶
func NewInt32Visitor(v *int32) Int32Visitor
func (Int32Visitor) String ¶
func (vi Int32Visitor) String() string
func (Int32Visitor) VisitBool ¶
func (vi Int32Visitor) VisitBool(v bool) (err error)
func (Int32Visitor) VisitBytes ¶
func (vi Int32Visitor) VisitBytes(v []byte) (err error)
func (Int32Visitor) VisitComplex128 ¶
func (vi Int32Visitor) VisitComplex128(v complex128) (err error)
func (Int32Visitor) VisitComplex64 ¶
func (vi Int32Visitor) VisitComplex64(v complex64) (err error)
func (Int32Visitor) VisitFloat32 ¶
func (vi Int32Visitor) VisitFloat32(v float32) (err error)
func (Int32Visitor) VisitFloat64 ¶
func (vi Int32Visitor) VisitFloat64(v float64) (err error)
func (Int32Visitor) VisitInt ¶
func (vi Int32Visitor) VisitInt(v int) (err error)
func (Int32Visitor) VisitInt16 ¶
func (vi Int32Visitor) VisitInt16(v int16) (err error)
func (Int32Visitor) VisitInt32 ¶
func (vi Int32Visitor) VisitInt32(v int32) (err error)
func (Int32Visitor) VisitInt64 ¶
func (vi Int32Visitor) VisitInt64(v int64) (err error)
func (Int32Visitor) VisitInt8 ¶
func (vi Int32Visitor) VisitInt8(v int8) (err error)
func (Int32Visitor) VisitMap ¶
func (vi Int32Visitor) VisitMap(m MapAccess) (err error)
func (Int32Visitor) VisitNil ¶
func (vi Int32Visitor) VisitNil() (err error)
func (Int32Visitor) VisitSlice ¶
func (vi Int32Visitor) VisitSlice(s SliceAccess) (err error)
func (Int32Visitor) VisitString ¶
func (vi Int32Visitor) VisitString(v string) (err error)
func (Int32Visitor) VisitUint ¶
func (vi Int32Visitor) VisitUint(v uint) (err error)
func (Int32Visitor) VisitUint16 ¶
func (vi Int32Visitor) VisitUint16(v uint16) (err error)
func (Int32Visitor) VisitUint32 ¶
func (vi Int32Visitor) VisitUint32(v uint32) (err error)
func (Int32Visitor) VisitUint64 ¶
func (vi Int32Visitor) VisitUint64(v uint64) (err error)
func (Int32Visitor) VisitUint8 ¶
func (vi Int32Visitor) VisitUint8(v uint8) (err error)
type Int64Serializer ¶
type Int64Serializer int64
func (Int64Serializer) Serialize ¶
func (s Int64Serializer) Serialize(ser Serializer) (err error)
type Int64Visitor ¶
type Int64Visitor struct {
// contains filtered or unexported fields
}
func NewInt64Visitor ¶
func NewInt64Visitor(v *int64) Int64Visitor
func (Int64Visitor) String ¶
func (vi Int64Visitor) String() string
func (Int64Visitor) VisitBool ¶
func (vi Int64Visitor) VisitBool(v bool) (err error)
func (Int64Visitor) VisitBytes ¶
func (vi Int64Visitor) VisitBytes(v []byte) (err error)
func (Int64Visitor) VisitComplex128 ¶
func (vi Int64Visitor) VisitComplex128(v complex128) (err error)
func (Int64Visitor) VisitComplex64 ¶
func (vi Int64Visitor) VisitComplex64(v complex64) (err error)
func (Int64Visitor) VisitFloat32 ¶
func (vi Int64Visitor) VisitFloat32(v float32) (err error)
func (Int64Visitor) VisitFloat64 ¶
func (vi Int64Visitor) VisitFloat64(v float64) (err error)
func (Int64Visitor) VisitInt ¶
func (vi Int64Visitor) VisitInt(v int) (err error)
func (Int64Visitor) VisitInt16 ¶
func (vi Int64Visitor) VisitInt16(v int16) (err error)
func (Int64Visitor) VisitInt32 ¶
func (vi Int64Visitor) VisitInt32(v int32) (err error)
func (Int64Visitor) VisitInt64 ¶
func (vi Int64Visitor) VisitInt64(v int64) (err error)
func (Int64Visitor) VisitInt8 ¶
func (vi Int64Visitor) VisitInt8(v int8) (err error)
func (Int64Visitor) VisitMap ¶
func (vi Int64Visitor) VisitMap(m MapAccess) (err error)
func (Int64Visitor) VisitNil ¶
func (vi Int64Visitor) VisitNil() (err error)
func (Int64Visitor) VisitSlice ¶
func (vi Int64Visitor) VisitSlice(s SliceAccess) (err error)
func (Int64Visitor) VisitString ¶
func (vi Int64Visitor) VisitString(v string) (err error)
func (Int64Visitor) VisitUint ¶
func (vi Int64Visitor) VisitUint(v uint) (err error)
func (Int64Visitor) VisitUint16 ¶
func (vi Int64Visitor) VisitUint16(v uint16) (err error)
func (Int64Visitor) VisitUint32 ¶
func (vi Int64Visitor) VisitUint32(v uint32) (err error)
func (Int64Visitor) VisitUint64 ¶
func (vi Int64Visitor) VisitUint64(v uint64) (err error)
func (Int64Visitor) VisitUint8 ¶
func (vi Int64Visitor) VisitUint8(v uint8) (err error)
type Int8Serializer ¶
type Int8Serializer int8
func (Int8Serializer) Serialize ¶
func (s Int8Serializer) Serialize(ser Serializer) (err error)
type Int8Visitor ¶
type Int8Visitor struct {
// contains filtered or unexported fields
}
func NewInt8Visitor ¶
func NewInt8Visitor(v *int8) Int8Visitor
func (Int8Visitor) String ¶
func (vi Int8Visitor) String() string
func (Int8Visitor) VisitBool ¶
func (vi Int8Visitor) VisitBool(v bool) (err error)
func (Int8Visitor) VisitBytes ¶
func (vi Int8Visitor) VisitBytes(v []byte) (err error)
func (Int8Visitor) VisitComplex128 ¶
func (vi Int8Visitor) VisitComplex128(v complex128) (err error)
func (Int8Visitor) VisitComplex64 ¶
func (vi Int8Visitor) VisitComplex64(v complex64) (err error)
func (Int8Visitor) VisitFloat32 ¶
func (vi Int8Visitor) VisitFloat32(v float32) (err error)
func (Int8Visitor) VisitFloat64 ¶
func (vi Int8Visitor) VisitFloat64(v float64) (err error)
func (Int8Visitor) VisitInt ¶
func (vi Int8Visitor) VisitInt(v int) (err error)
func (Int8Visitor) VisitInt16 ¶
func (vi Int8Visitor) VisitInt16(v int16) (err error)
func (Int8Visitor) VisitInt32 ¶
func (vi Int8Visitor) VisitInt32(v int32) (err error)
func (Int8Visitor) VisitInt64 ¶
func (vi Int8Visitor) VisitInt64(v int64) (err error)
func (Int8Visitor) VisitInt8 ¶
func (vi Int8Visitor) VisitInt8(v int8) (err error)
func (Int8Visitor) VisitMap ¶
func (vi Int8Visitor) VisitMap(m MapAccess) (err error)
func (Int8Visitor) VisitNil ¶
func (vi Int8Visitor) VisitNil() (err error)
func (Int8Visitor) VisitSlice ¶
func (vi Int8Visitor) VisitSlice(s SliceAccess) (err error)
func (Int8Visitor) VisitString ¶
func (vi Int8Visitor) VisitString(v string) (err error)
func (Int8Visitor) VisitUint ¶
func (vi Int8Visitor) VisitUint(v uint) (err error)
func (Int8Visitor) VisitUint16 ¶
func (vi Int8Visitor) VisitUint16(v uint16) (err error)
func (Int8Visitor) VisitUint32 ¶
func (vi Int8Visitor) VisitUint32(v uint32) (err error)
func (Int8Visitor) VisitUint64 ¶
func (vi Int8Visitor) VisitUint64(v uint64) (err error)
func (Int8Visitor) VisitUint8 ¶
func (vi Int8Visitor) VisitUint8(v uint8) (err error)
type IntSerializer ¶
type IntSerializer int
func (IntSerializer) Serialize ¶
func (s IntSerializer) Serialize(ser Serializer) (err error)
type IntVisitor ¶
type IntVisitor struct {
// contains filtered or unexported fields
}
func NewIntVisitor ¶
func NewIntVisitor(v *int) IntVisitor
func (IntVisitor) String ¶
func (vi IntVisitor) String() string
func (IntVisitor) VisitBool ¶
func (vi IntVisitor) VisitBool(v bool) (err error)
func (IntVisitor) VisitBytes ¶
func (vi IntVisitor) VisitBytes(v []byte) (err error)
func (IntVisitor) VisitComplex128 ¶
func (vi IntVisitor) VisitComplex128(v complex128) (err error)
func (IntVisitor) VisitComplex64 ¶
func (vi IntVisitor) VisitComplex64(v complex64) (err error)
func (IntVisitor) VisitFloat32 ¶
func (vi IntVisitor) VisitFloat32(v float32) (err error)
func (IntVisitor) VisitFloat64 ¶
func (vi IntVisitor) VisitFloat64(v float64) (err error)
func (IntVisitor) VisitInt ¶
func (vi IntVisitor) VisitInt(v int) (err error)
func (IntVisitor) VisitInt16 ¶
func (vi IntVisitor) VisitInt16(v int16) (err error)
func (IntVisitor) VisitInt32 ¶
func (vi IntVisitor) VisitInt32(v int32) (err error)
func (IntVisitor) VisitInt64 ¶
func (vi IntVisitor) VisitInt64(v int64) (err error)
func (IntVisitor) VisitInt8 ¶
func (vi IntVisitor) VisitInt8(v int8) (err error)
func (IntVisitor) VisitMap ¶
func (vi IntVisitor) VisitMap(m MapAccess) (err error)
func (IntVisitor) VisitNil ¶
func (vi IntVisitor) VisitNil() (err error)
func (IntVisitor) VisitSlice ¶
func (vi IntVisitor) VisitSlice(s SliceAccess) (err error)
func (IntVisitor) VisitString ¶
func (vi IntVisitor) VisitString(v string) (err error)
func (IntVisitor) VisitUint ¶
func (vi IntVisitor) VisitUint(v uint) (err error)
func (IntVisitor) VisitUint16 ¶
func (vi IntVisitor) VisitUint16(v uint16) (err error)
func (IntVisitor) VisitUint32 ¶
func (vi IntVisitor) VisitUint32(v uint32) (err error)
func (IntVisitor) VisitUint64 ¶
func (vi IntVisitor) VisitUint64(v uint64) (err error)
func (IntVisitor) VisitUint8 ¶
func (vi IntVisitor) VisitUint8(v uint8) (err error)
type MapSerializer ¶
type MapSerializer interface { SerializeEntry(k, v Serializable) (err error) EndMap() (err error) }
type NilSerializer ¶
type NilSerializer struct{}
func (NilSerializer) Serialize ¶
func (n NilSerializer) Serialize(ser Serializer) (err error)
type RuneSerializer ¶
type RuneSerializer rune
func (RuneSerializer) Serialize ¶
func (s RuneSerializer) Serialize(ser Serializer) (err error)
type RuneVisitor ¶
type RuneVisitor struct {
// contains filtered or unexported fields
}
func NewRuneVisitor ¶
func NewRuneVisitor(v *rune) RuneVisitor
func (RuneVisitor) String ¶
func (vi RuneVisitor) String() string
func (RuneVisitor) VisitBool ¶
func (vi RuneVisitor) VisitBool(v bool) (err error)
func (RuneVisitor) VisitBytes ¶
func (vi RuneVisitor) VisitBytes(v []byte) (err error)
func (RuneVisitor) VisitComplex128 ¶
func (vi RuneVisitor) VisitComplex128(v complex128) (err error)
func (RuneVisitor) VisitComplex64 ¶
func (vi RuneVisitor) VisitComplex64(v complex64) (err error)
func (RuneVisitor) VisitFloat32 ¶
func (vi RuneVisitor) VisitFloat32(v float32) (err error)
func (RuneVisitor) VisitFloat64 ¶
func (vi RuneVisitor) VisitFloat64(v float64) (err error)
func (RuneVisitor) VisitInt ¶
func (vi RuneVisitor) VisitInt(v int) (err error)
func (RuneVisitor) VisitInt16 ¶
func (vi RuneVisitor) VisitInt16(v int16) (err error)
func (RuneVisitor) VisitInt32 ¶
func (vi RuneVisitor) VisitInt32(v int32) (err error)
func (RuneVisitor) VisitInt64 ¶
func (vi RuneVisitor) VisitInt64(v int64) (err error)
func (RuneVisitor) VisitInt8 ¶
func (vi RuneVisitor) VisitInt8(v int8) (err error)
func (RuneVisitor) VisitMap ¶
func (vi RuneVisitor) VisitMap(m MapAccess) (err error)
func (RuneVisitor) VisitNil ¶
func (vi RuneVisitor) VisitNil() (err error)
func (RuneVisitor) VisitRune ¶
func (vi RuneVisitor) VisitRune(v rune) (err error)
func (RuneVisitor) VisitSlice ¶
func (vi RuneVisitor) VisitSlice(s SliceAccess) (err error)
func (RuneVisitor) VisitString ¶
func (vi RuneVisitor) VisitString(v string) (err error)
func (RuneVisitor) VisitUint ¶
func (vi RuneVisitor) VisitUint(v uint) (err error)
func (RuneVisitor) VisitUint16 ¶
func (vi RuneVisitor) VisitUint16(v uint16) (err error)
func (RuneVisitor) VisitUint32 ¶
func (vi RuneVisitor) VisitUint32(v uint32) (err error)
func (RuneVisitor) VisitUint64 ¶
func (vi RuneVisitor) VisitUint64(v uint64) (err error)
func (RuneVisitor) VisitUint8 ¶
func (vi RuneVisitor) VisitUint8(v uint8) (err error)
type Serializable ¶
type Serializable interface {
Serialize(serializer Serializer) (err error)
}
type Serializer ¶
type Serializer interface { SerializeNil() (err error) SerializeBool(v bool) (err error) SerializeInt(v int) (err error) SerializeInt8(v int8) (err error) SerializeInt16(v int16) (err error) SerializeInt32(v int32) (err error) SerializeInt64(v int64) (err error) SerializeUint(v uint) (err error) SerializeUint8(v uint8) (err error) SerializeUint16(v uint16) (err error) SerializeUint32(v uint32) (err error) SerializeUint64(v uint64) (err error) SerializeFloat32(v float32) (err error) SerializeFloat64(v float64) (err error) SerializeComplex64(v complex64) (err error) SerializeComplex128(v complex128) (err error) SerializeString(v string) (err error) SerializeBytes(v []byte) (err error) SerializeSlice(length int) (s SliceSerializer, err error) SerializeMap(length int) (m MapSerializer, err error) SerializeStruct(name string, length int) (s StructSerializer, err error) }
type SkipVisitor ¶
type SkipVisitor struct{}
func (SkipVisitor) String ¶
func (vi SkipVisitor) String() string
func (SkipVisitor) VisitBool ¶
func (s SkipVisitor) VisitBool(v bool) (err error)
func (SkipVisitor) VisitBytes ¶
func (s SkipVisitor) VisitBytes(v []byte) (err error)
func (SkipVisitor) VisitComplex128 ¶
func (s SkipVisitor) VisitComplex128(v complex128) (err error)
func (SkipVisitor) VisitComplex64 ¶
func (s SkipVisitor) VisitComplex64(v complex64) (err error)
func (SkipVisitor) VisitFloat32 ¶
func (s SkipVisitor) VisitFloat32(v float32) (err error)
func (SkipVisitor) VisitFloat64 ¶
func (s SkipVisitor) VisitFloat64(v float64) (err error)
func (SkipVisitor) VisitInt ¶
func (s SkipVisitor) VisitInt(v int) (err error)
func (SkipVisitor) VisitInt16 ¶
func (s SkipVisitor) VisitInt16(v int16) (err error)
func (SkipVisitor) VisitInt32 ¶
func (s SkipVisitor) VisitInt32(v int32) (err error)
func (SkipVisitor) VisitInt64 ¶
func (s SkipVisitor) VisitInt64(v int64) (err error)
func (SkipVisitor) VisitInt8 ¶
func (s SkipVisitor) VisitInt8(v int8) (err error)
func (SkipVisitor) VisitMap ¶
func (s SkipVisitor) VisitMap(m MapAccess) (err error)
func (SkipVisitor) VisitNil ¶
func (s SkipVisitor) VisitNil() (err error)
func (SkipVisitor) VisitSlice ¶
func (s SkipVisitor) VisitSlice(sa SliceAccess) (err error)
func (SkipVisitor) VisitString ¶
func (s SkipVisitor) VisitString(v string) (err error)
func (SkipVisitor) VisitUint ¶
func (s SkipVisitor) VisitUint(v uint) (err error)
func (SkipVisitor) VisitUint16 ¶
func (s SkipVisitor) VisitUint16(v uint16) (err error)
func (SkipVisitor) VisitUint32 ¶
func (s SkipVisitor) VisitUint32(v uint32) (err error)
func (SkipVisitor) VisitUint64 ¶
func (s SkipVisitor) VisitUint64(v uint64) (err error)
func (SkipVisitor) VisitUint8 ¶
func (s SkipVisitor) VisitUint8(v uint8) (err error)
type SliceAccess ¶
type SliceSerializer ¶
type SliceSerializer interface { SerializeElement(v Serializable) (err error) EndSlice() (err error) }
type StringSerializer ¶
type StringSerializer string
func (StringSerializer) Serialize ¶
func (s StringSerializer) Serialize(ser Serializer) (err error)
type StringVisitor ¶
type StringVisitor struct {
// contains filtered or unexported fields
}
func NewStringVisitor ¶
func NewStringVisitor(v *string) StringVisitor
func (StringVisitor) String ¶
func (vi StringVisitor) String() string
func (StringVisitor) VisitBool ¶
func (vi StringVisitor) VisitBool(v bool) (err error)
func (StringVisitor) VisitBytes ¶
func (vi StringVisitor) VisitBytes(v []byte) (err error)
func (StringVisitor) VisitComplex128 ¶
func (vi StringVisitor) VisitComplex128(v complex128) (err error)
func (StringVisitor) VisitComplex64 ¶
func (vi StringVisitor) VisitComplex64(v complex64) (err error)
func (StringVisitor) VisitFloat32 ¶
func (vi StringVisitor) VisitFloat32(v float32) (err error)
func (StringVisitor) VisitFloat64 ¶
func (vi StringVisitor) VisitFloat64(v float64) (err error)
func (StringVisitor) VisitInt ¶
func (vi StringVisitor) VisitInt(v int) (err error)
func (StringVisitor) VisitInt16 ¶
func (vi StringVisitor) VisitInt16(v int16) (err error)
func (StringVisitor) VisitInt32 ¶
func (vi StringVisitor) VisitInt32(v int32) (err error)
func (StringVisitor) VisitInt64 ¶
func (vi StringVisitor) VisitInt64(v int64) (err error)
func (StringVisitor) VisitInt8 ¶
func (vi StringVisitor) VisitInt8(v int8) (err error)
func (StringVisitor) VisitMap ¶
func (vi StringVisitor) VisitMap(m MapAccess) (err error)
func (StringVisitor) VisitNil ¶
func (vi StringVisitor) VisitNil() (err error)
func (StringVisitor) VisitSlice ¶
func (vi StringVisitor) VisitSlice(s SliceAccess) (err error)
func (StringVisitor) VisitString ¶
func (vi StringVisitor) VisitString(v string) (err error)
func (StringVisitor) VisitUint ¶
func (vi StringVisitor) VisitUint(v uint) (err error)
func (StringVisitor) VisitUint16 ¶
func (vi StringVisitor) VisitUint16(v uint16) (err error)
func (StringVisitor) VisitUint32 ¶
func (vi StringVisitor) VisitUint32(v uint32) (err error)
func (StringVisitor) VisitUint64 ¶
func (vi StringVisitor) VisitUint64(v uint64) (err error)
func (StringVisitor) VisitUint8 ¶
func (vi StringVisitor) VisitUint8(v uint8) (err error)
type StructSerializer ¶
type StructSerializer interface { SerializeField(k, v Serializable) (err error) EndStruct() (err error) }
type Uint16Serializer ¶
type Uint16Serializer uint16
func (Uint16Serializer) Serialize ¶
func (s Uint16Serializer) Serialize(ser Serializer) (err error)
type Uint16Visitor ¶
type Uint16Visitor struct {
// contains filtered or unexported fields
}
func NewUint16Visitor ¶
func NewUint16Visitor(v *uint16) Uint16Visitor
func (Uint16Visitor) String ¶
func (vi Uint16Visitor) String() string
func (Uint16Visitor) VisitBool ¶
func (vi Uint16Visitor) VisitBool(v bool) (err error)
func (Uint16Visitor) VisitBytes ¶
func (vi Uint16Visitor) VisitBytes(v []byte) (err error)
func (Uint16Visitor) VisitComplex128 ¶
func (vi Uint16Visitor) VisitComplex128(v complex128) (err error)
func (Uint16Visitor) VisitComplex64 ¶
func (vi Uint16Visitor) VisitComplex64(v complex64) (err error)
func (Uint16Visitor) VisitFloat32 ¶
func (vi Uint16Visitor) VisitFloat32(v float32) (err error)
func (Uint16Visitor) VisitFloat64 ¶
func (vi Uint16Visitor) VisitFloat64(v float64) (err error)
func (Uint16Visitor) VisitInt ¶
func (vi Uint16Visitor) VisitInt(v int) (err error)
func (Uint16Visitor) VisitInt16 ¶
func (vi Uint16Visitor) VisitInt16(v int16) (err error)
func (Uint16Visitor) VisitInt32 ¶
func (vi Uint16Visitor) VisitInt32(v int32) (err error)
func (Uint16Visitor) VisitInt64 ¶
func (vi Uint16Visitor) VisitInt64(v int64) (err error)
func (Uint16Visitor) VisitInt8 ¶
func (vi Uint16Visitor) VisitInt8(v int8) (err error)
func (Uint16Visitor) VisitMap ¶
func (vi Uint16Visitor) VisitMap(m MapAccess) (err error)
func (Uint16Visitor) VisitNil ¶
func (vi Uint16Visitor) VisitNil() (err error)
func (Uint16Visitor) VisitSlice ¶
func (vi Uint16Visitor) VisitSlice(s SliceAccess) (err error)
func (Uint16Visitor) VisitString ¶
func (vi Uint16Visitor) VisitString(v string) (err error)
func (Uint16Visitor) VisitUint ¶
func (vi Uint16Visitor) VisitUint(v uint) (err error)
func (Uint16Visitor) VisitUint16 ¶
func (vi Uint16Visitor) VisitUint16(v uint16) (err error)
func (Uint16Visitor) VisitUint32 ¶
func (vi Uint16Visitor) VisitUint32(v uint32) (err error)
func (Uint16Visitor) VisitUint64 ¶
func (vi Uint16Visitor) VisitUint64(v uint64) (err error)
func (Uint16Visitor) VisitUint8 ¶
func (vi Uint16Visitor) VisitUint8(v uint8) (err error)
type Uint32Serializer ¶
type Uint32Serializer uint32
func (Uint32Serializer) Serialize ¶
func (s Uint32Serializer) Serialize(ser Serializer) (err error)
type Uint32Visitor ¶
type Uint32Visitor struct {
// contains filtered or unexported fields
}
func NewUint32Visitor ¶
func NewUint32Visitor(v *uint32) Uint32Visitor
func (Uint32Visitor) String ¶
func (vi Uint32Visitor) String() string
func (Uint32Visitor) VisitBool ¶
func (vi Uint32Visitor) VisitBool(v bool) (err error)
func (Uint32Visitor) VisitBytes ¶
func (vi Uint32Visitor) VisitBytes(v []byte) (err error)
func (Uint32Visitor) VisitComplex128 ¶
func (vi Uint32Visitor) VisitComplex128(v complex128) (err error)
func (Uint32Visitor) VisitComplex64 ¶
func (vi Uint32Visitor) VisitComplex64(v complex64) (err error)
func (Uint32Visitor) VisitFloat32 ¶
func (vi Uint32Visitor) VisitFloat32(v float32) (err error)
func (Uint32Visitor) VisitFloat64 ¶
func (vi Uint32Visitor) VisitFloat64(v float64) (err error)
func (Uint32Visitor) VisitInt ¶
func (vi Uint32Visitor) VisitInt(v int) (err error)
func (Uint32Visitor) VisitInt16 ¶
func (vi Uint32Visitor) VisitInt16(v int16) (err error)
func (Uint32Visitor) VisitInt32 ¶
func (vi Uint32Visitor) VisitInt32(v int32) (err error)
func (Uint32Visitor) VisitInt64 ¶
func (vi Uint32Visitor) VisitInt64(v int64) (err error)
func (Uint32Visitor) VisitInt8 ¶
func (vi Uint32Visitor) VisitInt8(v int8) (err error)
func (Uint32Visitor) VisitMap ¶
func (vi Uint32Visitor) VisitMap(m MapAccess) (err error)
func (Uint32Visitor) VisitNil ¶
func (vi Uint32Visitor) VisitNil() (err error)
func (Uint32Visitor) VisitSlice ¶
func (vi Uint32Visitor) VisitSlice(s SliceAccess) (err error)
func (Uint32Visitor) VisitString ¶
func (vi Uint32Visitor) VisitString(v string) (err error)
func (Uint32Visitor) VisitUint ¶
func (vi Uint32Visitor) VisitUint(v uint) (err error)
func (Uint32Visitor) VisitUint16 ¶
func (vi Uint32Visitor) VisitUint16(v uint16) (err error)
func (Uint32Visitor) VisitUint32 ¶
func (vi Uint32Visitor) VisitUint32(v uint32) (err error)
func (Uint32Visitor) VisitUint64 ¶
func (vi Uint32Visitor) VisitUint64(v uint64) (err error)
func (Uint32Visitor) VisitUint8 ¶
func (vi Uint32Visitor) VisitUint8(v uint8) (err error)
type Uint64Serializer ¶
type Uint64Serializer uint64
func (Uint64Serializer) Serialize ¶
func (s Uint64Serializer) Serialize(ser Serializer) (err error)
type Uint64Visitor ¶
type Uint64Visitor struct {
// contains filtered or unexported fields
}
func NewUint64Visitor ¶
func NewUint64Visitor(v *uint64) Uint64Visitor
func (Uint64Visitor) String ¶
func (vi Uint64Visitor) String() string
func (Uint64Visitor) VisitBool ¶
func (vi Uint64Visitor) VisitBool(v bool) (err error)
func (Uint64Visitor) VisitBytes ¶
func (vi Uint64Visitor) VisitBytes(v []byte) (err error)
func (Uint64Visitor) VisitComplex128 ¶
func (vi Uint64Visitor) VisitComplex128(v complex128) (err error)
func (Uint64Visitor) VisitComplex64 ¶
func (vi Uint64Visitor) VisitComplex64(v complex64) (err error)
func (Uint64Visitor) VisitFloat32 ¶
func (vi Uint64Visitor) VisitFloat32(v float32) (err error)
func (Uint64Visitor) VisitFloat64 ¶
func (vi Uint64Visitor) VisitFloat64(v float64) (err error)
func (Uint64Visitor) VisitInt ¶
func (vi Uint64Visitor) VisitInt(v int) (err error)
func (Uint64Visitor) VisitInt16 ¶
func (vi Uint64Visitor) VisitInt16(v int16) (err error)
func (Uint64Visitor) VisitInt32 ¶
func (vi Uint64Visitor) VisitInt32(v int32) (err error)
func (Uint64Visitor) VisitInt64 ¶
func (vi Uint64Visitor) VisitInt64(v int64) (err error)
func (Uint64Visitor) VisitInt8 ¶
func (vi Uint64Visitor) VisitInt8(v int8) (err error)
func (Uint64Visitor) VisitMap ¶
func (vi Uint64Visitor) VisitMap(m MapAccess) (err error)
func (Uint64Visitor) VisitNil ¶
func (vi Uint64Visitor) VisitNil() (err error)
func (Uint64Visitor) VisitSlice ¶
func (vi Uint64Visitor) VisitSlice(s SliceAccess) (err error)
func (Uint64Visitor) VisitString ¶
func (vi Uint64Visitor) VisitString(v string) (err error)
func (Uint64Visitor) VisitUint ¶
func (vi Uint64Visitor) VisitUint(v uint) (err error)
func (Uint64Visitor) VisitUint16 ¶
func (vi Uint64Visitor) VisitUint16(v uint16) (err error)
func (Uint64Visitor) VisitUint32 ¶
func (vi Uint64Visitor) VisitUint32(v uint32) (err error)
func (Uint64Visitor) VisitUint64 ¶
func (vi Uint64Visitor) VisitUint64(v uint64) (err error)
func (Uint64Visitor) VisitUint8 ¶
func (vi Uint64Visitor) VisitUint8(v uint8) (err error)
type Uint8Serializer ¶
type Uint8Serializer uint8
func (Uint8Serializer) Serialize ¶
func (s Uint8Serializer) Serialize(ser Serializer) (err error)
type Uint8Visitor ¶
type Uint8Visitor struct {
// contains filtered or unexported fields
}
func NewUint8Visitor ¶
func NewUint8Visitor(v *uint8) Uint8Visitor
func (Uint8Visitor) String ¶
func (vi Uint8Visitor) String() string
func (Uint8Visitor) VisitBool ¶
func (vi Uint8Visitor) VisitBool(v bool) (err error)
func (Uint8Visitor) VisitBytes ¶
func (vi Uint8Visitor) VisitBytes(v []byte) (err error)
func (Uint8Visitor) VisitComplex128 ¶
func (vi Uint8Visitor) VisitComplex128(v complex128) (err error)
func (Uint8Visitor) VisitComplex64 ¶
func (vi Uint8Visitor) VisitComplex64(v complex64) (err error)
func (Uint8Visitor) VisitFloat32 ¶
func (vi Uint8Visitor) VisitFloat32(v float32) (err error)
func (Uint8Visitor) VisitFloat64 ¶
func (vi Uint8Visitor) VisitFloat64(v float64) (err error)
func (Uint8Visitor) VisitInt ¶
func (vi Uint8Visitor) VisitInt(v int) (err error)
func (Uint8Visitor) VisitInt16 ¶
func (vi Uint8Visitor) VisitInt16(v int16) (err error)
func (Uint8Visitor) VisitInt32 ¶
func (vi Uint8Visitor) VisitInt32(v int32) (err error)
func (Uint8Visitor) VisitInt64 ¶
func (vi Uint8Visitor) VisitInt64(v int64) (err error)
func (Uint8Visitor) VisitInt8 ¶
func (vi Uint8Visitor) VisitInt8(v int8) (err error)
func (Uint8Visitor) VisitMap ¶
func (vi Uint8Visitor) VisitMap(m MapAccess) (err error)
func (Uint8Visitor) VisitNil ¶
func (vi Uint8Visitor) VisitNil() (err error)
func (Uint8Visitor) VisitSlice ¶
func (vi Uint8Visitor) VisitSlice(s SliceAccess) (err error)
func (Uint8Visitor) VisitString ¶
func (vi Uint8Visitor) VisitString(v string) (err error)
func (Uint8Visitor) VisitUint ¶
func (vi Uint8Visitor) VisitUint(v uint) (err error)
func (Uint8Visitor) VisitUint16 ¶
func (vi Uint8Visitor) VisitUint16(v uint16) (err error)
func (Uint8Visitor) VisitUint32 ¶
func (vi Uint8Visitor) VisitUint32(v uint32) (err error)
func (Uint8Visitor) VisitUint64 ¶
func (vi Uint8Visitor) VisitUint64(v uint64) (err error)
func (Uint8Visitor) VisitUint8 ¶
func (vi Uint8Visitor) VisitUint8(v uint8) (err error)
type UintSerializer ¶
type UintSerializer uint
func (UintSerializer) Serialize ¶
func (s UintSerializer) Serialize(ser Serializer) (err error)
type UintVisitor ¶
type UintVisitor struct {
// contains filtered or unexported fields
}
func NewUintVisitor ¶
func NewUintVisitor(v *uint) UintVisitor
func (UintVisitor) String ¶
func (vi UintVisitor) String() string
func (UintVisitor) VisitBool ¶
func (vi UintVisitor) VisitBool(v bool) (err error)
func (UintVisitor) VisitBytes ¶
func (vi UintVisitor) VisitBytes(v []byte) (err error)
func (UintVisitor) VisitComplex128 ¶
func (vi UintVisitor) VisitComplex128(v complex128) (err error)
func (UintVisitor) VisitComplex64 ¶
func (vi UintVisitor) VisitComplex64(v complex64) (err error)
func (UintVisitor) VisitFloat32 ¶
func (vi UintVisitor) VisitFloat32(v float32) (err error)
func (UintVisitor) VisitFloat64 ¶
func (vi UintVisitor) VisitFloat64(v float64) (err error)
func (UintVisitor) VisitInt ¶
func (vi UintVisitor) VisitInt(v int) (err error)
func (UintVisitor) VisitInt16 ¶
func (vi UintVisitor) VisitInt16(v int16) (err error)
func (UintVisitor) VisitInt32 ¶
func (vi UintVisitor) VisitInt32(v int32) (err error)
func (UintVisitor) VisitInt64 ¶
func (vi UintVisitor) VisitInt64(v int64) (err error)
func (UintVisitor) VisitInt8 ¶
func (vi UintVisitor) VisitInt8(v int8) (err error)
func (UintVisitor) VisitMap ¶
func (vi UintVisitor) VisitMap(m MapAccess) (err error)
func (UintVisitor) VisitNil ¶
func (vi UintVisitor) VisitNil() (err error)
func (UintVisitor) VisitSlice ¶
func (vi UintVisitor) VisitSlice(s SliceAccess) (err error)
func (UintVisitor) VisitString ¶
func (vi UintVisitor) VisitString(v string) (err error)
func (UintVisitor) VisitUint ¶
func (vi UintVisitor) VisitUint(v uint) (err error)
func (UintVisitor) VisitUint16 ¶
func (vi UintVisitor) VisitUint16(v uint16) (err error)
func (UintVisitor) VisitUint32 ¶
func (vi UintVisitor) VisitUint32(v uint32) (err error)
func (UintVisitor) VisitUint64 ¶
func (vi UintVisitor) VisitUint64(v uint64) (err error)
func (UintVisitor) VisitUint8 ¶
func (vi UintVisitor) VisitUint8(v uint8) (err error)
type Unexpected ¶
type Unexpected interface {
// contains filtered or unexported methods
}
type UnexpectedBool ¶
type UnexpectedBool bool
type UnexpectedByte ¶
type UnexpectedByte byte
type UnexpectedBytes ¶
type UnexpectedBytes struct { }
type UnexpectedComplex128 ¶
type UnexpectedComplex128 complex128
type UnexpectedComplex64 ¶
type UnexpectedComplex64 complex64
type UnexpectedFloat32 ¶
type UnexpectedFloat32 float32
type UnexpectedFloat64 ¶
type UnexpectedFloat64 float64
type UnexpectedInt ¶
type UnexpectedInt int
type UnexpectedInt16 ¶
type UnexpectedInt16 int16
type UnexpectedInt32 ¶
type UnexpectedInt32 int32
type UnexpectedInt64 ¶
type UnexpectedInt64 int64
type UnexpectedInt8 ¶
type UnexpectedInt8 int8
type UnexpectedMap ¶
type UnexpectedMap struct { }
type UnexpectedNil ¶
type UnexpectedNil struct { }
type UnexpectedRune ¶
type UnexpectedRune rune
type UnexpectedSlice ¶
type UnexpectedSlice struct { }
type UnexpectedString ¶
type UnexpectedString string
type UnexpectedStruct ¶
type UnexpectedStruct struct { }
type UnexpectedUint ¶
type UnexpectedUint uint
type UnexpectedUint16 ¶
type UnexpectedUint16 uint16
type UnexpectedUint32 ¶
type UnexpectedUint32 uint32
type UnexpectedUint64 ¶
type UnexpectedUint64 uint64
type UnexpectedUint8 ¶
type UnexpectedUint8 uint8
type Visitor ¶
type Visitor interface { VisitNil() (err error) VisitBool(v bool) (err error) VisitInt(v int) (err error) VisitInt8(v int8) (err error) VisitInt16(v int16) (err error) VisitInt32(v int32) (err error) VisitInt64(v int64) (err error) VisitUint(v uint) (err error) VisitUint8(v uint8) (err error) VisitUint16(v uint16) (err error) VisitUint32(v uint32) (err error) VisitUint64(v uint64) (err error) VisitFloat32(v float32) (err error) VisitFloat64(v float64) (err error) VisitComplex64(v complex64) (err error) VisitComplex128(v complex128) (err error) VisitString(v string) (err error) VisitBytes(v []byte) (err error) VisitSlice(s SliceAccess) (err error) VisitMap(m MapAccess) (err error) }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.