Documentation ¶
Index ¶
- type ExpectObjVisitor
- func (e *ExpectObjVisitor) Done() bool
- func (v *ExpectObjVisitor) OnArrayFinished() error
- func (v *ExpectObjVisitor) OnArrayStart(len int, baseType structform.BaseType) error
- func (v *ExpectObjVisitor) OnBool(b bool) error
- func (v *ExpectObjVisitor) OnByte(b byte) error
- func (v *ExpectObjVisitor) OnFloat32(f float32) error
- func (v *ExpectObjVisitor) OnFloat64(f float64) error
- func (v *ExpectObjVisitor) OnInt(i int) error
- func (v *ExpectObjVisitor) OnInt16(i int16) error
- func (v *ExpectObjVisitor) OnInt32(i int32) error
- func (v *ExpectObjVisitor) OnInt64(i int64) error
- func (v *ExpectObjVisitor) OnInt8(i int8) error
- func (v *ExpectObjVisitor) OnKey(s string) error
- func (v *ExpectObjVisitor) OnKeyRef(s []byte) error
- func (v *ExpectObjVisitor) OnNil() error
- func (v *ExpectObjVisitor) OnObjectFinished() error
- func (v *ExpectObjVisitor) OnObjectStart(len int, baseType structform.BaseType) error
- func (v *ExpectObjVisitor) OnString(s string) error
- func (v *ExpectObjVisitor) OnStringRef(s []byte) error
- func (v *ExpectObjVisitor) OnUint(u uint) error
- func (v *ExpectObjVisitor) OnUint16(u uint16) error
- func (v *ExpectObjVisitor) OnUint32(u uint32) error
- func (v *ExpectObjVisitor) OnUint64(u uint64) error
- func (v *ExpectObjVisitor) OnUint8(u uint8) error
- func (e *ExpectObjVisitor) SetActive(a structform.ExtVisitor)
- type StringConvVisitor
- func (v *StringConvVisitor) OnArrayFinished() error
- func (v *StringConvVisitor) OnArrayStart(l int, t structform.BaseType) error
- func (v *StringConvVisitor) OnBool(b bool) error
- func (v *StringConvVisitor) OnFloat32(f float32) error
- func (v *StringConvVisitor) OnFloat64(f float64) error
- func (v *StringConvVisitor) OnInt(i int) error
- func (v *StringConvVisitor) OnInt16(i int16) error
- func (v *StringConvVisitor) OnInt32(i int32) error
- func (v *StringConvVisitor) OnInt64(i int64) error
- func (v *StringConvVisitor) OnInt8(i int8) error
- func (v *StringConvVisitor) OnKey(s string) error
- func (v *StringConvVisitor) OnKeyRef(s []byte) error
- func (v *StringConvVisitor) OnNil() error
- func (v *StringConvVisitor) OnObjectFinished() error
- func (v *StringConvVisitor) OnObjectStart(l int, t structform.BaseType) error
- func (v *StringConvVisitor) OnString(s string) error
- func (v *StringConvVisitor) OnStringRef(b []byte) error
- func (v *StringConvVisitor) OnUint(i uint) error
- func (v *StringConvVisitor) OnUint16(i uint16) error
- func (v *StringConvVisitor) OnUint32(i uint32) error
- func (v *StringConvVisitor) OnUint64(i uint64) error
- func (v *StringConvVisitor) OnUint8(i uint8) error
- func (v *StringConvVisitor) SetActive(a structform.ExtVisitor)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExpectObjVisitor ¶
type ExpectObjVisitor struct {
// contains filtered or unexported fields
}
func NewExpectObjVisitor ¶
func NewExpectObjVisitor(target structform.ExtVisitor) *ExpectObjVisitor
func (*ExpectObjVisitor) Done ¶
func (e *ExpectObjVisitor) Done() bool
func (*ExpectObjVisitor) OnArrayFinished ¶
func (v *ExpectObjVisitor) OnArrayFinished() error
func (*ExpectObjVisitor) OnArrayStart ¶
func (v *ExpectObjVisitor) OnArrayStart(len int, baseType structform.BaseType) error
func (*ExpectObjVisitor) OnBool ¶
func (v *ExpectObjVisitor) OnBool(b bool) error
func (*ExpectObjVisitor) OnByte ¶
func (v *ExpectObjVisitor) OnByte(b byte) error
func (*ExpectObjVisitor) OnFloat32 ¶
func (v *ExpectObjVisitor) OnFloat32(f float32) error
func (*ExpectObjVisitor) OnFloat64 ¶
func (v *ExpectObjVisitor) OnFloat64(f float64) error
func (*ExpectObjVisitor) OnInt ¶
func (v *ExpectObjVisitor) OnInt(i int) error
func (*ExpectObjVisitor) OnInt16 ¶
func (v *ExpectObjVisitor) OnInt16(i int16) error
func (*ExpectObjVisitor) OnInt32 ¶
func (v *ExpectObjVisitor) OnInt32(i int32) error
func (*ExpectObjVisitor) OnInt64 ¶
func (v *ExpectObjVisitor) OnInt64(i int64) error
func (*ExpectObjVisitor) OnInt8 ¶
func (v *ExpectObjVisitor) OnInt8(i int8) error
func (*ExpectObjVisitor) OnKey ¶
func (v *ExpectObjVisitor) OnKey(s string) error
func (*ExpectObjVisitor) OnKeyRef ¶
func (v *ExpectObjVisitor) OnKeyRef(s []byte) error
func (*ExpectObjVisitor) OnNil ¶
func (v *ExpectObjVisitor) OnNil() error
func (*ExpectObjVisitor) OnObjectFinished ¶
func (v *ExpectObjVisitor) OnObjectFinished() error
func (*ExpectObjVisitor) OnObjectStart ¶
func (v *ExpectObjVisitor) OnObjectStart(len int, baseType structform.BaseType) error
func (*ExpectObjVisitor) OnString ¶
func (v *ExpectObjVisitor) OnString(s string) error
func (*ExpectObjVisitor) OnStringRef ¶
func (v *ExpectObjVisitor) OnStringRef(s []byte) error
func (*ExpectObjVisitor) OnUint ¶
func (v *ExpectObjVisitor) OnUint(u uint) error
func (*ExpectObjVisitor) OnUint16 ¶
func (v *ExpectObjVisitor) OnUint16(u uint16) error
func (*ExpectObjVisitor) OnUint32 ¶
func (v *ExpectObjVisitor) OnUint32(u uint32) error
func (*ExpectObjVisitor) OnUint64 ¶
func (v *ExpectObjVisitor) OnUint64(u uint64) error
func (*ExpectObjVisitor) OnUint8 ¶
func (v *ExpectObjVisitor) OnUint8(u uint8) error
func (*ExpectObjVisitor) SetActive ¶
func (e *ExpectObjVisitor) SetActive(a structform.ExtVisitor)
type StringConvVisitor ¶
type StringConvVisitor struct {
// contains filtered or unexported fields
}
func NewStringConvVisitor ¶
func NewStringConvVisitor(target structform.ExtVisitor) *StringConvVisitor
func (*StringConvVisitor) OnArrayFinished ¶
func (v *StringConvVisitor) OnArrayFinished() error
func (*StringConvVisitor) OnArrayStart ¶
func (v *StringConvVisitor) OnArrayStart(l int, t structform.BaseType) error
func (*StringConvVisitor) OnBool ¶
func (v *StringConvVisitor) OnBool(b bool) error
func (*StringConvVisitor) OnFloat32 ¶
func (v *StringConvVisitor) OnFloat32(f float32) error
func (*StringConvVisitor) OnFloat64 ¶
func (v *StringConvVisitor) OnFloat64(f float64) error
func (*StringConvVisitor) OnInt ¶
func (v *StringConvVisitor) OnInt(i int) error
func (*StringConvVisitor) OnInt16 ¶
func (v *StringConvVisitor) OnInt16(i int16) error
func (*StringConvVisitor) OnInt32 ¶
func (v *StringConvVisitor) OnInt32(i int32) error
func (*StringConvVisitor) OnInt64 ¶
func (v *StringConvVisitor) OnInt64(i int64) error
func (*StringConvVisitor) OnInt8 ¶
func (v *StringConvVisitor) OnInt8(i int8) error
func (*StringConvVisitor) OnKey ¶
func (v *StringConvVisitor) OnKey(s string) error
func (*StringConvVisitor) OnKeyRef ¶
func (v *StringConvVisitor) OnKeyRef(s []byte) error
func (*StringConvVisitor) OnNil ¶
func (v *StringConvVisitor) OnNil() error
func (*StringConvVisitor) OnObjectFinished ¶
func (v *StringConvVisitor) OnObjectFinished() error
func (*StringConvVisitor) OnObjectStart ¶
func (v *StringConvVisitor) OnObjectStart(l int, t structform.BaseType) error
func (*StringConvVisitor) OnString ¶
func (v *StringConvVisitor) OnString(s string) error
func (*StringConvVisitor) OnStringRef ¶
func (v *StringConvVisitor) OnStringRef(b []byte) error
func (*StringConvVisitor) OnUint ¶
func (v *StringConvVisitor) OnUint(i uint) error
func (*StringConvVisitor) OnUint16 ¶
func (v *StringConvVisitor) OnUint16(i uint16) error
func (*StringConvVisitor) OnUint32 ¶
func (v *StringConvVisitor) OnUint32(i uint32) error
func (*StringConvVisitor) OnUint64 ¶
func (v *StringConvVisitor) OnUint64(i uint64) error
func (*StringConvVisitor) OnUint8 ¶
func (v *StringConvVisitor) OnUint8(i uint8) error
func (*StringConvVisitor) SetActive ¶
func (v *StringConvVisitor) SetActive(a structform.ExtVisitor)
Click to show internal directories.
Click to hide internal directories.