Documentation
¶
Overview ¶
Code generated by thriftgo (0.3.18) (fastgo). DO NOT EDIT.
Index ¶
- Variables
- type DefaultValues
- func (p *DefaultValues) BLength() int
- func (p *DefaultValues) FastAppend(b []byte) []byte
- func (p *DefaultValues) FastRead(b []byte) (off int, err error)
- func (p *DefaultValues) FastWrite(b []byte) int
- func (p *DefaultValues) FastWriteNocopy(b []byte, w thrift.NocopyWriter) (n int)
- func (p *DefaultValues) GetBinaryFieldWithDefault() (v []byte)
- func (p *DefaultValues) GetByteFieldWithDefault() (v int8)
- func (p *DefaultValues) GetDoubleFieldWithDefault() (v float64)
- func (p *DefaultValues) GetEnumFieldWithDefault() (v Enums)
- func (p *DefaultValues) GetI32FieldWithDefault() (v int32)
- func (p *DefaultValues) GetI64FieldWithDefault() (v int64)
- func (p *DefaultValues) GetListFieldWithDefault() (v []int32)
- func (p *DefaultValues) GetMapI32I64WithDefault() (v map[int32]int64)
- func (p *DefaultValues) GetMapI64StringWithDefault() (v map[int64]string)
- func (p *DefaultValues) GetMapStringSimpleWithDefault() (v map[string]*Simple)
- func (p *DefaultValues) GetMapStringStringWithDefault() (v map[string]string)
- func (p *DefaultValues) GetSetFieldWithDefault() (v []int32)
- func (p *DefaultValues) GetSimpleStructWithDefault() (v *Simple)
- func (p *DefaultValues) GetStringFieldWithDefault() (v string)
- func (p *DefaultValues) InitDefault()
- func (p *DefaultValues) IsSetSimpleStructWithDefault() bool
- func (p *DefaultValues) Read(iprot thrift.TProtocol) (err error)
- func (p *DefaultValues) ReadField1(iprot thrift.TProtocol) error
- func (p *DefaultValues) ReadField10(iprot thrift.TProtocol) error
- func (p *DefaultValues) ReadField11(iprot thrift.TProtocol) error
- func (p *DefaultValues) ReadField12(iprot thrift.TProtocol) error
- func (p *DefaultValues) ReadField13(iprot thrift.TProtocol) error
- func (p *DefaultValues) ReadField14(iprot thrift.TProtocol) error
- func (p *DefaultValues) ReadField2(iprot thrift.TProtocol) error
- func (p *DefaultValues) ReadField3(iprot thrift.TProtocol) error
- func (p *DefaultValues) ReadField4(iprot thrift.TProtocol) error
- func (p *DefaultValues) ReadField5(iprot thrift.TProtocol) error
- func (p *DefaultValues) ReadField6(iprot thrift.TProtocol) error
- func (p *DefaultValues) ReadField7(iprot thrift.TProtocol) error
- func (p *DefaultValues) ReadField8(iprot thrift.TProtocol) error
- func (p *DefaultValues) ReadField9(iprot thrift.TProtocol) error
- func (p *DefaultValues) String() string
- func (p *DefaultValues) Write(oprot thrift.TProtocol) (err error)
- type Enums
- type Nesting
- func (p *Nesting) BLength() int
- func (p *Nesting) FastAppend(b []byte) []byte
- func (p *Nesting) FastRead(b []byte) (off int, err error)
- func (p *Nesting) FastWrite(b []byte) int
- func (p *Nesting) FastWriteNocopy(b []byte, w thrift.NocopyWriter) (n int)
- func (p *Nesting) GetBinary() (v []byte)
- func (p *Nesting) GetByte() (v int8)
- func (p *Nesting) GetDouble() (v float64)
- func (p *Nesting) GetI32() (v int32)
- func (p *Nesting) GetI64() (v int64)
- func (p *Nesting) GetListI32() (v []int32)
- func (p *Nesting) GetListI64() (v []int64)
- func (p *Nesting) GetListSimple() (v []*Simple)
- func (p *Nesting) GetListString() (v []string)
- func (p *Nesting) GetMapI32I64() (v map[int32]int64)
- func (p *Nesting) GetMapI64String() (v map[int64]string)
- func (p *Nesting) GetMapStringSimple() (v map[string]*Simple)
- func (p *Nesting) GetMapStringString() (v map[string]string)
- func (p *Nesting) GetSimpleStruct() (v *Simple)
- func (p *Nesting) GetString() (v string)
- func (p *Nesting) InitDefault()
- func (p *Nesting) IsSetSimpleStruct() bool
- func (p *Nesting) Read(iprot thrift.TProtocol) (err error)
- func (p *Nesting) ReadField1(iprot thrift.TProtocol) error
- func (p *Nesting) ReadField10(iprot thrift.TProtocol) error
- func (p *Nesting) ReadField11(iprot thrift.TProtocol) error
- func (p *Nesting) ReadField12(iprot thrift.TProtocol) error
- func (p *Nesting) ReadField13(iprot thrift.TProtocol) error
- func (p *Nesting) ReadField14(iprot thrift.TProtocol) error
- func (p *Nesting) ReadField15(iprot thrift.TProtocol) error
- func (p *Nesting) ReadField2(iprot thrift.TProtocol) error
- func (p *Nesting) ReadField3(iprot thrift.TProtocol) error
- func (p *Nesting) ReadField4(iprot thrift.TProtocol) error
- func (p *Nesting) ReadField5(iprot thrift.TProtocol) error
- func (p *Nesting) ReadField6(iprot thrift.TProtocol) error
- func (p *Nesting) ReadField7(iprot thrift.TProtocol) error
- func (p *Nesting) ReadField8(iprot thrift.TProtocol) error
- func (p *Nesting) ReadField9(iprot thrift.TProtocol) error
- func (p *Nesting) String() string
- func (p *Nesting) Write(oprot thrift.TProtocol) (err error)
- type Nesting2
- func (p *Nesting2) BLength() int
- func (p *Nesting2) FastAppend(b []byte) []byte
- func (p *Nesting2) FastRead(b []byte) (off int, err error)
- func (p *Nesting2) FastWrite(b []byte) int
- func (p *Nesting2) FastWriteNocopy(b []byte, w thrift.NocopyWriter) (n int)
- func (p *Nesting2) GetBinary() (v []byte)
- func (p *Nesting2) GetByte() (v int8)
- func (p *Nesting2) GetDouble() (v float64)
- func (p *Nesting2) GetI32() (v int32)
- func (p *Nesting2) GetI64() (v int64)
- func (p *Nesting2) GetListNesting() (v []*Nesting)
- func (p *Nesting2) GetMapSimpleNesting() (v map[*Simple]*Nesting)
- func (p *Nesting2) GetNestingStruct() (v *Nesting)
- func (p *Nesting2) GetSetNesting() (v []*Nesting)
- func (p *Nesting2) GetSimpleStruct() (v *Simple)
- func (p *Nesting2) GetString() (v string)
- func (p *Nesting2) InitDefault()
- func (p *Nesting2) IsSetNestingStruct() bool
- func (p *Nesting2) IsSetSimpleStruct() bool
- func (p *Nesting2) Read(iprot thrift.TProtocol) (err error)
- func (p *Nesting2) ReadField1(iprot thrift.TProtocol) error
- func (p *Nesting2) ReadField10(iprot thrift.TProtocol) error
- func (p *Nesting2) ReadField11(iprot thrift.TProtocol) error
- func (p *Nesting2) ReadField2(iprot thrift.TProtocol) error
- func (p *Nesting2) ReadField3(iprot thrift.TProtocol) error
- func (p *Nesting2) ReadField4(iprot thrift.TProtocol) error
- func (p *Nesting2) ReadField5(iprot thrift.TProtocol) error
- func (p *Nesting2) ReadField6(iprot thrift.TProtocol) error
- func (p *Nesting2) ReadField7(iprot thrift.TProtocol) error
- func (p *Nesting2) ReadField8(iprot thrift.TProtocol) error
- func (p *Nesting2) ReadField9(iprot thrift.TProtocol) error
- func (p *Nesting2) String() string
- func (p *Nesting2) Write(oprot thrift.TProtocol) (err error)
- type OptionalDefaultValues
- func (p *OptionalDefaultValues) BLength() int
- func (p *OptionalDefaultValues) FastAppend(b []byte) []byte
- func (p *OptionalDefaultValues) FastRead(b []byte) (off int, err error)
- func (p *OptionalDefaultValues) FastWrite(b []byte) int
- func (p *OptionalDefaultValues) FastWriteNocopy(b []byte, w thrift.NocopyWriter) (n int)
- func (p *OptionalDefaultValues) GetBinaryFieldWithDefault() (v []byte)
- func (p *OptionalDefaultValues) GetByteFieldWithDefault() (v int8)
- func (p *OptionalDefaultValues) GetDoubleFieldWithDefault() (v float64)
- func (p *OptionalDefaultValues) GetEnumFieldWithDefault() (v Enums)
- func (p *OptionalDefaultValues) GetI32FieldWithDefault() (v int32)
- func (p *OptionalDefaultValues) GetI64FieldWithDefault() (v int64)
- func (p *OptionalDefaultValues) GetListFieldWithDefault() (v []int32)
- func (p *OptionalDefaultValues) GetMapI32I64WithDefault() (v map[int32]int64)
- func (p *OptionalDefaultValues) GetMapI64StringWithDefault() (v map[int64]string)
- func (p *OptionalDefaultValues) GetMapStringSimpleWithDefault() (v map[string]*Simple)
- func (p *OptionalDefaultValues) GetMapStringStringWithDefault() (v map[string]string)
- func (p *OptionalDefaultValues) GetSetFieldWithDefault() (v []int32)
- func (p *OptionalDefaultValues) GetSimpleStructWithDefault() (v *Simple)
- func (p *OptionalDefaultValues) GetStringFieldWithDefault() (v string)
- func (p *OptionalDefaultValues) InitDefault()
- func (p *OptionalDefaultValues) IsSetBinaryFieldWithDefault() bool
- func (p *OptionalDefaultValues) IsSetByteFieldWithDefault() bool
- func (p *OptionalDefaultValues) IsSetDoubleFieldWithDefault() bool
- func (p *OptionalDefaultValues) IsSetEnumFieldWithDefault() bool
- func (p *OptionalDefaultValues) IsSetI32FieldWithDefault() bool
- func (p *OptionalDefaultValues) IsSetI64FieldWithDefault() bool
- func (p *OptionalDefaultValues) IsSetListFieldWithDefault() bool
- func (p *OptionalDefaultValues) IsSetMapI32I64WithDefault() bool
- func (p *OptionalDefaultValues) IsSetMapI64StringWithDefault() bool
- func (p *OptionalDefaultValues) IsSetMapStringSimpleWithDefault() bool
- func (p *OptionalDefaultValues) IsSetMapStringStringWithDefault() bool
- func (p *OptionalDefaultValues) IsSetSetFieldWithDefault() bool
- func (p *OptionalDefaultValues) IsSetSimpleStructWithDefault() bool
- func (p *OptionalDefaultValues) IsSetStringFieldWithDefault() bool
- func (p *OptionalDefaultValues) Read(iprot thrift.TProtocol) (err error)
- func (p *OptionalDefaultValues) ReadField1(iprot thrift.TProtocol) error
- func (p *OptionalDefaultValues) ReadField10(iprot thrift.TProtocol) error
- func (p *OptionalDefaultValues) ReadField11(iprot thrift.TProtocol) error
- func (p *OptionalDefaultValues) ReadField12(iprot thrift.TProtocol) error
- func (p *OptionalDefaultValues) ReadField13(iprot thrift.TProtocol) error
- func (p *OptionalDefaultValues) ReadField14(iprot thrift.TProtocol) error
- func (p *OptionalDefaultValues) ReadField2(iprot thrift.TProtocol) error
- func (p *OptionalDefaultValues) ReadField3(iprot thrift.TProtocol) error
- func (p *OptionalDefaultValues) ReadField4(iprot thrift.TProtocol) error
- func (p *OptionalDefaultValues) ReadField5(iprot thrift.TProtocol) error
- func (p *OptionalDefaultValues) ReadField6(iprot thrift.TProtocol) error
- func (p *OptionalDefaultValues) ReadField7(iprot thrift.TProtocol) error
- func (p *OptionalDefaultValues) ReadField8(iprot thrift.TProtocol) error
- func (p *OptionalDefaultValues) ReadField9(iprot thrift.TProtocol) error
- func (p *OptionalDefaultValues) String() string
- func (p *OptionalDefaultValues) Write(oprot thrift.TProtocol) (err error)
- type Simple
- func (p *Simple) BLength() int
- func (p *Simple) FastAppend(b []byte) []byte
- func (p *Simple) FastRead(b []byte) (off int, err error)
- func (p *Simple) FastWrite(b []byte) int
- func (p *Simple) FastWriteNocopy(b []byte, w thrift.NocopyWriter) (n int)
- func (p *Simple) GetBinaryField() (v []byte)
- func (p *Simple) GetByteField() (v int8)
- func (p *Simple) GetDoubleField() (v float64)
- func (p *Simple) GetEnumField() (v Enums)
- func (p *Simple) GetI32Field() (v int32)
- func (p *Simple) GetI64Field() (v int64)
- func (p *Simple) GetStringField() (v string)
- func (p *Simple) InitDefault()
- func (p *Simple) Read(iprot thrift.TProtocol) (err error)
- func (p *Simple) ReadField1(iprot thrift.TProtocol) error
- func (p *Simple) ReadField2(iprot thrift.TProtocol) error
- func (p *Simple) ReadField3(iprot thrift.TProtocol) error
- func (p *Simple) ReadField4(iprot thrift.TProtocol) error
- func (p *Simple) ReadField5(iprot thrift.TProtocol) error
- func (p *Simple) ReadField6(iprot thrift.TProtocol) error
- func (p *Simple) ReadField7(iprot thrift.TProtocol) error
- func (p *Simple) String() string
- func (p *Simple) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var OptionalDefaultValues_BinaryFieldWithDefault_DEFAULT []byte = []byte("binary field default data")
View Source
var OptionalDefaultValues_ByteFieldWithDefault_DEFAULT int8 = 1
View Source
var OptionalDefaultValues_DoubleFieldWithDefault_DEFAULT float64 = 3.0
View Source
var OptionalDefaultValues_I32FieldWithDefault_DEFAULT int32 = 4
View Source
var OptionalDefaultValues_I64FieldWithDefault_DEFAULT int64 = 2
View Source
var OptionalDefaultValues_ListFieldWithDefault_DEFAULT []int32 = []int32{
1,
2,
3,
4,
5,
}
View Source
var OptionalDefaultValues_MapI32I64WithDefault_DEFAULT map[int32]int64 = map[int32]int64{
1: 2,
3: 4,
}
View Source
var OptionalDefaultValues_MapI64StringWithDefault_DEFAULT map[int64]string = map[int64]string{
1: "aaa",
2: "bbb",
}
View Source
var OptionalDefaultValues_MapStringSimpleWithDefault_DEFAULT map[string]*Simple = map[string]*Simple{ "aaa": &Simple{ ByteField: 20, I64Field: 21, DoubleField: 22.0, I32Field: 23, StringField: "another simple string", BinaryField: []byte("another simple binary"), EnumField: Enums_ValueC, }, }
View Source
var OptionalDefaultValues_MapStringStringWithDefault_DEFAULT map[string]string = map[string]string{
"aaa": "xxx",
"bbb": "yyy",
}
View Source
var OptionalDefaultValues_SetFieldWithDefault_DEFAULT []int32 = []int32{
1,
2,
3,
4,
5,
}
View Source
var OptionalDefaultValues_StringFieldWithDefault_DEFAULT string = "string field default text"
Functions ¶
This section is empty.
Types ¶
type DefaultValues ¶
type DefaultValues struct { ByteFieldWithDefault int8 `thrift:"ByteFieldWithDefault,1" frugal:"1,default,byte" json:"ByteFieldWithDefault"` I64FieldWithDefault int64 `thrift:"I64FieldWithDefault,2" frugal:"2,default,i64" json:"I64FieldWithDefault"` DoubleFieldWithDefault float64 `thrift:"DoubleFieldWithDefault,3" frugal:"3,default,double" json:"DoubleFieldWithDefault"` I32FieldWithDefault int32 `thrift:"I32FieldWithDefault,4" frugal:"4,default,i32" json:"I32FieldWithDefault"` StringFieldWithDefault string `thrift:"StringFieldWithDefault,5" frugal:"5,default,string" json:"StringFieldWithDefault"` BinaryFieldWithDefault []byte `thrift:"BinaryFieldWithDefault,6" frugal:"6,default,binary" json:"BinaryFieldWithDefault"` EnumFieldWithDefault Enums `thrift:"EnumFieldWithDefault,7" frugal:"7,default,Enums" json:"EnumFieldWithDefault"` SimpleStructWithDefault *Simple `thrift:"SimpleStructWithDefault,8" frugal:"8,default,Simple" json:"SimpleStructWithDefault"` ListFieldWithDefault []int32 `thrift:"ListFieldWithDefault,9" frugal:"9,default,list<i32>" json:"ListFieldWithDefault"` SetFieldWithDefault []int32 `thrift:"SetFieldWithDefault,10" frugal:"10,default,set<i32>" json:"SetFieldWithDefault"` MapI32I64WithDefault map[int32]int64 `thrift:"MapI32I64WithDefault,11" frugal:"11,default,map<i32:i64>" json:"MapI32I64WithDefault"` MapI64StringWithDefault map[int64]string `thrift:"MapI64StringWithDefault,12" frugal:"12,default,map<i64:string>" json:"MapI64StringWithDefault"` MapStringStringWithDefault map[string]string `thrift:"MapStringStringWithDefault,13" frugal:"13,default,map<string:string>" json:"MapStringStringWithDefault"` MapStringSimpleWithDefault map[string]*Simple `thrift:"MapStringSimpleWithDefault,14" frugal:"14,default,map<string:Simple>" json:"MapStringSimpleWithDefault"` }
func NewDefaultValues ¶
func NewDefaultValues() *DefaultValues
func (*DefaultValues) BLength ¶
func (p *DefaultValues) BLength() int
func (*DefaultValues) FastAppend ¶
func (p *DefaultValues) FastAppend(b []byte) []byte
func (*DefaultValues) FastWrite ¶
func (p *DefaultValues) FastWrite(b []byte) int
func (*DefaultValues) FastWriteNocopy ¶
func (p *DefaultValues) FastWriteNocopy(b []byte, w thrift.NocopyWriter) (n int)
func (*DefaultValues) GetBinaryFieldWithDefault ¶
func (p *DefaultValues) GetBinaryFieldWithDefault() (v []byte)
func (*DefaultValues) GetByteFieldWithDefault ¶
func (p *DefaultValues) GetByteFieldWithDefault() (v int8)
func (*DefaultValues) GetDoubleFieldWithDefault ¶
func (p *DefaultValues) GetDoubleFieldWithDefault() (v float64)
func (*DefaultValues) GetEnumFieldWithDefault ¶
func (p *DefaultValues) GetEnumFieldWithDefault() (v Enums)
func (*DefaultValues) GetI32FieldWithDefault ¶
func (p *DefaultValues) GetI32FieldWithDefault() (v int32)
func (*DefaultValues) GetI64FieldWithDefault ¶
func (p *DefaultValues) GetI64FieldWithDefault() (v int64)
func (*DefaultValues) GetListFieldWithDefault ¶
func (p *DefaultValues) GetListFieldWithDefault() (v []int32)
func (*DefaultValues) GetMapI32I64WithDefault ¶
func (p *DefaultValues) GetMapI32I64WithDefault() (v map[int32]int64)
func (*DefaultValues) GetMapI64StringWithDefault ¶
func (p *DefaultValues) GetMapI64StringWithDefault() (v map[int64]string)
func (*DefaultValues) GetMapStringSimpleWithDefault ¶
func (p *DefaultValues) GetMapStringSimpleWithDefault() (v map[string]*Simple)
func (*DefaultValues) GetMapStringStringWithDefault ¶
func (p *DefaultValues) GetMapStringStringWithDefault() (v map[string]string)
func (*DefaultValues) GetSetFieldWithDefault ¶
func (p *DefaultValues) GetSetFieldWithDefault() (v []int32)
func (*DefaultValues) GetSimpleStructWithDefault ¶
func (p *DefaultValues) GetSimpleStructWithDefault() (v *Simple)
func (*DefaultValues) GetStringFieldWithDefault ¶
func (p *DefaultValues) GetStringFieldWithDefault() (v string)
func (*DefaultValues) InitDefault ¶
func (p *DefaultValues) InitDefault()
func (*DefaultValues) IsSetSimpleStructWithDefault ¶
func (p *DefaultValues) IsSetSimpleStructWithDefault() bool
func (*DefaultValues) ReadField1 ¶
func (p *DefaultValues) ReadField1(iprot thrift.TProtocol) error
func (*DefaultValues) ReadField10 ¶
func (p *DefaultValues) ReadField10(iprot thrift.TProtocol) error
func (*DefaultValues) ReadField11 ¶
func (p *DefaultValues) ReadField11(iprot thrift.TProtocol) error
func (*DefaultValues) ReadField12 ¶
func (p *DefaultValues) ReadField12(iprot thrift.TProtocol) error
func (*DefaultValues) ReadField13 ¶
func (p *DefaultValues) ReadField13(iprot thrift.TProtocol) error
func (*DefaultValues) ReadField14 ¶
func (p *DefaultValues) ReadField14(iprot thrift.TProtocol) error
func (*DefaultValues) ReadField2 ¶
func (p *DefaultValues) ReadField2(iprot thrift.TProtocol) error
func (*DefaultValues) ReadField3 ¶
func (p *DefaultValues) ReadField3(iprot thrift.TProtocol) error
func (*DefaultValues) ReadField4 ¶
func (p *DefaultValues) ReadField4(iprot thrift.TProtocol) error
func (*DefaultValues) ReadField5 ¶
func (p *DefaultValues) ReadField5(iprot thrift.TProtocol) error
func (*DefaultValues) ReadField6 ¶
func (p *DefaultValues) ReadField6(iprot thrift.TProtocol) error
func (*DefaultValues) ReadField7 ¶
func (p *DefaultValues) ReadField7(iprot thrift.TProtocol) error
func (*DefaultValues) ReadField8 ¶
func (p *DefaultValues) ReadField8(iprot thrift.TProtocol) error
func (*DefaultValues) ReadField9 ¶
func (p *DefaultValues) ReadField9(iprot thrift.TProtocol) error
func (*DefaultValues) String ¶
func (p *DefaultValues) String() string
type Enums ¶
type Enums int64
var OptionalDefaultValues_EnumFieldWithDefault_DEFAULT Enums = Enums_ValueA
func EnumsFromString ¶
type Nesting ¶
type Nesting struct { String_ string `thrift:"String,1" frugal:"1,default,string" json:"String"` ListSimple []*Simple `thrift:"ListSimple,2" frugal:"2,default,list<Simple>" json:"ListSimple"` Double float64 `thrift:"Double,3" frugal:"3,default,double" json:"Double"` I32 int32 `thrift:"I32,4" frugal:"4,default,i32" json:"I32"` ListI32 []int32 `thrift:"ListI32,5" frugal:"5,default,list<i32>" json:"ListI32"` I64 int64 `thrift:"I64,6" frugal:"6,default,i64" json:"I64"` MapStringString map[string]string `thrift:"MapStringString,7" frugal:"7,default,map<string:string>" json:"MapStringString"` SimpleStruct *Simple `thrift:"SimpleStruct,8" frugal:"8,default,Simple" json:"SimpleStruct"` MapI32I64 map[int32]int64 `thrift:"MapI32I64,9" frugal:"9,default,map<i32:i64>" json:"MapI32I64"` ListString []string `thrift:"ListString,10" frugal:"10,default,list<string>" json:"ListString"` Binary []byte `thrift:"Binary,11" frugal:"11,default,binary" json:"Binary"` MapI64String map[int64]string `thrift:"MapI64String,12" frugal:"12,default,map<i64:string>" json:"MapI64String"` ListI64 []int64 `thrift:"ListI64,13" frugal:"13,default,list<i64>" json:"ListI64"` Byte int8 `thrift:"Byte,14" frugal:"14,default,byte" json:"Byte"` MapStringSimple map[string]*Simple `thrift:"MapStringSimple,15" frugal:"15,default,map<string:Simple>" json:"MapStringSimple"` }
var Nesting2_NestingStruct_DEFAULT *Nesting
func NewNesting ¶
func NewNesting() *Nesting
func (*Nesting) FastAppend ¶
func (*Nesting) FastWriteNocopy ¶
func (p *Nesting) FastWriteNocopy(b []byte, w thrift.NocopyWriter) (n int)
func (*Nesting) GetListI32 ¶
func (*Nesting) GetListI64 ¶
func (*Nesting) GetListSimple ¶
func (*Nesting) GetListString ¶
func (*Nesting) GetMapI32I64 ¶
func (*Nesting) GetMapI64String ¶
func (*Nesting) GetMapStringSimple ¶
func (*Nesting) GetMapStringString ¶
func (*Nesting) GetSimpleStruct ¶
func (*Nesting) InitDefault ¶
func (p *Nesting) InitDefault()
func (*Nesting) IsSetSimpleStruct ¶
type Nesting2 ¶
type Nesting2 struct { MapSimpleNesting map[*Simple]*Nesting `thrift:"MapSimpleNesting,1" frugal:"1,default,map<Simple:Nesting>" json:"MapSimpleNesting"` SimpleStruct *Simple `thrift:"SimpleStruct,2" frugal:"2,default,Simple" json:"SimpleStruct"` Byte int8 `thrift:"Byte,3" frugal:"3,default,byte" json:"Byte"` Double float64 `thrift:"Double,4" frugal:"4,default,double" json:"Double"` ListNesting []*Nesting `thrift:"ListNesting,5" frugal:"5,default,list<Nesting>" json:"ListNesting"` I64 int64 `thrift:"I64,6" frugal:"6,default,i64" json:"I64"` NestingStruct *Nesting `thrift:"NestingStruct,7" frugal:"7,default,Nesting" json:"NestingStruct"` Binary []byte `thrift:"Binary,8" frugal:"8,default,binary" json:"Binary"` String_ string `thrift:"String,9" frugal:"9,default,string" json:"String"` SetNesting []*Nesting `thrift:"SetNesting,10" frugal:"10,default,set<Nesting>" json:"SetNesting"` I32 int32 `thrift:"I32,11" frugal:"11,default,i32" json:"I32"` }
func NewNesting2 ¶
func NewNesting2() *Nesting2
func (*Nesting2) FastAppend ¶
func (*Nesting2) FastWriteNocopy ¶
func (p *Nesting2) FastWriteNocopy(b []byte, w thrift.NocopyWriter) (n int)
func (*Nesting2) GetListNesting ¶
func (*Nesting2) GetMapSimpleNesting ¶
func (*Nesting2) GetNestingStruct ¶
func (*Nesting2) GetSetNesting ¶
func (*Nesting2) GetSimpleStruct ¶
func (*Nesting2) InitDefault ¶
func (p *Nesting2) InitDefault()
func (*Nesting2) IsSetNestingStruct ¶
func (*Nesting2) IsSetSimpleStruct ¶
type OptionalDefaultValues ¶
type OptionalDefaultValues struct { ByteFieldWithDefault int8 `thrift:"ByteFieldWithDefault,1,optional" frugal:"1,optional,byte" json:"ByteFieldWithDefault,omitempty"` I64FieldWithDefault int64 `thrift:"I64FieldWithDefault,2,optional" frugal:"2,optional,i64" json:"I64FieldWithDefault,omitempty"` DoubleFieldWithDefault float64 `thrift:"DoubleFieldWithDefault,3,optional" frugal:"3,optional,double" json:"DoubleFieldWithDefault,omitempty"` I32FieldWithDefault int32 `thrift:"I32FieldWithDefault,4,optional" frugal:"4,optional,i32" json:"I32FieldWithDefault,omitempty"` StringFieldWithDefault string `thrift:"StringFieldWithDefault,5,optional" frugal:"5,optional,string" json:"StringFieldWithDefault,omitempty"` BinaryFieldWithDefault []byte `thrift:"BinaryFieldWithDefault,6,optional" frugal:"6,optional,binary" json:"BinaryFieldWithDefault,omitempty"` EnumFieldWithDefault Enums `thrift:"EnumFieldWithDefault,7,optional" frugal:"7,optional,Enums" json:"EnumFieldWithDefault,omitempty"` SimpleStructWithDefault *Simple `thrift:"SimpleStructWithDefault,8,optional" frugal:"8,optional,Simple" json:"SimpleStructWithDefault,omitempty"` ListFieldWithDefault []int32 `thrift:"ListFieldWithDefault,9,optional" frugal:"9,optional,list<i32>" json:"ListFieldWithDefault,omitempty"` SetFieldWithDefault []int32 `thrift:"SetFieldWithDefault,10,optional" frugal:"10,optional,set<i32>" json:"SetFieldWithDefault,omitempty"` MapI32I64WithDefault map[int32]int64 `thrift:"MapI32I64WithDefault,11,optional" frugal:"11,optional,map<i32:i64>" json:"MapI32I64WithDefault,omitempty"` MapI64StringWithDefault map[int64]string `thrift:"MapI64StringWithDefault,12,optional" frugal:"12,optional,map<i64:string>" json:"MapI64StringWithDefault,omitempty"` MapStringStringWithDefault map[string]string `` /* 131-byte string literal not displayed */ MapStringSimpleWithDefault map[string]*Simple `` /* 131-byte string literal not displayed */ }
func NewOptionalDefaultValues ¶
func NewOptionalDefaultValues() *OptionalDefaultValues
func (*OptionalDefaultValues) BLength ¶
func (p *OptionalDefaultValues) BLength() int
func (*OptionalDefaultValues) FastAppend ¶
func (p *OptionalDefaultValues) FastAppend(b []byte) []byte
func (*OptionalDefaultValues) FastRead ¶
func (p *OptionalDefaultValues) FastRead(b []byte) (off int, err error)
func (*OptionalDefaultValues) FastWrite ¶
func (p *OptionalDefaultValues) FastWrite(b []byte) int
func (*OptionalDefaultValues) FastWriteNocopy ¶
func (p *OptionalDefaultValues) FastWriteNocopy(b []byte, w thrift.NocopyWriter) (n int)
func (*OptionalDefaultValues) GetBinaryFieldWithDefault ¶
func (p *OptionalDefaultValues) GetBinaryFieldWithDefault() (v []byte)
func (*OptionalDefaultValues) GetByteFieldWithDefault ¶
func (p *OptionalDefaultValues) GetByteFieldWithDefault() (v int8)
func (*OptionalDefaultValues) GetDoubleFieldWithDefault ¶
func (p *OptionalDefaultValues) GetDoubleFieldWithDefault() (v float64)
func (*OptionalDefaultValues) GetEnumFieldWithDefault ¶
func (p *OptionalDefaultValues) GetEnumFieldWithDefault() (v Enums)
func (*OptionalDefaultValues) GetI32FieldWithDefault ¶
func (p *OptionalDefaultValues) GetI32FieldWithDefault() (v int32)
func (*OptionalDefaultValues) GetI64FieldWithDefault ¶
func (p *OptionalDefaultValues) GetI64FieldWithDefault() (v int64)
func (*OptionalDefaultValues) GetListFieldWithDefault ¶
func (p *OptionalDefaultValues) GetListFieldWithDefault() (v []int32)
func (*OptionalDefaultValues) GetMapI32I64WithDefault ¶
func (p *OptionalDefaultValues) GetMapI32I64WithDefault() (v map[int32]int64)
func (*OptionalDefaultValues) GetMapI64StringWithDefault ¶
func (p *OptionalDefaultValues) GetMapI64StringWithDefault() (v map[int64]string)
func (*OptionalDefaultValues) GetMapStringSimpleWithDefault ¶
func (p *OptionalDefaultValues) GetMapStringSimpleWithDefault() (v map[string]*Simple)
func (*OptionalDefaultValues) GetMapStringStringWithDefault ¶
func (p *OptionalDefaultValues) GetMapStringStringWithDefault() (v map[string]string)
func (*OptionalDefaultValues) GetSetFieldWithDefault ¶
func (p *OptionalDefaultValues) GetSetFieldWithDefault() (v []int32)
func (*OptionalDefaultValues) GetSimpleStructWithDefault ¶
func (p *OptionalDefaultValues) GetSimpleStructWithDefault() (v *Simple)
func (*OptionalDefaultValues) GetStringFieldWithDefault ¶
func (p *OptionalDefaultValues) GetStringFieldWithDefault() (v string)
func (*OptionalDefaultValues) InitDefault ¶
func (p *OptionalDefaultValues) InitDefault()
func (*OptionalDefaultValues) IsSetBinaryFieldWithDefault ¶
func (p *OptionalDefaultValues) IsSetBinaryFieldWithDefault() bool
func (*OptionalDefaultValues) IsSetByteFieldWithDefault ¶
func (p *OptionalDefaultValues) IsSetByteFieldWithDefault() bool
func (*OptionalDefaultValues) IsSetDoubleFieldWithDefault ¶
func (p *OptionalDefaultValues) IsSetDoubleFieldWithDefault() bool
func (*OptionalDefaultValues) IsSetEnumFieldWithDefault ¶
func (p *OptionalDefaultValues) IsSetEnumFieldWithDefault() bool
func (*OptionalDefaultValues) IsSetI32FieldWithDefault ¶
func (p *OptionalDefaultValues) IsSetI32FieldWithDefault() bool
func (*OptionalDefaultValues) IsSetI64FieldWithDefault ¶
func (p *OptionalDefaultValues) IsSetI64FieldWithDefault() bool
func (*OptionalDefaultValues) IsSetListFieldWithDefault ¶
func (p *OptionalDefaultValues) IsSetListFieldWithDefault() bool
func (*OptionalDefaultValues) IsSetMapI32I64WithDefault ¶
func (p *OptionalDefaultValues) IsSetMapI32I64WithDefault() bool
func (*OptionalDefaultValues) IsSetMapI64StringWithDefault ¶
func (p *OptionalDefaultValues) IsSetMapI64StringWithDefault() bool
func (*OptionalDefaultValues) IsSetMapStringSimpleWithDefault ¶
func (p *OptionalDefaultValues) IsSetMapStringSimpleWithDefault() bool
func (*OptionalDefaultValues) IsSetMapStringStringWithDefault ¶
func (p *OptionalDefaultValues) IsSetMapStringStringWithDefault() bool
func (*OptionalDefaultValues) IsSetSetFieldWithDefault ¶
func (p *OptionalDefaultValues) IsSetSetFieldWithDefault() bool
func (*OptionalDefaultValues) IsSetSimpleStructWithDefault ¶
func (p *OptionalDefaultValues) IsSetSimpleStructWithDefault() bool
func (*OptionalDefaultValues) IsSetStringFieldWithDefault ¶
func (p *OptionalDefaultValues) IsSetStringFieldWithDefault() bool
func (*OptionalDefaultValues) Read ¶
func (p *OptionalDefaultValues) Read(iprot thrift.TProtocol) (err error)
func (*OptionalDefaultValues) ReadField1 ¶
func (p *OptionalDefaultValues) ReadField1(iprot thrift.TProtocol) error
func (*OptionalDefaultValues) ReadField10 ¶
func (p *OptionalDefaultValues) ReadField10(iprot thrift.TProtocol) error
func (*OptionalDefaultValues) ReadField11 ¶
func (p *OptionalDefaultValues) ReadField11(iprot thrift.TProtocol) error
func (*OptionalDefaultValues) ReadField12 ¶
func (p *OptionalDefaultValues) ReadField12(iprot thrift.TProtocol) error
func (*OptionalDefaultValues) ReadField13 ¶
func (p *OptionalDefaultValues) ReadField13(iprot thrift.TProtocol) error
func (*OptionalDefaultValues) ReadField14 ¶
func (p *OptionalDefaultValues) ReadField14(iprot thrift.TProtocol) error
func (*OptionalDefaultValues) ReadField2 ¶
func (p *OptionalDefaultValues) ReadField2(iprot thrift.TProtocol) error
func (*OptionalDefaultValues) ReadField3 ¶
func (p *OptionalDefaultValues) ReadField3(iprot thrift.TProtocol) error
func (*OptionalDefaultValues) ReadField4 ¶
func (p *OptionalDefaultValues) ReadField4(iprot thrift.TProtocol) error
func (*OptionalDefaultValues) ReadField5 ¶
func (p *OptionalDefaultValues) ReadField5(iprot thrift.TProtocol) error
func (*OptionalDefaultValues) ReadField6 ¶
func (p *OptionalDefaultValues) ReadField6(iprot thrift.TProtocol) error
func (*OptionalDefaultValues) ReadField7 ¶
func (p *OptionalDefaultValues) ReadField7(iprot thrift.TProtocol) error
func (*OptionalDefaultValues) ReadField8 ¶
func (p *OptionalDefaultValues) ReadField8(iprot thrift.TProtocol) error
func (*OptionalDefaultValues) ReadField9 ¶
func (p *OptionalDefaultValues) ReadField9(iprot thrift.TProtocol) error
func (*OptionalDefaultValues) String ¶
func (p *OptionalDefaultValues) String() string
type Simple ¶
type Simple struct { ByteField int8 `thrift:"ByteField,1" frugal:"1,default,byte" json:"ByteField"` I64Field int64 `thrift:"I64Field,2" frugal:"2,default,i64" json:"I64Field"` DoubleField float64 `thrift:"DoubleField,3" frugal:"3,default,double" json:"DoubleField"` I32Field int32 `thrift:"I32Field,4" frugal:"4,default,i32" json:"I32Field"` StringField string `thrift:"StringField,5" frugal:"5,default,string" json:"StringField"` BinaryField []byte `thrift:"BinaryField,6" frugal:"6,default,binary" json:"BinaryField"` EnumField Enums `thrift:"enumField,7" frugal:"7,default,Enums" json:"enumField"` }
var DefaultValues_SimpleStructWithDefault_DEFAULT *Simple = &Simple{ ByteField: 10, I64Field: 11, DoubleField: 12.0, I32Field: 13, StringField: "simple string", BinaryField: []byte("simple binary"), EnumField: Enums_ValueB, }
var Nesting2_SimpleStruct_DEFAULT *Simple
var Nesting_SimpleStruct_DEFAULT *Simple
var OptionalDefaultValues_SimpleStructWithDefault_DEFAULT *Simple = &Simple{ ByteField: 10, I64Field: 11, DoubleField: 12.0, I32Field: 13, StringField: "simple string", BinaryField: []byte("simple binary"), EnumField: Enums_ValueB, }
func (*Simple) FastAppend ¶
func (*Simple) FastWriteNocopy ¶
func (p *Simple) FastWriteNocopy(b []byte, w thrift.NocopyWriter) (n int)
func (*Simple) GetBinaryField ¶
func (*Simple) GetByteField ¶
func (*Simple) GetDoubleField ¶
func (*Simple) GetEnumField ¶
func (*Simple) GetI32Field ¶
func (*Simple) GetI64Field ¶
func (*Simple) GetStringField ¶
func (*Simple) InitDefault ¶
func (p *Simple) InitDefault()
Click to show internal directories.
Click to hide internal directories.