Documentation ¶
Overview ¶
Package gauntlet_tchannel is generated code used to make or handle TChannel calls using Thrift.
Index ¶
- Constants
- Variables
- func NewTChanSecondServiceInheritedClient(thriftService string, client thrift.TChanClient) *tchanSecondServiceClient
- func NewTChanSecondServiceServer(handler TChanSecondService) thrift.TChanServer
- func NewTChanThriftTestInheritedClient(thriftService string, client thrift.TChanClient) *tchanThriftTestClient
- func NewTChanThriftTestServer(handler TChanThriftTest) thrift.TChanServer
- type Bonk
- type BoolTest
- type Bools
- type CrazyNesting
- func (p *CrazyNesting) GetBinaryField() []byte
- func (p *CrazyNesting) GetSetField() map[*Insanity]bool
- func (p *CrazyNesting) GetStringField() string
- func (p *CrazyNesting) IsSetBinaryField() bool
- func (p *CrazyNesting) IsSetSetField() bool
- func (p *CrazyNesting) IsSetStringField() bool
- func (p *CrazyNesting) Read(iprot thrift.TProtocol) error
- func (p *CrazyNesting) String() string
- func (p *CrazyNesting) Write(oprot thrift.TProtocol) error
- type EmptyStruct
- type GuessProtocolStruct
- type Insanity
- func (p *Insanity) GetUserMap() map[Numberz]UserId
- func (p *Insanity) GetXtructs() []*Xtruct
- func (p *Insanity) IsSetUserMap() bool
- func (p *Insanity) IsSetXtructs() bool
- func (p *Insanity) Read(iprot thrift.TProtocol) error
- func (p *Insanity) String() string
- func (p *Insanity) Write(oprot thrift.TProtocol) error
- type LargeDeltas
- func (p *LargeDeltas) GetASet2500() map[string]bool
- func (p *LargeDeltas) GetB1() *Bools
- func (p *LargeDeltas) GetB10() *Bools
- func (p *LargeDeltas) GetB100() *Bools
- func (p *LargeDeltas) GetB1000() *Bools
- func (p *LargeDeltas) GetBigNumbers() []int32
- func (p *LargeDeltas) GetCheckFalse() bool
- func (p *LargeDeltas) GetCheckTrue() bool
- func (p *LargeDeltas) GetVertwo2000() *VersioningTestV2
- func (p *LargeDeltas) GetVertwo3000() *VersioningTestV2
- func (p *LargeDeltas) IsSetASet2500() bool
- func (p *LargeDeltas) IsSetB1() bool
- func (p *LargeDeltas) IsSetB10() bool
- func (p *LargeDeltas) IsSetB100() bool
- func (p *LargeDeltas) IsSetB1000() bool
- func (p *LargeDeltas) IsSetBigNumbers() bool
- func (p *LargeDeltas) IsSetCheckFalse() bool
- func (p *LargeDeltas) IsSetCheckTrue() bool
- func (p *LargeDeltas) IsSetVertwo2000() bool
- func (p *LargeDeltas) IsSetVertwo3000() bool
- func (p *LargeDeltas) Read(iprot thrift.TProtocol) error
- func (p *LargeDeltas) String() string
- func (p *LargeDeltas) Write(oprot thrift.TProtocol) error
- type ListBonks
- type ListTypeVersioningV1
- func (p *ListTypeVersioningV1) GetHello() string
- func (p *ListTypeVersioningV1) GetMyints() []int32
- func (p *ListTypeVersioningV1) IsSetHello() bool
- func (p *ListTypeVersioningV1) IsSetMyints() bool
- func (p *ListTypeVersioningV1) Read(iprot thrift.TProtocol) error
- func (p *ListTypeVersioningV1) String() string
- func (p *ListTypeVersioningV1) Write(oprot thrift.TProtocol) error
- type ListTypeVersioningV2
- func (p *ListTypeVersioningV2) GetHello() string
- func (p *ListTypeVersioningV2) GetStrings() []string
- func (p *ListTypeVersioningV2) IsSetHello() bool
- func (p *ListTypeVersioningV2) IsSetStrings() bool
- func (p *ListTypeVersioningV2) Read(iprot thrift.TProtocol) error
- func (p *ListTypeVersioningV2) String() string
- func (p *ListTypeVersioningV2) Write(oprot thrift.TProtocol) error
- type MapType
- type NestedListsBonk
- type NestedListsI32x2
- type NestedListsI32x3
- type NestedMixedx2
- func (p *NestedMixedx2) GetIntSetList() []map[int32]bool
- func (p *NestedMixedx2) GetMapIntStrset() map[int32]map[string]bool
- func (p *NestedMixedx2) GetMapIntStrsetList() []map[int32]map[string]bool
- func (p *NestedMixedx2) IsSetIntSetList() bool
- func (p *NestedMixedx2) IsSetMapIntStrset() bool
- func (p *NestedMixedx2) IsSetMapIntStrsetList() bool
- func (p *NestedMixedx2) Read(iprot thrift.TProtocol) error
- func (p *NestedMixedx2) String() string
- func (p *NestedMixedx2) Write(oprot thrift.TProtocol) error
- type Numberz
- type OneField
- type SecondService
- type SecondServiceBlahBlahArgs
- type SecondServiceBlahBlahResult
- type SecondServiceClient
- type SecondServiceProcessor
- func (p *SecondServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *SecondServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *SecondServiceProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *SecondServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type SecondServiceSecondtestStringArgs
- type SecondServiceSecondtestStringResult
- func (p *SecondServiceSecondtestStringResult) GetSuccess() string
- func (p *SecondServiceSecondtestStringResult) IsSetSuccess() bool
- func (p *SecondServiceSecondtestStringResult) Read(iprot thrift.TProtocol) error
- func (p *SecondServiceSecondtestStringResult) String() string
- func (p *SecondServiceSecondtestStringResult) Write(oprot thrift.TProtocol) error
- type StructA
- type StructB
- type TChanSecondService
- type TChanThriftTest
- type ThriftTest
- type ThriftTestClient
- func (p *ThriftTestClient) TestBinary(thing []byte) (r []byte, err error)
- func (p *ThriftTestClient) TestByte(thing int8) (r int8, err error)
- func (p *ThriftTestClient) TestDouble(thing float64) (r float64, err error)
- func (p *ThriftTestClient) TestEnum(thing Numberz) (r Numberz, err error)
- func (p *ThriftTestClient) TestException(arg string) (err error)
- func (p *ThriftTestClient) TestI32(thing int32) (r int32, err error)
- func (p *ThriftTestClient) TestI64(thing int64) (r int64, err error)
- func (p *ThriftTestClient) TestInsanity(argument *Insanity) (r map[UserId]map[Numberz]*Insanity, err error)
- func (p *ThriftTestClient) TestList(thing []int32) (r []int32, err error)
- func (p *ThriftTestClient) TestMap(thing map[int32]int32) (r map[int32]int32, err error)
- func (p *ThriftTestClient) TestMapMap(hello int32) (r map[int32]map[int32]int32, err error)
- func (p *ThriftTestClient) TestMulti(arg0 int8, arg1 int32, arg2 int64, arg3 map[int16]string, arg4 Numberz, ...) (r *Xtruct, err error)
- func (p *ThriftTestClient) TestMultiException(arg0 string, arg1 string) (r *Xtruct, err error)
- func (p *ThriftTestClient) TestNest(thing *Xtruct2) (r *Xtruct2, err error)
- func (p *ThriftTestClient) TestSet(thing map[int32]bool) (r map[int32]bool, err error)
- func (p *ThriftTestClient) TestString(thing string) (r string, err error)
- func (p *ThriftTestClient) TestStringMap(thing map[string]string) (r map[string]string, err error)
- func (p *ThriftTestClient) TestStruct(thing *Xtruct) (r *Xtruct, err error)
- func (p *ThriftTestClient) TestTypedef(thing UserId) (r UserId, err error)
- func (p *ThriftTestClient) TestVoid() (err error)
- type ThriftTestProcessor
- func (p *ThriftTestProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *ThriftTestProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *ThriftTestProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *ThriftTestProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type ThriftTestTestBinaryArgs
- type ThriftTestTestBinaryResult
- func (p *ThriftTestTestBinaryResult) GetSuccess() []byte
- func (p *ThriftTestTestBinaryResult) IsSetSuccess() bool
- func (p *ThriftTestTestBinaryResult) Read(iprot thrift.TProtocol) error
- func (p *ThriftTestTestBinaryResult) String() string
- func (p *ThriftTestTestBinaryResult) Write(oprot thrift.TProtocol) error
- type ThriftTestTestByteArgs
- type ThriftTestTestByteResult
- type ThriftTestTestDoubleArgs
- type ThriftTestTestDoubleResult
- func (p *ThriftTestTestDoubleResult) GetSuccess() float64
- func (p *ThriftTestTestDoubleResult) IsSetSuccess() bool
- func (p *ThriftTestTestDoubleResult) Read(iprot thrift.TProtocol) error
- func (p *ThriftTestTestDoubleResult) String() string
- func (p *ThriftTestTestDoubleResult) Write(oprot thrift.TProtocol) error
- type ThriftTestTestEnumArgs
- type ThriftTestTestEnumResult
- func (p *ThriftTestTestEnumResult) GetSuccess() Numberz
- func (p *ThriftTestTestEnumResult) IsSetSuccess() bool
- func (p *ThriftTestTestEnumResult) Read(iprot thrift.TProtocol) error
- func (p *ThriftTestTestEnumResult) String() string
- func (p *ThriftTestTestEnumResult) Write(oprot thrift.TProtocol) error
- type ThriftTestTestExceptionArgs
- type ThriftTestTestExceptionResult
- func (p *ThriftTestTestExceptionResult) GetErr1() *Xception
- func (p *ThriftTestTestExceptionResult) IsSetErr1() bool
- func (p *ThriftTestTestExceptionResult) Read(iprot thrift.TProtocol) error
- func (p *ThriftTestTestExceptionResult) String() string
- func (p *ThriftTestTestExceptionResult) Write(oprot thrift.TProtocol) error
- type ThriftTestTestI32Args
- type ThriftTestTestI32Result
- type ThriftTestTestI64Args
- type ThriftTestTestI64Result
- type ThriftTestTestInsanityArgs
- func (p *ThriftTestTestInsanityArgs) GetArgument() *Insanity
- func (p *ThriftTestTestInsanityArgs) IsSetArgument() bool
- func (p *ThriftTestTestInsanityArgs) Read(iprot thrift.TProtocol) error
- func (p *ThriftTestTestInsanityArgs) String() string
- func (p *ThriftTestTestInsanityArgs) Write(oprot thrift.TProtocol) error
- type ThriftTestTestInsanityResult
- func (p *ThriftTestTestInsanityResult) GetSuccess() map[UserId]map[Numberz]*Insanity
- func (p *ThriftTestTestInsanityResult) IsSetSuccess() bool
- func (p *ThriftTestTestInsanityResult) Read(iprot thrift.TProtocol) error
- func (p *ThriftTestTestInsanityResult) String() string
- func (p *ThriftTestTestInsanityResult) Write(oprot thrift.TProtocol) error
- type ThriftTestTestListArgs
- type ThriftTestTestListResult
- func (p *ThriftTestTestListResult) GetSuccess() []int32
- func (p *ThriftTestTestListResult) IsSetSuccess() bool
- func (p *ThriftTestTestListResult) Read(iprot thrift.TProtocol) error
- func (p *ThriftTestTestListResult) String() string
- func (p *ThriftTestTestListResult) Write(oprot thrift.TProtocol) error
- type ThriftTestTestMapArgs
- type ThriftTestTestMapMapArgs
- type ThriftTestTestMapMapResult
- func (p *ThriftTestTestMapMapResult) GetSuccess() map[int32]map[int32]int32
- func (p *ThriftTestTestMapMapResult) IsSetSuccess() bool
- func (p *ThriftTestTestMapMapResult) Read(iprot thrift.TProtocol) error
- func (p *ThriftTestTestMapMapResult) String() string
- func (p *ThriftTestTestMapMapResult) Write(oprot thrift.TProtocol) error
- type ThriftTestTestMapResult
- func (p *ThriftTestTestMapResult) GetSuccess() map[int32]int32
- func (p *ThriftTestTestMapResult) IsSetSuccess() bool
- func (p *ThriftTestTestMapResult) Read(iprot thrift.TProtocol) error
- func (p *ThriftTestTestMapResult) String() string
- func (p *ThriftTestTestMapResult) Write(oprot thrift.TProtocol) error
- type ThriftTestTestMultiArgs
- func (p *ThriftTestTestMultiArgs) GetArg0() int8
- func (p *ThriftTestTestMultiArgs) GetArg1() int32
- func (p *ThriftTestTestMultiArgs) GetArg2() int64
- func (p *ThriftTestTestMultiArgs) GetArg3() map[int16]string
- func (p *ThriftTestTestMultiArgs) GetArg4() Numberz
- func (p *ThriftTestTestMultiArgs) GetArg5() UserId
- func (p *ThriftTestTestMultiArgs) Read(iprot thrift.TProtocol) error
- func (p *ThriftTestTestMultiArgs) String() string
- func (p *ThriftTestTestMultiArgs) Write(oprot thrift.TProtocol) error
- type ThriftTestTestMultiExceptionArgs
- func (p *ThriftTestTestMultiExceptionArgs) GetArg0() string
- func (p *ThriftTestTestMultiExceptionArgs) GetArg1() string
- func (p *ThriftTestTestMultiExceptionArgs) Read(iprot thrift.TProtocol) error
- func (p *ThriftTestTestMultiExceptionArgs) String() string
- func (p *ThriftTestTestMultiExceptionArgs) Write(oprot thrift.TProtocol) error
- type ThriftTestTestMultiExceptionResult
- func (p *ThriftTestTestMultiExceptionResult) GetErr1() *Xception
- func (p *ThriftTestTestMultiExceptionResult) GetErr2() *Xception2
- func (p *ThriftTestTestMultiExceptionResult) GetSuccess() *Xtruct
- func (p *ThriftTestTestMultiExceptionResult) IsSetErr1() bool
- func (p *ThriftTestTestMultiExceptionResult) IsSetErr2() bool
- func (p *ThriftTestTestMultiExceptionResult) IsSetSuccess() bool
- func (p *ThriftTestTestMultiExceptionResult) Read(iprot thrift.TProtocol) error
- func (p *ThriftTestTestMultiExceptionResult) String() string
- func (p *ThriftTestTestMultiExceptionResult) Write(oprot thrift.TProtocol) error
- type ThriftTestTestMultiResult
- func (p *ThriftTestTestMultiResult) GetSuccess() *Xtruct
- func (p *ThriftTestTestMultiResult) IsSetSuccess() bool
- func (p *ThriftTestTestMultiResult) Read(iprot thrift.TProtocol) error
- func (p *ThriftTestTestMultiResult) String() string
- func (p *ThriftTestTestMultiResult) Write(oprot thrift.TProtocol) error
- type ThriftTestTestNestArgs
- type ThriftTestTestNestResult
- func (p *ThriftTestTestNestResult) GetSuccess() *Xtruct2
- func (p *ThriftTestTestNestResult) IsSetSuccess() bool
- func (p *ThriftTestTestNestResult) Read(iprot thrift.TProtocol) error
- func (p *ThriftTestTestNestResult) String() string
- func (p *ThriftTestTestNestResult) Write(oprot thrift.TProtocol) error
- type ThriftTestTestSetArgs
- type ThriftTestTestSetResult
- func (p *ThriftTestTestSetResult) GetSuccess() map[int32]bool
- func (p *ThriftTestTestSetResult) IsSetSuccess() bool
- func (p *ThriftTestTestSetResult) Read(iprot thrift.TProtocol) error
- func (p *ThriftTestTestSetResult) String() string
- func (p *ThriftTestTestSetResult) Write(oprot thrift.TProtocol) error
- type ThriftTestTestStringArgs
- type ThriftTestTestStringMapArgs
- type ThriftTestTestStringMapResult
- func (p *ThriftTestTestStringMapResult) GetSuccess() map[string]string
- func (p *ThriftTestTestStringMapResult) IsSetSuccess() bool
- func (p *ThriftTestTestStringMapResult) Read(iprot thrift.TProtocol) error
- func (p *ThriftTestTestStringMapResult) String() string
- func (p *ThriftTestTestStringMapResult) Write(oprot thrift.TProtocol) error
- type ThriftTestTestStringResult
- func (p *ThriftTestTestStringResult) GetSuccess() string
- func (p *ThriftTestTestStringResult) IsSetSuccess() bool
- func (p *ThriftTestTestStringResult) Read(iprot thrift.TProtocol) error
- func (p *ThriftTestTestStringResult) String() string
- func (p *ThriftTestTestStringResult) Write(oprot thrift.TProtocol) error
- type ThriftTestTestStructArgs
- type ThriftTestTestStructResult
- func (p *ThriftTestTestStructResult) GetSuccess() *Xtruct
- func (p *ThriftTestTestStructResult) IsSetSuccess() bool
- func (p *ThriftTestTestStructResult) Read(iprot thrift.TProtocol) error
- func (p *ThriftTestTestStructResult) String() string
- func (p *ThriftTestTestStructResult) Write(oprot thrift.TProtocol) error
- type ThriftTestTestTypedefArgs
- type ThriftTestTestTypedefResult
- func (p *ThriftTestTestTypedefResult) GetSuccess() UserId
- func (p *ThriftTestTestTypedefResult) IsSetSuccess() bool
- func (p *ThriftTestTestTypedefResult) Read(iprot thrift.TProtocol) error
- func (p *ThriftTestTestTypedefResult) String() string
- func (p *ThriftTestTestTypedefResult) Write(oprot thrift.TProtocol) error
- type ThriftTestTestVoidArgs
- type ThriftTestTestVoidResult
- type UserId
- type VersioningTestV1
- func (p *VersioningTestV1) GetBeginInBoth() int32
- func (p *VersioningTestV1) GetEndInBoth() int32
- func (p *VersioningTestV1) GetOldString() string
- func (p *VersioningTestV1) IsSetBeginInBoth() bool
- func (p *VersioningTestV1) IsSetEndInBoth() bool
- func (p *VersioningTestV1) IsSetOldString() bool
- func (p *VersioningTestV1) Read(iprot thrift.TProtocol) error
- func (p *VersioningTestV1) String() string
- func (p *VersioningTestV1) Write(oprot thrift.TProtocol) error
- type VersioningTestV2
- func (p *VersioningTestV2) GetBeginInBoth() int32
- func (p *VersioningTestV2) GetEndInBoth() int32
- func (p *VersioningTestV2) GetNewbyte_() int8
- func (p *VersioningTestV2) GetNewdouble_() float64
- func (p *VersioningTestV2) GetNewint_() int32
- func (p *VersioningTestV2) GetNewlist_() []int32
- func (p *VersioningTestV2) GetNewlong_() int64
- func (p *VersioningTestV2) GetNewmap_() map[int32]int32
- func (p *VersioningTestV2) GetNewset_() map[int32]bool
- func (p *VersioningTestV2) GetNewshort_() int16
- func (p *VersioningTestV2) GetNewstring_() string
- func (p *VersioningTestV2) GetNewstruct_() *Bonk
- func (p *VersioningTestV2) IsSetBeginInBoth() bool
- func (p *VersioningTestV2) IsSetEndInBoth() bool
- func (p *VersioningTestV2) IsSetNewbyte_() bool
- func (p *VersioningTestV2) IsSetNewdouble_() bool
- func (p *VersioningTestV2) IsSetNewint_() bool
- func (p *VersioningTestV2) IsSetNewlist_() bool
- func (p *VersioningTestV2) IsSetNewlong_() bool
- func (p *VersioningTestV2) IsSetNewmap_() bool
- func (p *VersioningTestV2) IsSetNewset_() bool
- func (p *VersioningTestV2) IsSetNewshort_() bool
- func (p *VersioningTestV2) IsSetNewstring_() bool
- func (p *VersioningTestV2) IsSetNewstruct_() bool
- func (p *VersioningTestV2) Read(iprot thrift.TProtocol) error
- func (p *VersioningTestV2) String() string
- func (p *VersioningTestV2) Write(oprot thrift.TProtocol) error
- type Xception
- func (p *Xception) Error() string
- func (p *Xception) GetErrorCode() int32
- func (p *Xception) GetMessage() string
- func (p *Xception) IsSetErrorCode() bool
- func (p *Xception) IsSetMessage() bool
- func (p *Xception) Read(iprot thrift.TProtocol) error
- func (p *Xception) String() string
- func (p *Xception) Write(oprot thrift.TProtocol) error
- type Xception2
- func (p *Xception2) Error() string
- func (p *Xception2) GetErrorCode() int32
- func (p *Xception2) GetStructThing() *Xtruct
- func (p *Xception2) IsSetErrorCode() bool
- func (p *Xception2) IsSetStructThing() bool
- func (p *Xception2) Read(iprot thrift.TProtocol) error
- func (p *Xception2) String() string
- func (p *Xception2) Write(oprot thrift.TProtocol) error
- type Xtruct
- func (p *Xtruct) GetByteThing() int8
- func (p *Xtruct) GetI32Thing() int32
- func (p *Xtruct) GetI64Thing() int64
- func (p *Xtruct) GetStringThing() string
- func (p *Xtruct) IsSetByteThing() bool
- func (p *Xtruct) IsSetI32Thing() bool
- func (p *Xtruct) IsSetI64Thing() bool
- func (p *Xtruct) IsSetStringThing() bool
- func (p *Xtruct) Read(iprot thrift.TProtocol) error
- func (p *Xtruct) String() string
- func (p *Xtruct) Write(oprot thrift.TProtocol) error
- type Xtruct2
- func (p *Xtruct2) GetByteThing() int8
- func (p *Xtruct2) GetI32Thing() int32
- func (p *Xtruct2) GetStructThing() *Xtruct
- func (p *Xtruct2) IsSetByteThing() bool
- func (p *Xtruct2) IsSetI32Thing() bool
- func (p *Xtruct2) IsSetStructThing() bool
- func (p *Xtruct2) Read(iprot thrift.TProtocol) error
- func (p *Xtruct2) String() string
- func (p *Xtruct2) Write(oprot thrift.TProtocol) error
- type Xtruct3
- func (p *Xtruct3) GetChanged() int32
- func (p *Xtruct3) GetI32Thing() int32
- func (p *Xtruct3) GetI64Thing() int64
- func (p *Xtruct3) GetStringThing() string
- func (p *Xtruct3) IsSetChanged() bool
- func (p *Xtruct3) IsSetI32Thing() bool
- func (p *Xtruct3) IsSetI64Thing() bool
- func (p *Xtruct3) IsSetStringThing() bool
- func (p *Xtruct3) Read(iprot thrift.TProtocol) error
- func (p *Xtruct3) String() string
- func (p *Xtruct3) Write(oprot thrift.TProtocol) error
Constants ¶
const MyNumberz = 1
Variables ¶
var Bonk_Message_DEFAULT string
var Bonk_Type_DEFAULT int32
var BoolTest_B_DEFAULT bool = true
var BoolTest_S_DEFAULT string = "true"
var Bools_ImFalse_DEFAULT bool
var Bools_ImTrue_DEFAULT bool
var CrazyNesting_BinaryField_DEFAULT []byte
var CrazyNesting_SetField_DEFAULT map[*Insanity]bool
var CrazyNesting_StringField_DEFAULT string
var GoUnusedProtection__ int
var GuessProtocolStruct_MapField_DEFAULT map[string]string
var Insanity_UserMap_DEFAULT map[Numberz]UserId
var Insanity_Xtructs_DEFAULT []*Xtruct
var LargeDeltas_ASet2500_DEFAULT map[string]bool
var LargeDeltas_BigNumbers_DEFAULT []int32
var LargeDeltas_CheckFalse_DEFAULT bool
var LargeDeltas_CheckTrue_DEFAULT bool
var ListBonks_Bonk_DEFAULT []*Bonk
var ListTypeVersioningV1_Hello_DEFAULT string
var ListTypeVersioningV1_Myints_DEFAULT []int32
var ListTypeVersioningV2_Hello_DEFAULT string
var ListTypeVersioningV2_Strings_DEFAULT []string
var NestedListsBonk_Bonk_DEFAULT [][][]*Bonk
var NestedListsI32x2_Integerlist_DEFAULT [][]int32
var NestedListsI32x3_Integerlist_DEFAULT [][][]int32
var NestedMixedx2_IntSetList_DEFAULT []map[int32]bool
var NestedMixedx2_MapIntStrsetList_DEFAULT []map[int32]map[string]bool
var NestedMixedx2_MapIntStrset_DEFAULT map[int32]map[string]bool
var SecondServiceSecondtestStringResult_Success_DEFAULT string
var ThriftTestTestBinaryResult_Success_DEFAULT []byte
var ThriftTestTestByteResult_Success_DEFAULT int8
var ThriftTestTestDoubleResult_Success_DEFAULT float64
var ThriftTestTestI32Result_Success_DEFAULT int32
var ThriftTestTestI64Result_Success_DEFAULT int64
var ThriftTestTestInsanityResult_Success_DEFAULT map[UserId]map[Numberz]*Insanity
var ThriftTestTestListResult_Success_DEFAULT []int32
var ThriftTestTestMapMapResult_Success_DEFAULT map[int32]map[int32]int32
var ThriftTestTestMapResult_Success_DEFAULT map[int32]int32
var ThriftTestTestSetResult_Success_DEFAULT map[int32]bool
var ThriftTestTestStringMapResult_Success_DEFAULT map[string]string
var ThriftTestTestStringResult_Success_DEFAULT string
var VersioningTestV1_BeginInBoth_DEFAULT int32
var VersioningTestV1_EndInBoth_DEFAULT int32
var VersioningTestV1_OldString_DEFAULT string
var VersioningTestV2_BeginInBoth_DEFAULT int32
var VersioningTestV2_EndInBoth_DEFAULT int32
var VersioningTestV2_Newbyte__DEFAULT int8
var VersioningTestV2_Newdouble__DEFAULT float64
var VersioningTestV2_Newint__DEFAULT int32
var VersioningTestV2_Newlist__DEFAULT []int32
var VersioningTestV2_Newlong__DEFAULT int64
var VersioningTestV2_Newmap__DEFAULT map[int32]int32
var VersioningTestV2_Newset__DEFAULT map[int32]bool
var VersioningTestV2_Newshort__DEFAULT int16
var VersioningTestV2_Newstring__DEFAULT string
var Xception2_ErrorCode_DEFAULT int32
var Xception_ErrorCode_DEFAULT int32
var Xception_Message_DEFAULT string
var Xtruct2_ByteThing_DEFAULT int8
var Xtruct2_I32Thing_DEFAULT int32
var Xtruct3_Changed_DEFAULT int32
var Xtruct3_I32Thing_DEFAULT int32
var Xtruct3_I64Thing_DEFAULT int64
var Xtruct3_StringThing_DEFAULT string
var Xtruct_ByteThing_DEFAULT int8
var Xtruct_I32Thing_DEFAULT int32
var Xtruct_I64Thing_DEFAULT int64
var Xtruct_StringThing_DEFAULT string
Functions ¶
func NewTChanSecondServiceInheritedClient ¶
func NewTChanSecondServiceInheritedClient(thriftService string, client thrift.TChanClient) *tchanSecondServiceClient
func NewTChanSecondServiceServer ¶
func NewTChanSecondServiceServer(handler TChanSecondService) thrift.TChanServer
NewTChanSecondServiceServer wraps a handler for TChanSecondService so it can be registered with a thrift.Server.
func NewTChanThriftTestInheritedClient ¶
func NewTChanThriftTestInheritedClient(thriftService string, client thrift.TChanClient) *tchanThriftTestClient
func NewTChanThriftTestServer ¶
func NewTChanThriftTestServer(handler TChanThriftTest) thrift.TChanServer
NewTChanThriftTestServer wraps a handler for TChanThriftTest so it can be registered with a thrift.Server.
Types ¶
type Bonk ¶
type Bonk struct { Message *string `thrift:"message,1" json:"message,omitempty"` Type *int32 `thrift:"type,2" json:"type,omitempty"` }
Attributes:
- Message
- Type
var VersioningTestV2_Newstruct__DEFAULT *Bonk
func (*Bonk) GetMessage ¶
func (*Bonk) IsSetMessage ¶
type BoolTest ¶
type BoolTest struct { B bool `thrift:"b,1" json:"b,omitempty"` S string `thrift:"s,2" json:"s,omitempty"` }
Attributes:
- B
- S
func NewBoolTest ¶
func NewBoolTest() *BoolTest
type Bools ¶
type Bools struct { ImTrue *bool `thrift:"im_true,1" json:"im_true,omitempty"` ImFalse *bool `thrift:"im_false,2" json:"im_false,omitempty"` }
Attributes:
- ImTrue
- ImFalse
var LargeDeltas_B1000_DEFAULT *Bools
var LargeDeltas_B100_DEFAULT *Bools
var LargeDeltas_B10_DEFAULT *Bools
var LargeDeltas_B1_DEFAULT *Bools
func (*Bools) GetImFalse ¶
func (*Bools) IsSetImFalse ¶
func (*Bools) IsSetImTrue ¶
type CrazyNesting ¶
type CrazyNesting struct { StringField *string `thrift:"string_field,1" json:"string_field,omitempty"` SetField map[*Insanity]bool `thrift:"set_field,2" json:"set_field,omitempty"` // unused field # 3 BinaryField []byte `thrift:"binary_field,4" json:"binary_field,omitempty"` }
Attributes:
- StringField
- SetField
- BinaryField
func NewCrazyNesting ¶
func NewCrazyNesting() *CrazyNesting
func (*CrazyNesting) GetBinaryField ¶
func (p *CrazyNesting) GetBinaryField() []byte
func (*CrazyNesting) GetSetField ¶
func (p *CrazyNesting) GetSetField() map[*Insanity]bool
func (*CrazyNesting) GetStringField ¶
func (p *CrazyNesting) GetStringField() string
func (*CrazyNesting) IsSetBinaryField ¶
func (p *CrazyNesting) IsSetBinaryField() bool
func (*CrazyNesting) IsSetSetField ¶
func (p *CrazyNesting) IsSetSetField() bool
func (*CrazyNesting) IsSetStringField ¶
func (p *CrazyNesting) IsSetStringField() bool
func (*CrazyNesting) String ¶
func (p *CrazyNesting) String() string
type EmptyStruct ¶
type EmptyStruct struct { }
var OneField_Field_DEFAULT *EmptyStruct
func NewEmptyStruct ¶
func NewEmptyStruct() *EmptyStruct
func (*EmptyStruct) String ¶
func (p *EmptyStruct) String() string
type GuessProtocolStruct ¶
type GuessProtocolStruct struct { // unused fields # 1 to 6 MapField map[string]string `thrift:"map_field,7" json:"map_field,omitempty"` }
Attributes:
- MapField
func NewGuessProtocolStruct ¶
func NewGuessProtocolStruct() *GuessProtocolStruct
func (*GuessProtocolStruct) GetMapField ¶
func (p *GuessProtocolStruct) GetMapField() map[string]string
func (*GuessProtocolStruct) IsSetMapField ¶
func (p *GuessProtocolStruct) IsSetMapField() bool
func (*GuessProtocolStruct) String ¶
func (p *GuessProtocolStruct) String() string
type Insanity ¶
type Insanity struct { UserMap map[Numberz]UserId `thrift:"userMap,1" json:"userMap,omitempty"` Xtructs []*Xtruct `thrift:"xtructs,2" json:"xtructs,omitempty"` }
Attributes:
- UserMap
- Xtructs
var ThriftTestTestInsanityArgs_Argument_DEFAULT *Insanity
func NewInsanity ¶
func NewInsanity() *Insanity
func (*Insanity) GetUserMap ¶
func (*Insanity) GetXtructs ¶
func (*Insanity) IsSetUserMap ¶
func (*Insanity) IsSetXtructs ¶
type LargeDeltas ¶
type LargeDeltas struct { B1 *Bools `thrift:"b1,1" json:"b1,omitempty"` // unused fields # 2 to 9 B10 *Bools `thrift:"b10,10" json:"b10,omitempty"` // unused fields # 11 to 99 B100 *Bools `thrift:"b100,100" json:"b100,omitempty"` // unused fields # 101 to 499 CheckTrue *bool `thrift:"check_true,500" json:"check_true,omitempty"` // unused fields # 501 to 999 B1000 *Bools `thrift:"b1000,1000" json:"b1000,omitempty"` // unused fields # 1001 to 1499 CheckFalse *bool `thrift:"check_false,1500" json:"check_false,omitempty"` // unused fields # 1501 to 1999 Vertwo2000 *VersioningTestV2 `thrift:"vertwo2000,2000" json:"vertwo2000,omitempty"` // unused fields # 2001 to 2499 ASet2500 map[string]bool `thrift:"a_set2500,2500" json:"a_set2500,omitempty"` // unused fields # 2501 to 2999 Vertwo3000 *VersioningTestV2 `thrift:"vertwo3000,3000" json:"vertwo3000,omitempty"` // unused fields # 3001 to 3999 BigNumbers []int32 `thrift:"big_numbers,4000" json:"big_numbers,omitempty"` }
Attributes:
- B1
- B10
- B100
- CheckTrue
- B1000
- CheckFalse
- Vertwo2000
- ASet2500
- Vertwo3000
- BigNumbers
func NewLargeDeltas ¶
func NewLargeDeltas() *LargeDeltas
func (*LargeDeltas) GetASet2500 ¶
func (p *LargeDeltas) GetASet2500() map[string]bool
func (*LargeDeltas) GetB1 ¶
func (p *LargeDeltas) GetB1() *Bools
func (*LargeDeltas) GetB10 ¶
func (p *LargeDeltas) GetB10() *Bools
func (*LargeDeltas) GetB100 ¶
func (p *LargeDeltas) GetB100() *Bools
func (*LargeDeltas) GetB1000 ¶
func (p *LargeDeltas) GetB1000() *Bools
func (*LargeDeltas) GetBigNumbers ¶
func (p *LargeDeltas) GetBigNumbers() []int32
func (*LargeDeltas) GetCheckFalse ¶
func (p *LargeDeltas) GetCheckFalse() bool
func (*LargeDeltas) GetCheckTrue ¶
func (p *LargeDeltas) GetCheckTrue() bool
func (*LargeDeltas) GetVertwo2000 ¶
func (p *LargeDeltas) GetVertwo2000() *VersioningTestV2
func (*LargeDeltas) GetVertwo3000 ¶
func (p *LargeDeltas) GetVertwo3000() *VersioningTestV2
func (*LargeDeltas) IsSetASet2500 ¶
func (p *LargeDeltas) IsSetASet2500() bool
func (*LargeDeltas) IsSetB1 ¶
func (p *LargeDeltas) IsSetB1() bool
func (*LargeDeltas) IsSetB10 ¶
func (p *LargeDeltas) IsSetB10() bool
func (*LargeDeltas) IsSetB100 ¶
func (p *LargeDeltas) IsSetB100() bool
func (*LargeDeltas) IsSetB1000 ¶
func (p *LargeDeltas) IsSetB1000() bool
func (*LargeDeltas) IsSetBigNumbers ¶
func (p *LargeDeltas) IsSetBigNumbers() bool
func (*LargeDeltas) IsSetCheckFalse ¶
func (p *LargeDeltas) IsSetCheckFalse() bool
func (*LargeDeltas) IsSetCheckTrue ¶
func (p *LargeDeltas) IsSetCheckTrue() bool
func (*LargeDeltas) IsSetVertwo2000 ¶
func (p *LargeDeltas) IsSetVertwo2000() bool
func (*LargeDeltas) IsSetVertwo3000 ¶
func (p *LargeDeltas) IsSetVertwo3000() bool
func (*LargeDeltas) String ¶
func (p *LargeDeltas) String() string
type ListBonks ¶
type ListBonks struct {
Bonk []*Bonk `thrift:"bonk,1" json:"bonk,omitempty"`
}
Attributes:
- Bonk
func NewListBonks ¶
func NewListBonks() *ListBonks
type ListTypeVersioningV1 ¶
type ListTypeVersioningV1 struct { Myints []int32 `thrift:"myints,1" json:"myints,omitempty"` Hello *string `thrift:"hello,2" json:"hello,omitempty"` }
Attributes:
- Myints
- Hello
func NewListTypeVersioningV1 ¶
func NewListTypeVersioningV1() *ListTypeVersioningV1
func (*ListTypeVersioningV1) GetHello ¶
func (p *ListTypeVersioningV1) GetHello() string
func (*ListTypeVersioningV1) GetMyints ¶
func (p *ListTypeVersioningV1) GetMyints() []int32
func (*ListTypeVersioningV1) IsSetHello ¶
func (p *ListTypeVersioningV1) IsSetHello() bool
func (*ListTypeVersioningV1) IsSetMyints ¶
func (p *ListTypeVersioningV1) IsSetMyints() bool
func (*ListTypeVersioningV1) Read ¶
func (p *ListTypeVersioningV1) Read(iprot thrift.TProtocol) error
func (*ListTypeVersioningV1) String ¶
func (p *ListTypeVersioningV1) String() string
type ListTypeVersioningV2 ¶
type ListTypeVersioningV2 struct { Strings []string `thrift:"strings,1" json:"strings,omitempty"` Hello *string `thrift:"hello,2" json:"hello,omitempty"` }
Attributes:
- Strings
- Hello
func NewListTypeVersioningV2 ¶
func NewListTypeVersioningV2() *ListTypeVersioningV2
func (*ListTypeVersioningV2) GetHello ¶
func (p *ListTypeVersioningV2) GetHello() string
func (*ListTypeVersioningV2) GetStrings ¶
func (p *ListTypeVersioningV2) GetStrings() []string
func (*ListTypeVersioningV2) IsSetHello ¶
func (p *ListTypeVersioningV2) IsSetHello() bool
func (*ListTypeVersioningV2) IsSetStrings ¶
func (p *ListTypeVersioningV2) IsSetStrings() bool
func (*ListTypeVersioningV2) Read ¶
func (p *ListTypeVersioningV2) Read(iprot thrift.TProtocol) error
func (*ListTypeVersioningV2) String ¶
func (p *ListTypeVersioningV2) String() string
type NestedListsBonk ¶
type NestedListsBonk struct {
Bonk [][][]*Bonk `thrift:"bonk,1" json:"bonk,omitempty"`
}
Attributes:
- Bonk
func NewNestedListsBonk ¶
func NewNestedListsBonk() *NestedListsBonk
func (*NestedListsBonk) GetBonk ¶
func (p *NestedListsBonk) GetBonk() [][][]*Bonk
func (*NestedListsBonk) IsSetBonk ¶
func (p *NestedListsBonk) IsSetBonk() bool
func (*NestedListsBonk) String ¶
func (p *NestedListsBonk) String() string
type NestedListsI32x2 ¶
type NestedListsI32x2 struct {
Integerlist [][]int32 `thrift:"integerlist,1" json:"integerlist,omitempty"`
}
Attributes:
- Integerlist
func NewNestedListsI32x2 ¶
func NewNestedListsI32x2() *NestedListsI32x2
func (*NestedListsI32x2) GetIntegerlist ¶
func (p *NestedListsI32x2) GetIntegerlist() [][]int32
func (*NestedListsI32x2) IsSetIntegerlist ¶
func (p *NestedListsI32x2) IsSetIntegerlist() bool
func (*NestedListsI32x2) String ¶
func (p *NestedListsI32x2) String() string
type NestedListsI32x3 ¶
type NestedListsI32x3 struct {
Integerlist [][][]int32 `thrift:"integerlist,1" json:"integerlist,omitempty"`
}
Attributes:
- Integerlist
func NewNestedListsI32x3 ¶
func NewNestedListsI32x3() *NestedListsI32x3
func (*NestedListsI32x3) GetIntegerlist ¶
func (p *NestedListsI32x3) GetIntegerlist() [][][]int32
func (*NestedListsI32x3) IsSetIntegerlist ¶
func (p *NestedListsI32x3) IsSetIntegerlist() bool
func (*NestedListsI32x3) String ¶
func (p *NestedListsI32x3) String() string
type NestedMixedx2 ¶
type NestedMixedx2 struct { IntSetList []map[int32]bool `thrift:"int_set_list,1" json:"int_set_list,omitempty"` MapIntStrset map[int32]map[string]bool `thrift:"map_int_strset,2" json:"map_int_strset,omitempty"` MapIntStrsetList []map[int32]map[string]bool `thrift:"map_int_strset_list,3" json:"map_int_strset_list,omitempty"` }
Attributes:
- IntSetList
- MapIntStrset
- MapIntStrsetList
func NewNestedMixedx2 ¶
func NewNestedMixedx2() *NestedMixedx2
func (*NestedMixedx2) GetIntSetList ¶
func (p *NestedMixedx2) GetIntSetList() []map[int32]bool
func (*NestedMixedx2) GetMapIntStrset ¶
func (p *NestedMixedx2) GetMapIntStrset() map[int32]map[string]bool
func (*NestedMixedx2) GetMapIntStrsetList ¶
func (p *NestedMixedx2) GetMapIntStrsetList() []map[int32]map[string]bool
func (*NestedMixedx2) IsSetIntSetList ¶
func (p *NestedMixedx2) IsSetIntSetList() bool
func (*NestedMixedx2) IsSetMapIntStrset ¶
func (p *NestedMixedx2) IsSetMapIntStrset() bool
func (*NestedMixedx2) IsSetMapIntStrsetList ¶
func (p *NestedMixedx2) IsSetMapIntStrsetList() bool
func (*NestedMixedx2) String ¶
func (p *NestedMixedx2) String() string
type Numberz ¶
type Numberz int64
Docstring!
var ThriftTestTestEnumResult_Success_DEFAULT Numberz
func NumberzFromString ¶
func NumberzPtr ¶
func (Numberz) MarshalText ¶
func (*Numberz) UnmarshalText ¶
type OneField ¶
type OneField struct {
Field *EmptyStruct `thrift:"field,1" json:"field,omitempty"`
}
Attributes:
- Field
func NewOneField ¶
func NewOneField() *OneField
func (*OneField) GetField ¶
func (p *OneField) GetField() *EmptyStruct
func (*OneField) IsSetField ¶
type SecondService ¶
type SecondServiceBlahBlahArgs ¶
type SecondServiceBlahBlahArgs struct { }
func NewSecondServiceBlahBlahArgs ¶
func NewSecondServiceBlahBlahArgs() *SecondServiceBlahBlahArgs
func (*SecondServiceBlahBlahArgs) Read ¶
func (p *SecondServiceBlahBlahArgs) Read(iprot thrift.TProtocol) error
func (*SecondServiceBlahBlahArgs) String ¶
func (p *SecondServiceBlahBlahArgs) String() string
type SecondServiceBlahBlahResult ¶
type SecondServiceBlahBlahResult struct { }
func NewSecondServiceBlahBlahResult ¶
func NewSecondServiceBlahBlahResult() *SecondServiceBlahBlahResult
func (*SecondServiceBlahBlahResult) Read ¶
func (p *SecondServiceBlahBlahResult) Read(iprot thrift.TProtocol) error
func (*SecondServiceBlahBlahResult) String ¶
func (p *SecondServiceBlahBlahResult) String() string
type SecondServiceClient ¶
type SecondServiceClient struct { Transport thrift.TTransport ProtocolFactory thrift.TProtocolFactory InputProtocol thrift.TProtocol OutputProtocol thrift.TProtocol SeqId int32 }
Print 'testOneway(%d): Sleeping...' with secondsToSleep as '%d' sleep 'secondsToSleep' Print 'testOneway(%d): done sleeping!' with secondsToSleep as '%d' @param i32 secondsToSleep - the number of seconds to sleep
func NewSecondServiceClientFactory ¶
func NewSecondServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *SecondServiceClient
func NewSecondServiceClientProtocol ¶
func NewSecondServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *SecondServiceClient
func (*SecondServiceClient) BlahBlah ¶
func (p *SecondServiceClient) BlahBlah() (err error)
func (*SecondServiceClient) SecondtestString ¶
func (p *SecondServiceClient) SecondtestString(thing string) (r string, err error)
Prints 'testString("%s")' with thing as '%s' @param string thing - the string to print @return string - returns the string 'thing'
Parameters:
- Thing
type SecondServiceProcessor ¶
type SecondServiceProcessor struct {
// contains filtered or unexported fields
}
func NewSecondServiceProcessor ¶
func NewSecondServiceProcessor(handler SecondService) *SecondServiceProcessor
func (*SecondServiceProcessor) AddToProcessorMap ¶
func (p *SecondServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*SecondServiceProcessor) GetProcessorFunction ¶
func (p *SecondServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*SecondServiceProcessor) Process ¶
func (p *SecondServiceProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*SecondServiceProcessor) ProcessorMap ¶
func (p *SecondServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type SecondServiceSecondtestStringArgs ¶
type SecondServiceSecondtestStringArgs struct {
Thing string `thrift:"thing,1" json:"thing"`
}
Attributes:
- Thing
func NewSecondServiceSecondtestStringArgs ¶
func NewSecondServiceSecondtestStringArgs() *SecondServiceSecondtestStringArgs
func (*SecondServiceSecondtestStringArgs) GetThing ¶
func (p *SecondServiceSecondtestStringArgs) GetThing() string
func (*SecondServiceSecondtestStringArgs) Read ¶
func (p *SecondServiceSecondtestStringArgs) Read(iprot thrift.TProtocol) error
func (*SecondServiceSecondtestStringArgs) String ¶
func (p *SecondServiceSecondtestStringArgs) String() string
type SecondServiceSecondtestStringResult ¶
type SecondServiceSecondtestStringResult struct {
Success *string `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewSecondServiceSecondtestStringResult ¶
func NewSecondServiceSecondtestStringResult() *SecondServiceSecondtestStringResult
func (*SecondServiceSecondtestStringResult) GetSuccess ¶
func (p *SecondServiceSecondtestStringResult) GetSuccess() string
func (*SecondServiceSecondtestStringResult) IsSetSuccess ¶
func (p *SecondServiceSecondtestStringResult) IsSetSuccess() bool
func (*SecondServiceSecondtestStringResult) Read ¶
func (p *SecondServiceSecondtestStringResult) Read(iprot thrift.TProtocol) error
func (*SecondServiceSecondtestStringResult) String ¶
func (p *SecondServiceSecondtestStringResult) String() string
type StructA ¶
type StructA struct {
S string `thrift:"s,1,required" json:"s"`
}
Attributes:
- S
var StructB_Aa_DEFAULT *StructA
var StructB_Ab_DEFAULT *StructA
func NewStructA ¶
func NewStructA() *StructA
type StructB ¶
type StructB struct { Aa *StructA `thrift:"aa,1" json:"aa,omitempty"` Ab *StructA `thrift:"ab,2,required" json:"ab"` }
Attributes:
- Aa
- Ab
func NewStructB ¶
func NewStructB() *StructB
type TChanSecondService ¶
type TChanSecondService interface { BlahBlah(ctx thrift.Context) error SecondtestString(ctx thrift.Context, thing string) (string, error) }
TChanSecondService is the interface that defines the server handler and client interface.
func NewTChanSecondServiceClient ¶
func NewTChanSecondServiceClient(client thrift.TChanClient) TChanSecondService
NewTChanSecondServiceClient creates a client that can be used to make remote calls.
type TChanThriftTest ¶
type TChanThriftTest interface { TestBinary(ctx thrift.Context, thing []byte) ([]byte, error) TestByte(ctx thrift.Context, thing int8) (int8, error) TestDouble(ctx thrift.Context, thing float64) (float64, error) TestEnum(ctx thrift.Context, thing Numberz) (Numberz, error) TestException(ctx thrift.Context, arg string) error TestI32(ctx thrift.Context, thing int32) (int32, error) TestI64(ctx thrift.Context, thing int64) (int64, error) TestInsanity(ctx thrift.Context, argument *Insanity) (map[UserId]map[Numberz]*Insanity, error) TestList(ctx thrift.Context, thing []int32) ([]int32, error) TestMap(ctx thrift.Context, thing map[int32]int32) (map[int32]int32, error) TestMapMap(ctx thrift.Context, hello int32) (map[int32]map[int32]int32, error) TestMulti(ctx thrift.Context, arg0 int8, arg1 int32, arg2 int64, arg3 map[int16]string, arg4 Numberz, arg5 UserId) (*Xtruct, error) TestMultiException(ctx thrift.Context, arg0 string, arg1 string) (*Xtruct, error) TestNest(ctx thrift.Context, thing *Xtruct2) (*Xtruct2, error) TestSet(ctx thrift.Context, thing map[int32]bool) (map[int32]bool, error) TestString(ctx thrift.Context, thing string) (string, error) TestStringMap(ctx thrift.Context, thing map[string]string) (map[string]string, error) TestStruct(ctx thrift.Context, thing *Xtruct) (*Xtruct, error) TestTypedef(ctx thrift.Context, thing UserId) (UserId, error) TestVoid(ctx thrift.Context) error }
TChanThriftTest is the interface that defines the server handler and client interface.
func NewTChanThriftTestClient ¶
func NewTChanThriftTestClient(client thrift.TChanClient) TChanThriftTest
NewTChanThriftTestClient creates a client that can be used to make remote calls.
type ThriftTest ¶
type ThriftTest interface { // Prints "testVoid()" and returns nothing. TestVoid() (err error) // Prints 'testString("%s")' with thing as '%s' // @param string thing - the string to print // @return string - returns the string 'thing' // // Parameters: // - Thing TestString(thing string) (r string, err error) // Prints 'testByte("%d")' with thing as '%d' // @param byte thing - the byte to print // @return byte - returns the byte 'thing' // // Parameters: // - Thing TestByte(thing int8) (r int8, err error) // Prints 'testI32("%d")' with thing as '%d' // @param i32 thing - the i32 to print // @return i32 - returns the i32 'thing' // // Parameters: // - Thing TestI32(thing int32) (r int32, err error) // Prints 'testI64("%d")' with thing as '%d' // @param i64 thing - the i64 to print // @return i64 - returns the i64 'thing' // // Parameters: // - Thing TestI64(thing int64) (r int64, err error) // Prints 'testDouble("%f")' with thing as '%f' // @param double thing - the double to print // @return double - returns the double 'thing' // // Parameters: // - Thing TestDouble(thing float64) (r float64, err error) // Prints 'testBinary("%s")' where '%s' is a hex-formatted string of thing's data // @param binary thing - the binary data to print // @return binary - returns the binary 'thing' // // Parameters: // - Thing TestBinary(thing []byte) (r []byte, err error) // Prints 'testStruct("{%s}")' where thing has been formatted into a string of comma separated values // @param Xtruct thing - the Xtruct to print // @return Xtruct - returns the Xtruct 'thing' // // Parameters: // - Thing TestStruct(thing *Xtruct) (r *Xtruct, err error) // Prints 'testNest("{%s}")' where thing has been formatted into a string of the nested struct // @param Xtruct2 thing - the Xtruct2 to print // @return Xtruct2 - returns the Xtruct2 'thing' // // Parameters: // - Thing TestNest(thing *Xtruct2) (r *Xtruct2, err error) // Prints 'testMap("{%s")' where thing has been formatted into a string of 'key => value' pairs // separated by commas and new lines // @param map<i32,i32> thing - the map<i32,i32> to print // @return map<i32,i32> - returns the map<i32,i32> 'thing' // // Parameters: // - Thing TestMap(thing map[int32]int32) (r map[int32]int32, err error) // Prints 'testStringMap("{%s}")' where thing has been formatted into a string of 'key => value' pairs // separated by commas and new lines // @param map<string,string> thing - the map<string,string> to print // @return map<string,string> - returns the map<string,string> 'thing' // // Parameters: // - Thing TestStringMap(thing map[string]string) (r map[string]string, err error) // Prints 'testSet("{%s}")' where thing has been formatted into a string of values // separated by commas and new lines // @param set<i32> thing - the set<i32> to print // @return set<i32> - returns the set<i32> 'thing' // // Parameters: // - Thing TestSet(thing map[int32]bool) (r map[int32]bool, err error) // Prints 'testList("{%s}")' where thing has been formatted into a string of values // separated by commas and new lines // @param list<i32> thing - the list<i32> to print // @return list<i32> - returns the list<i32> 'thing' // // Parameters: // - Thing TestList(thing []int32) (r []int32, err error) // Prints 'testEnum("%d")' where thing has been formatted into it's numeric value // @param Numberz thing - the Numberz to print // @return Numberz - returns the Numberz 'thing' // // Parameters: // - Thing TestEnum(thing Numberz) (r Numberz, err error) // Prints 'testTypedef("%d")' with thing as '%d' // @param UserId thing - the UserId to print // @return UserId - returns the UserId 'thing' // // Parameters: // - Thing TestTypedef(thing UserId) (r UserId, err error) // Prints 'testMapMap("%d")' with hello as '%d' // @param i32 hello - the i32 to print // @return map<i32,map<i32,i32>> - returns a dictionary with these values: // {-4 => {-4 => -4, -3 => -3, -2 => -2, -1 => -1, }, 4 => {1 => 1, 2 => 2, 3 => 3, 4 => 4, }, } // // Parameters: // - Hello TestMapMap(hello int32) (r map[int32]map[int32]int32, err error) // So you think you've got this all worked, out eh? // // Creates a the returned map with these values and prints it out: // { 1 => { 2 => argument, // 3 => argument, // }, // 2 => { 6 => <empty Insanity struct>, }, // } // @return map<UserId, map<Numberz,Insanity>> - a map with the above values // // Parameters: // - Argument TestInsanity(argument *Insanity) (r map[UserId]map[Numberz]*Insanity, err error) // Prints 'testMulti()' // @param byte arg0 - // @param i32 arg1 - // @param i64 arg2 - // @param map<i16, string> arg3 - // @param Numberz arg4 - // @param UserId arg5 - // @return Xtruct - returns an Xtruct with string_thing = "Hello2, byte_thing = arg0, i32_thing = arg1 // and i64_thing = arg2 // // Parameters: // - Arg0 // - Arg1 // - Arg2 // - Arg3 // - Arg4 // - Arg5 TestMulti(arg0 int8, arg1 int32, arg2 int64, arg3 map[int16]string, arg4 Numberz, arg5 UserId) (r *Xtruct, err error) // Print 'testException(%s)' with arg as '%s' // @param string arg - a string indication what type of exception to throw // if arg == "Xception" throw Xception with errorCode = 1001 and message = arg // elsen if arg == "TException" throw TException // else do not throw anything // // Parameters: // - Arg TestException(arg string) (err error) // Print 'testMultiException(%s, %s)' with arg0 as '%s' and arg1 as '%s' // @param string arg - a string indication what type of exception to throw // if arg0 == "Xception" throw Xception with errorCode = 1001 and message = "This is an Xception" // elsen if arg0 == "Xception2" throw Xception2 with errorCode = 2002 and message = "This is an Xception2" // else do not throw anything // @return Xtruct - an Xtruct with string_thing = arg1 // // Parameters: // - Arg0 // - Arg1 TestMultiException(arg0 string, arg1 string) (r *Xtruct, err error) }
type ThriftTestClient ¶
type ThriftTestClient struct { Transport thrift.TTransport ProtocolFactory thrift.TProtocolFactory InputProtocol thrift.TProtocol OutputProtocol thrift.TProtocol SeqId int32 }
func NewThriftTestClientFactory ¶
func NewThriftTestClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *ThriftTestClient
func NewThriftTestClientProtocol ¶
func NewThriftTestClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *ThriftTestClient
func (*ThriftTestClient) TestBinary ¶
func (p *ThriftTestClient) TestBinary(thing []byte) (r []byte, err error)
Prints 'testBinary("%s")' where '%s' is a hex-formatted string of thing's data @param binary thing - the binary data to print @return binary - returns the binary 'thing'
Parameters:
- Thing
func (*ThriftTestClient) TestByte ¶
func (p *ThriftTestClient) TestByte(thing int8) (r int8, err error)
Prints 'testByte("%d")' with thing as '%d' @param byte thing - the byte to print @return byte - returns the byte 'thing'
Parameters:
- Thing
func (*ThriftTestClient) TestDouble ¶
func (p *ThriftTestClient) TestDouble(thing float64) (r float64, err error)
Prints 'testDouble("%f")' with thing as '%f' @param double thing - the double to print @return double - returns the double 'thing'
Parameters:
- Thing
func (*ThriftTestClient) TestEnum ¶
func (p *ThriftTestClient) TestEnum(thing Numberz) (r Numberz, err error)
Prints 'testEnum("%d")' where thing has been formatted into it's numeric value @param Numberz thing - the Numberz to print @return Numberz - returns the Numberz 'thing'
Parameters:
- Thing
func (*ThriftTestClient) TestException ¶
func (p *ThriftTestClient) TestException(arg string) (err error)
Print 'testException(%s)' with arg as '%s' @param string arg - a string indication what type of exception to throw if arg == "Xception" throw Xception with errorCode = 1001 and message = arg elsen if arg == "TException" throw TException else do not throw anything
Parameters:
- Arg
func (*ThriftTestClient) TestI32 ¶
func (p *ThriftTestClient) TestI32(thing int32) (r int32, err error)
Prints 'testI32("%d")' with thing as '%d' @param i32 thing - the i32 to print @return i32 - returns the i32 'thing'
Parameters:
- Thing
func (*ThriftTestClient) TestI64 ¶
func (p *ThriftTestClient) TestI64(thing int64) (r int64, err error)
Prints 'testI64("%d")' with thing as '%d' @param i64 thing - the i64 to print @return i64 - returns the i64 'thing'
Parameters:
- Thing
func (*ThriftTestClient) TestInsanity ¶
func (p *ThriftTestClient) TestInsanity(argument *Insanity) (r map[UserId]map[Numberz]*Insanity, err error)
So you think you've got this all worked, out eh?
Creates a the returned map with these values and prints it out:
{ 1 => { 2 => argument, 3 => argument, }, 2 => { 6 => <empty Insanity struct>, }, }
@return map<UserId, map<Numberz,Insanity>> - a map with the above values
Parameters:
- Argument
func (*ThriftTestClient) TestList ¶
func (p *ThriftTestClient) TestList(thing []int32) (r []int32, err error)
Prints 'testList("{%s}")' where thing has been formatted into a string of values
separated by commas and new lines
@param list<i32> thing - the list<i32> to print @return list<i32> - returns the list<i32> 'thing'
Parameters:
- Thing
func (*ThriftTestClient) TestMap ¶
Prints 'testMap("{%s")' where thing has been formatted into a string of 'key => value' pairs
separated by commas and new lines
@param map<i32,i32> thing - the map<i32,i32> to print @return map<i32,i32> - returns the map<i32,i32> 'thing'
Parameters:
- Thing
func (*ThriftTestClient) TestMapMap ¶
Prints 'testMapMap("%d")' with hello as '%d' @param i32 hello - the i32 to print @return map<i32,map<i32,i32>> - returns a dictionary with these values:
{-4 => {-4 => -4, -3 => -3, -2 => -2, -1 => -1, }, 4 => {1 => 1, 2 => 2, 3 => 3, 4 => 4, }, }
Parameters:
- Hello
func (*ThriftTestClient) TestMulti ¶
func (p *ThriftTestClient) TestMulti(arg0 int8, arg1 int32, arg2 int64, arg3 map[int16]string, arg4 Numberz, arg5 UserId) (r *Xtruct, err error)
Prints 'testMulti()' @param byte arg0 - @param i32 arg1 - @param i64 arg2 - @param map<i16, string> arg3 - @param Numberz arg4 - @param UserId arg5 - @return Xtruct - returns an Xtruct with string_thing = "Hello2, byte_thing = arg0, i32_thing = arg1
and i64_thing = arg2
Parameters:
- Arg0
- Arg1
- Arg2
- Arg3
- Arg4
- Arg5
func (*ThriftTestClient) TestMultiException ¶
func (p *ThriftTestClient) TestMultiException(arg0 string, arg1 string) (r *Xtruct, err error)
Print 'testMultiException(%s, %s)' with arg0 as '%s' and arg1 as '%s' @param string arg - a string indication what type of exception to throw if arg0 == "Xception" throw Xception with errorCode = 1001 and message = "This is an Xception" elsen if arg0 == "Xception2" throw Xception2 with errorCode = 2002 and message = "This is an Xception2" else do not throw anything @return Xtruct - an Xtruct with string_thing = arg1
Parameters:
- Arg0
- Arg1
func (*ThriftTestClient) TestNest ¶
func (p *ThriftTestClient) TestNest(thing *Xtruct2) (r *Xtruct2, err error)
Prints 'testNest("{%s}")' where thing has been formatted into a string of the nested struct @param Xtruct2 thing - the Xtruct2 to print @return Xtruct2 - returns the Xtruct2 'thing'
Parameters:
- Thing
func (*ThriftTestClient) TestSet ¶
Prints 'testSet("{%s}")' where thing has been formatted into a string of values
separated by commas and new lines
@param set<i32> thing - the set<i32> to print @return set<i32> - returns the set<i32> 'thing'
Parameters:
- Thing
func (*ThriftTestClient) TestString ¶
func (p *ThriftTestClient) TestString(thing string) (r string, err error)
Prints 'testString("%s")' with thing as '%s' @param string thing - the string to print @return string - returns the string 'thing'
Parameters:
- Thing
func (*ThriftTestClient) TestStringMap ¶
Prints 'testStringMap("{%s}")' where thing has been formatted into a string of 'key => value' pairs
separated by commas and new lines
@param map<string,string> thing - the map<string,string> to print @return map<string,string> - returns the map<string,string> 'thing'
Parameters:
- Thing
func (*ThriftTestClient) TestStruct ¶
func (p *ThriftTestClient) TestStruct(thing *Xtruct) (r *Xtruct, err error)
Prints 'testStruct("{%s}")' where thing has been formatted into a string of comma separated values @param Xtruct thing - the Xtruct to print @return Xtruct - returns the Xtruct 'thing'
Parameters:
- Thing
func (*ThriftTestClient) TestTypedef ¶
func (p *ThriftTestClient) TestTypedef(thing UserId) (r UserId, err error)
Prints 'testTypedef("%d")' with thing as '%d' @param UserId thing - the UserId to print @return UserId - returns the UserId 'thing'
Parameters:
- Thing
func (*ThriftTestClient) TestVoid ¶
func (p *ThriftTestClient) TestVoid() (err error)
Prints "testVoid()" and returns nothing.
type ThriftTestProcessor ¶
type ThriftTestProcessor struct {
// contains filtered or unexported fields
}
func NewThriftTestProcessor ¶
func NewThriftTestProcessor(handler ThriftTest) *ThriftTestProcessor
func (*ThriftTestProcessor) AddToProcessorMap ¶
func (p *ThriftTestProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*ThriftTestProcessor) GetProcessorFunction ¶
func (p *ThriftTestProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*ThriftTestProcessor) Process ¶
func (p *ThriftTestProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*ThriftTestProcessor) ProcessorMap ¶
func (p *ThriftTestProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type ThriftTestTestBinaryArgs ¶
type ThriftTestTestBinaryArgs struct {
Thing []byte `thrift:"thing,1" json:"thing"`
}
Attributes:
- Thing
func NewThriftTestTestBinaryArgs ¶
func NewThriftTestTestBinaryArgs() *ThriftTestTestBinaryArgs
func (*ThriftTestTestBinaryArgs) GetThing ¶
func (p *ThriftTestTestBinaryArgs) GetThing() []byte
func (*ThriftTestTestBinaryArgs) Read ¶
func (p *ThriftTestTestBinaryArgs) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestBinaryArgs) String ¶
func (p *ThriftTestTestBinaryArgs) String() string
type ThriftTestTestBinaryResult ¶
type ThriftTestTestBinaryResult struct {
Success []byte `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewThriftTestTestBinaryResult ¶
func NewThriftTestTestBinaryResult() *ThriftTestTestBinaryResult
func (*ThriftTestTestBinaryResult) GetSuccess ¶
func (p *ThriftTestTestBinaryResult) GetSuccess() []byte
func (*ThriftTestTestBinaryResult) IsSetSuccess ¶
func (p *ThriftTestTestBinaryResult) IsSetSuccess() bool
func (*ThriftTestTestBinaryResult) Read ¶
func (p *ThriftTestTestBinaryResult) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestBinaryResult) String ¶
func (p *ThriftTestTestBinaryResult) String() string
type ThriftTestTestByteArgs ¶
type ThriftTestTestByteArgs struct {
Thing int8 `thrift:"thing,1" json:"thing"`
}
Attributes:
- Thing
func NewThriftTestTestByteArgs ¶
func NewThriftTestTestByteArgs() *ThriftTestTestByteArgs
func (*ThriftTestTestByteArgs) GetThing ¶
func (p *ThriftTestTestByteArgs) GetThing() int8
func (*ThriftTestTestByteArgs) Read ¶
func (p *ThriftTestTestByteArgs) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestByteArgs) String ¶
func (p *ThriftTestTestByteArgs) String() string
type ThriftTestTestByteResult ¶
type ThriftTestTestByteResult struct {
Success *int8 `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewThriftTestTestByteResult ¶
func NewThriftTestTestByteResult() *ThriftTestTestByteResult
func (*ThriftTestTestByteResult) GetSuccess ¶
func (p *ThriftTestTestByteResult) GetSuccess() int8
func (*ThriftTestTestByteResult) IsSetSuccess ¶
func (p *ThriftTestTestByteResult) IsSetSuccess() bool
func (*ThriftTestTestByteResult) Read ¶
func (p *ThriftTestTestByteResult) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestByteResult) String ¶
func (p *ThriftTestTestByteResult) String() string
type ThriftTestTestDoubleArgs ¶
type ThriftTestTestDoubleArgs struct {
Thing float64 `thrift:"thing,1" json:"thing"`
}
Attributes:
- Thing
func NewThriftTestTestDoubleArgs ¶
func NewThriftTestTestDoubleArgs() *ThriftTestTestDoubleArgs
func (*ThriftTestTestDoubleArgs) GetThing ¶
func (p *ThriftTestTestDoubleArgs) GetThing() float64
func (*ThriftTestTestDoubleArgs) Read ¶
func (p *ThriftTestTestDoubleArgs) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestDoubleArgs) String ¶
func (p *ThriftTestTestDoubleArgs) String() string
type ThriftTestTestDoubleResult ¶
type ThriftTestTestDoubleResult struct {
Success *float64 `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewThriftTestTestDoubleResult ¶
func NewThriftTestTestDoubleResult() *ThriftTestTestDoubleResult
func (*ThriftTestTestDoubleResult) GetSuccess ¶
func (p *ThriftTestTestDoubleResult) GetSuccess() float64
func (*ThriftTestTestDoubleResult) IsSetSuccess ¶
func (p *ThriftTestTestDoubleResult) IsSetSuccess() bool
func (*ThriftTestTestDoubleResult) Read ¶
func (p *ThriftTestTestDoubleResult) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestDoubleResult) String ¶
func (p *ThriftTestTestDoubleResult) String() string
type ThriftTestTestEnumArgs ¶
type ThriftTestTestEnumArgs struct {
Thing Numberz `thrift:"thing,1" json:"thing"`
}
Attributes:
- Thing
func NewThriftTestTestEnumArgs ¶
func NewThriftTestTestEnumArgs() *ThriftTestTestEnumArgs
func (*ThriftTestTestEnumArgs) GetThing ¶
func (p *ThriftTestTestEnumArgs) GetThing() Numberz
func (*ThriftTestTestEnumArgs) Read ¶
func (p *ThriftTestTestEnumArgs) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestEnumArgs) String ¶
func (p *ThriftTestTestEnumArgs) String() string
type ThriftTestTestEnumResult ¶
type ThriftTestTestEnumResult struct {
Success *Numberz `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewThriftTestTestEnumResult ¶
func NewThriftTestTestEnumResult() *ThriftTestTestEnumResult
func (*ThriftTestTestEnumResult) GetSuccess ¶
func (p *ThriftTestTestEnumResult) GetSuccess() Numberz
func (*ThriftTestTestEnumResult) IsSetSuccess ¶
func (p *ThriftTestTestEnumResult) IsSetSuccess() bool
func (*ThriftTestTestEnumResult) Read ¶
func (p *ThriftTestTestEnumResult) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestEnumResult) String ¶
func (p *ThriftTestTestEnumResult) String() string
type ThriftTestTestExceptionArgs ¶
type ThriftTestTestExceptionArgs struct {
Arg string `thrift:"arg,1" json:"arg"`
}
Attributes:
- Arg
func NewThriftTestTestExceptionArgs ¶
func NewThriftTestTestExceptionArgs() *ThriftTestTestExceptionArgs
func (*ThriftTestTestExceptionArgs) GetArg ¶
func (p *ThriftTestTestExceptionArgs) GetArg() string
func (*ThriftTestTestExceptionArgs) Read ¶
func (p *ThriftTestTestExceptionArgs) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestExceptionArgs) String ¶
func (p *ThriftTestTestExceptionArgs) String() string
type ThriftTestTestExceptionResult ¶
type ThriftTestTestExceptionResult struct {
Err1 *Xception `thrift:"err1,1" json:"err1,omitempty"`
}
Attributes:
- Err1
func NewThriftTestTestExceptionResult ¶
func NewThriftTestTestExceptionResult() *ThriftTestTestExceptionResult
func (*ThriftTestTestExceptionResult) GetErr1 ¶
func (p *ThriftTestTestExceptionResult) GetErr1() *Xception
func (*ThriftTestTestExceptionResult) IsSetErr1 ¶
func (p *ThriftTestTestExceptionResult) IsSetErr1() bool
func (*ThriftTestTestExceptionResult) Read ¶
func (p *ThriftTestTestExceptionResult) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestExceptionResult) String ¶
func (p *ThriftTestTestExceptionResult) String() string
type ThriftTestTestI32Args ¶
type ThriftTestTestI32Args struct {
Thing int32 `thrift:"thing,1" json:"thing"`
}
Attributes:
- Thing
func NewThriftTestTestI32Args ¶
func NewThriftTestTestI32Args() *ThriftTestTestI32Args
func (*ThriftTestTestI32Args) GetThing ¶
func (p *ThriftTestTestI32Args) GetThing() int32
func (*ThriftTestTestI32Args) Read ¶
func (p *ThriftTestTestI32Args) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestI32Args) String ¶
func (p *ThriftTestTestI32Args) String() string
type ThriftTestTestI32Result ¶
type ThriftTestTestI32Result struct {
Success *int32 `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewThriftTestTestI32Result ¶
func NewThriftTestTestI32Result() *ThriftTestTestI32Result
func (*ThriftTestTestI32Result) GetSuccess ¶
func (p *ThriftTestTestI32Result) GetSuccess() int32
func (*ThriftTestTestI32Result) IsSetSuccess ¶
func (p *ThriftTestTestI32Result) IsSetSuccess() bool
func (*ThriftTestTestI32Result) Read ¶
func (p *ThriftTestTestI32Result) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestI32Result) String ¶
func (p *ThriftTestTestI32Result) String() string
type ThriftTestTestI64Args ¶
type ThriftTestTestI64Args struct {
Thing int64 `thrift:"thing,1" json:"thing"`
}
Attributes:
- Thing
func NewThriftTestTestI64Args ¶
func NewThriftTestTestI64Args() *ThriftTestTestI64Args
func (*ThriftTestTestI64Args) GetThing ¶
func (p *ThriftTestTestI64Args) GetThing() int64
func (*ThriftTestTestI64Args) Read ¶
func (p *ThriftTestTestI64Args) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestI64Args) String ¶
func (p *ThriftTestTestI64Args) String() string
type ThriftTestTestI64Result ¶
type ThriftTestTestI64Result struct {
Success *int64 `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewThriftTestTestI64Result ¶
func NewThriftTestTestI64Result() *ThriftTestTestI64Result
func (*ThriftTestTestI64Result) GetSuccess ¶
func (p *ThriftTestTestI64Result) GetSuccess() int64
func (*ThriftTestTestI64Result) IsSetSuccess ¶
func (p *ThriftTestTestI64Result) IsSetSuccess() bool
func (*ThriftTestTestI64Result) Read ¶
func (p *ThriftTestTestI64Result) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestI64Result) String ¶
func (p *ThriftTestTestI64Result) String() string
type ThriftTestTestInsanityArgs ¶
type ThriftTestTestInsanityArgs struct {
Argument *Insanity `thrift:"argument,1" json:"argument"`
}
Attributes:
- Argument
func NewThriftTestTestInsanityArgs ¶
func NewThriftTestTestInsanityArgs() *ThriftTestTestInsanityArgs
func (*ThriftTestTestInsanityArgs) GetArgument ¶
func (p *ThriftTestTestInsanityArgs) GetArgument() *Insanity
func (*ThriftTestTestInsanityArgs) IsSetArgument ¶
func (p *ThriftTestTestInsanityArgs) IsSetArgument() bool
func (*ThriftTestTestInsanityArgs) Read ¶
func (p *ThriftTestTestInsanityArgs) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestInsanityArgs) String ¶
func (p *ThriftTestTestInsanityArgs) String() string
type ThriftTestTestInsanityResult ¶
type ThriftTestTestInsanityResult struct {
Success map[UserId]map[Numberz]*Insanity `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewThriftTestTestInsanityResult ¶
func NewThriftTestTestInsanityResult() *ThriftTestTestInsanityResult
func (*ThriftTestTestInsanityResult) GetSuccess ¶
func (p *ThriftTestTestInsanityResult) GetSuccess() map[UserId]map[Numberz]*Insanity
func (*ThriftTestTestInsanityResult) IsSetSuccess ¶
func (p *ThriftTestTestInsanityResult) IsSetSuccess() bool
func (*ThriftTestTestInsanityResult) Read ¶
func (p *ThriftTestTestInsanityResult) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestInsanityResult) String ¶
func (p *ThriftTestTestInsanityResult) String() string
type ThriftTestTestListArgs ¶
type ThriftTestTestListArgs struct {
Thing []int32 `thrift:"thing,1" json:"thing"`
}
Attributes:
- Thing
func NewThriftTestTestListArgs ¶
func NewThriftTestTestListArgs() *ThriftTestTestListArgs
func (*ThriftTestTestListArgs) GetThing ¶
func (p *ThriftTestTestListArgs) GetThing() []int32
func (*ThriftTestTestListArgs) Read ¶
func (p *ThriftTestTestListArgs) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestListArgs) String ¶
func (p *ThriftTestTestListArgs) String() string
type ThriftTestTestListResult ¶
type ThriftTestTestListResult struct {
Success []int32 `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewThriftTestTestListResult ¶
func NewThriftTestTestListResult() *ThriftTestTestListResult
func (*ThriftTestTestListResult) GetSuccess ¶
func (p *ThriftTestTestListResult) GetSuccess() []int32
func (*ThriftTestTestListResult) IsSetSuccess ¶
func (p *ThriftTestTestListResult) IsSetSuccess() bool
func (*ThriftTestTestListResult) Read ¶
func (p *ThriftTestTestListResult) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestListResult) String ¶
func (p *ThriftTestTestListResult) String() string
type ThriftTestTestMapArgs ¶
Attributes:
- Thing
func NewThriftTestTestMapArgs ¶
func NewThriftTestTestMapArgs() *ThriftTestTestMapArgs
func (*ThriftTestTestMapArgs) GetThing ¶
func (p *ThriftTestTestMapArgs) GetThing() map[int32]int32
func (*ThriftTestTestMapArgs) Read ¶
func (p *ThriftTestTestMapArgs) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestMapArgs) String ¶
func (p *ThriftTestTestMapArgs) String() string
type ThriftTestTestMapMapArgs ¶
type ThriftTestTestMapMapArgs struct {
Hello int32 `thrift:"hello,1" json:"hello"`
}
Attributes:
- Hello
func NewThriftTestTestMapMapArgs ¶
func NewThriftTestTestMapMapArgs() *ThriftTestTestMapMapArgs
func (*ThriftTestTestMapMapArgs) GetHello ¶
func (p *ThriftTestTestMapMapArgs) GetHello() int32
func (*ThriftTestTestMapMapArgs) Read ¶
func (p *ThriftTestTestMapMapArgs) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestMapMapArgs) String ¶
func (p *ThriftTestTestMapMapArgs) String() string
type ThriftTestTestMapMapResult ¶
type ThriftTestTestMapMapResult struct {
Success map[int32]map[int32]int32 `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewThriftTestTestMapMapResult ¶
func NewThriftTestTestMapMapResult() *ThriftTestTestMapMapResult
func (*ThriftTestTestMapMapResult) GetSuccess ¶
func (p *ThriftTestTestMapMapResult) GetSuccess() map[int32]map[int32]int32
func (*ThriftTestTestMapMapResult) IsSetSuccess ¶
func (p *ThriftTestTestMapMapResult) IsSetSuccess() bool
func (*ThriftTestTestMapMapResult) Read ¶
func (p *ThriftTestTestMapMapResult) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestMapMapResult) String ¶
func (p *ThriftTestTestMapMapResult) String() string
type ThriftTestTestMapResult ¶
type ThriftTestTestMapResult struct {
Success map[int32]int32 `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewThriftTestTestMapResult ¶
func NewThriftTestTestMapResult() *ThriftTestTestMapResult
func (*ThriftTestTestMapResult) GetSuccess ¶
func (p *ThriftTestTestMapResult) GetSuccess() map[int32]int32
func (*ThriftTestTestMapResult) IsSetSuccess ¶
func (p *ThriftTestTestMapResult) IsSetSuccess() bool
func (*ThriftTestTestMapResult) Read ¶
func (p *ThriftTestTestMapResult) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestMapResult) String ¶
func (p *ThriftTestTestMapResult) String() string
type ThriftTestTestMultiArgs ¶
type ThriftTestTestMultiArgs struct { Arg0 int8 `thrift:"arg0,1" json:"arg0"` Arg1 int32 `thrift:"arg1,2" json:"arg1"` Arg2 int64 `thrift:"arg2,3" json:"arg2"` Arg3 map[int16]string `thrift:"arg3,4" json:"arg3"` Arg4 Numberz `thrift:"arg4,5" json:"arg4"` Arg5 UserId `thrift:"arg5,6" json:"arg5"` }
Attributes:
- Arg0
- Arg1
- Arg2
- Arg3
- Arg4
- Arg5
func NewThriftTestTestMultiArgs ¶
func NewThriftTestTestMultiArgs() *ThriftTestTestMultiArgs
func (*ThriftTestTestMultiArgs) GetArg0 ¶
func (p *ThriftTestTestMultiArgs) GetArg0() int8
func (*ThriftTestTestMultiArgs) GetArg1 ¶
func (p *ThriftTestTestMultiArgs) GetArg1() int32
func (*ThriftTestTestMultiArgs) GetArg2 ¶
func (p *ThriftTestTestMultiArgs) GetArg2() int64
func (*ThriftTestTestMultiArgs) GetArg3 ¶
func (p *ThriftTestTestMultiArgs) GetArg3() map[int16]string
func (*ThriftTestTestMultiArgs) GetArg4 ¶
func (p *ThriftTestTestMultiArgs) GetArg4() Numberz
func (*ThriftTestTestMultiArgs) GetArg5 ¶
func (p *ThriftTestTestMultiArgs) GetArg5() UserId
func (*ThriftTestTestMultiArgs) Read ¶
func (p *ThriftTestTestMultiArgs) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestMultiArgs) String ¶
func (p *ThriftTestTestMultiArgs) String() string
type ThriftTestTestMultiExceptionArgs ¶
type ThriftTestTestMultiExceptionArgs struct { Arg0 string `thrift:"arg0,1" json:"arg0"` Arg1 string `thrift:"arg1,2" json:"arg1"` }
Attributes:
- Arg0
- Arg1
func NewThriftTestTestMultiExceptionArgs ¶
func NewThriftTestTestMultiExceptionArgs() *ThriftTestTestMultiExceptionArgs
func (*ThriftTestTestMultiExceptionArgs) GetArg0 ¶
func (p *ThriftTestTestMultiExceptionArgs) GetArg0() string
func (*ThriftTestTestMultiExceptionArgs) GetArg1 ¶
func (p *ThriftTestTestMultiExceptionArgs) GetArg1() string
func (*ThriftTestTestMultiExceptionArgs) Read ¶
func (p *ThriftTestTestMultiExceptionArgs) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestMultiExceptionArgs) String ¶
func (p *ThriftTestTestMultiExceptionArgs) String() string
type ThriftTestTestMultiExceptionResult ¶
type ThriftTestTestMultiExceptionResult struct { Success *Xtruct `thrift:"success,0" json:"success,omitempty"` Err1 *Xception `thrift:"err1,1" json:"err1,omitempty"` Err2 *Xception2 `thrift:"err2,2" json:"err2,omitempty"` }
Attributes:
- Success
- Err1
- Err2
func NewThriftTestTestMultiExceptionResult ¶
func NewThriftTestTestMultiExceptionResult() *ThriftTestTestMultiExceptionResult
func (*ThriftTestTestMultiExceptionResult) GetErr1 ¶
func (p *ThriftTestTestMultiExceptionResult) GetErr1() *Xception
func (*ThriftTestTestMultiExceptionResult) GetErr2 ¶
func (p *ThriftTestTestMultiExceptionResult) GetErr2() *Xception2
func (*ThriftTestTestMultiExceptionResult) GetSuccess ¶
func (p *ThriftTestTestMultiExceptionResult) GetSuccess() *Xtruct
func (*ThriftTestTestMultiExceptionResult) IsSetErr1 ¶
func (p *ThriftTestTestMultiExceptionResult) IsSetErr1() bool
func (*ThriftTestTestMultiExceptionResult) IsSetErr2 ¶
func (p *ThriftTestTestMultiExceptionResult) IsSetErr2() bool
func (*ThriftTestTestMultiExceptionResult) IsSetSuccess ¶
func (p *ThriftTestTestMultiExceptionResult) IsSetSuccess() bool
func (*ThriftTestTestMultiExceptionResult) Read ¶
func (p *ThriftTestTestMultiExceptionResult) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestMultiExceptionResult) String ¶
func (p *ThriftTestTestMultiExceptionResult) String() string
type ThriftTestTestMultiResult ¶
type ThriftTestTestMultiResult struct {
Success *Xtruct `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewThriftTestTestMultiResult ¶
func NewThriftTestTestMultiResult() *ThriftTestTestMultiResult
func (*ThriftTestTestMultiResult) GetSuccess ¶
func (p *ThriftTestTestMultiResult) GetSuccess() *Xtruct
func (*ThriftTestTestMultiResult) IsSetSuccess ¶
func (p *ThriftTestTestMultiResult) IsSetSuccess() bool
func (*ThriftTestTestMultiResult) Read ¶
func (p *ThriftTestTestMultiResult) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestMultiResult) String ¶
func (p *ThriftTestTestMultiResult) String() string
type ThriftTestTestNestArgs ¶
type ThriftTestTestNestArgs struct {
Thing *Xtruct2 `thrift:"thing,1" json:"thing"`
}
Attributes:
- Thing
func NewThriftTestTestNestArgs ¶
func NewThriftTestTestNestArgs() *ThriftTestTestNestArgs
func (*ThriftTestTestNestArgs) GetThing ¶
func (p *ThriftTestTestNestArgs) GetThing() *Xtruct2
func (*ThriftTestTestNestArgs) IsSetThing ¶
func (p *ThriftTestTestNestArgs) IsSetThing() bool
func (*ThriftTestTestNestArgs) Read ¶
func (p *ThriftTestTestNestArgs) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestNestArgs) String ¶
func (p *ThriftTestTestNestArgs) String() string
type ThriftTestTestNestResult ¶
type ThriftTestTestNestResult struct {
Success *Xtruct2 `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewThriftTestTestNestResult ¶
func NewThriftTestTestNestResult() *ThriftTestTestNestResult
func (*ThriftTestTestNestResult) GetSuccess ¶
func (p *ThriftTestTestNestResult) GetSuccess() *Xtruct2
func (*ThriftTestTestNestResult) IsSetSuccess ¶
func (p *ThriftTestTestNestResult) IsSetSuccess() bool
func (*ThriftTestTestNestResult) Read ¶
func (p *ThriftTestTestNestResult) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestNestResult) String ¶
func (p *ThriftTestTestNestResult) String() string
type ThriftTestTestSetArgs ¶
Attributes:
- Thing
func NewThriftTestTestSetArgs ¶
func NewThriftTestTestSetArgs() *ThriftTestTestSetArgs
func (*ThriftTestTestSetArgs) GetThing ¶
func (p *ThriftTestTestSetArgs) GetThing() map[int32]bool
func (*ThriftTestTestSetArgs) Read ¶
func (p *ThriftTestTestSetArgs) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestSetArgs) String ¶
func (p *ThriftTestTestSetArgs) String() string
type ThriftTestTestSetResult ¶
type ThriftTestTestSetResult struct {
Success map[int32]bool `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewThriftTestTestSetResult ¶
func NewThriftTestTestSetResult() *ThriftTestTestSetResult
func (*ThriftTestTestSetResult) GetSuccess ¶
func (p *ThriftTestTestSetResult) GetSuccess() map[int32]bool
func (*ThriftTestTestSetResult) IsSetSuccess ¶
func (p *ThriftTestTestSetResult) IsSetSuccess() bool
func (*ThriftTestTestSetResult) Read ¶
func (p *ThriftTestTestSetResult) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestSetResult) String ¶
func (p *ThriftTestTestSetResult) String() string
type ThriftTestTestStringArgs ¶
type ThriftTestTestStringArgs struct {
Thing string `thrift:"thing,1" json:"thing"`
}
Attributes:
- Thing
func NewThriftTestTestStringArgs ¶
func NewThriftTestTestStringArgs() *ThriftTestTestStringArgs
func (*ThriftTestTestStringArgs) GetThing ¶
func (p *ThriftTestTestStringArgs) GetThing() string
func (*ThriftTestTestStringArgs) Read ¶
func (p *ThriftTestTestStringArgs) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestStringArgs) String ¶
func (p *ThriftTestTestStringArgs) String() string
type ThriftTestTestStringMapArgs ¶
Attributes:
- Thing
func NewThriftTestTestStringMapArgs ¶
func NewThriftTestTestStringMapArgs() *ThriftTestTestStringMapArgs
func (*ThriftTestTestStringMapArgs) GetThing ¶
func (p *ThriftTestTestStringMapArgs) GetThing() map[string]string
func (*ThriftTestTestStringMapArgs) Read ¶
func (p *ThriftTestTestStringMapArgs) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestStringMapArgs) String ¶
func (p *ThriftTestTestStringMapArgs) String() string
type ThriftTestTestStringMapResult ¶
type ThriftTestTestStringMapResult struct {
Success map[string]string `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewThriftTestTestStringMapResult ¶
func NewThriftTestTestStringMapResult() *ThriftTestTestStringMapResult
func (*ThriftTestTestStringMapResult) GetSuccess ¶
func (p *ThriftTestTestStringMapResult) GetSuccess() map[string]string
func (*ThriftTestTestStringMapResult) IsSetSuccess ¶
func (p *ThriftTestTestStringMapResult) IsSetSuccess() bool
func (*ThriftTestTestStringMapResult) Read ¶
func (p *ThriftTestTestStringMapResult) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestStringMapResult) String ¶
func (p *ThriftTestTestStringMapResult) String() string
type ThriftTestTestStringResult ¶
type ThriftTestTestStringResult struct {
Success *string `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewThriftTestTestStringResult ¶
func NewThriftTestTestStringResult() *ThriftTestTestStringResult
func (*ThriftTestTestStringResult) GetSuccess ¶
func (p *ThriftTestTestStringResult) GetSuccess() string
func (*ThriftTestTestStringResult) IsSetSuccess ¶
func (p *ThriftTestTestStringResult) IsSetSuccess() bool
func (*ThriftTestTestStringResult) Read ¶
func (p *ThriftTestTestStringResult) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestStringResult) String ¶
func (p *ThriftTestTestStringResult) String() string
type ThriftTestTestStructArgs ¶
type ThriftTestTestStructArgs struct {
Thing *Xtruct `thrift:"thing,1" json:"thing"`
}
Attributes:
- Thing
func NewThriftTestTestStructArgs ¶
func NewThriftTestTestStructArgs() *ThriftTestTestStructArgs
func (*ThriftTestTestStructArgs) GetThing ¶
func (p *ThriftTestTestStructArgs) GetThing() *Xtruct
func (*ThriftTestTestStructArgs) IsSetThing ¶
func (p *ThriftTestTestStructArgs) IsSetThing() bool
func (*ThriftTestTestStructArgs) Read ¶
func (p *ThriftTestTestStructArgs) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestStructArgs) String ¶
func (p *ThriftTestTestStructArgs) String() string
type ThriftTestTestStructResult ¶
type ThriftTestTestStructResult struct {
Success *Xtruct `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewThriftTestTestStructResult ¶
func NewThriftTestTestStructResult() *ThriftTestTestStructResult
func (*ThriftTestTestStructResult) GetSuccess ¶
func (p *ThriftTestTestStructResult) GetSuccess() *Xtruct
func (*ThriftTestTestStructResult) IsSetSuccess ¶
func (p *ThriftTestTestStructResult) IsSetSuccess() bool
func (*ThriftTestTestStructResult) Read ¶
func (p *ThriftTestTestStructResult) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestStructResult) String ¶
func (p *ThriftTestTestStructResult) String() string
type ThriftTestTestTypedefArgs ¶
type ThriftTestTestTypedefArgs struct {
Thing UserId `thrift:"thing,1" json:"thing"`
}
Attributes:
- Thing
func NewThriftTestTestTypedefArgs ¶
func NewThriftTestTestTypedefArgs() *ThriftTestTestTypedefArgs
func (*ThriftTestTestTypedefArgs) GetThing ¶
func (p *ThriftTestTestTypedefArgs) GetThing() UserId
func (*ThriftTestTestTypedefArgs) Read ¶
func (p *ThriftTestTestTypedefArgs) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestTypedefArgs) String ¶
func (p *ThriftTestTestTypedefArgs) String() string
type ThriftTestTestTypedefResult ¶
type ThriftTestTestTypedefResult struct {
Success *UserId `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewThriftTestTestTypedefResult ¶
func NewThriftTestTestTypedefResult() *ThriftTestTestTypedefResult
func (*ThriftTestTestTypedefResult) GetSuccess ¶
func (p *ThriftTestTestTypedefResult) GetSuccess() UserId
func (*ThriftTestTestTypedefResult) IsSetSuccess ¶
func (p *ThriftTestTestTypedefResult) IsSetSuccess() bool
func (*ThriftTestTestTypedefResult) Read ¶
func (p *ThriftTestTestTypedefResult) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestTypedefResult) String ¶
func (p *ThriftTestTestTypedefResult) String() string
type ThriftTestTestVoidArgs ¶
type ThriftTestTestVoidArgs struct { }
func NewThriftTestTestVoidArgs ¶
func NewThriftTestTestVoidArgs() *ThriftTestTestVoidArgs
func (*ThriftTestTestVoidArgs) Read ¶
func (p *ThriftTestTestVoidArgs) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestVoidArgs) String ¶
func (p *ThriftTestTestVoidArgs) String() string
type ThriftTestTestVoidResult ¶
type ThriftTestTestVoidResult struct { }
func NewThriftTestTestVoidResult ¶
func NewThriftTestTestVoidResult() *ThriftTestTestVoidResult
func (*ThriftTestTestVoidResult) Read ¶
func (p *ThriftTestTestVoidResult) Read(iprot thrift.TProtocol) error
func (*ThriftTestTestVoidResult) String ¶
func (p *ThriftTestTestVoidResult) String() string
type VersioningTestV1 ¶
type VersioningTestV1 struct { BeginInBoth *int32 `thrift:"begin_in_both,1" json:"begin_in_both,omitempty"` // unused field # 2 OldString *string `thrift:"old_string,3" json:"old_string,omitempty"` // unused fields # 4 to 11 EndInBoth *int32 `thrift:"end_in_both,12" json:"end_in_both,omitempty"` }
Attributes:
- BeginInBoth
- OldString
- EndInBoth
func NewVersioningTestV1 ¶
func NewVersioningTestV1() *VersioningTestV1
func (*VersioningTestV1) GetBeginInBoth ¶
func (p *VersioningTestV1) GetBeginInBoth() int32
func (*VersioningTestV1) GetEndInBoth ¶
func (p *VersioningTestV1) GetEndInBoth() int32
func (*VersioningTestV1) GetOldString ¶
func (p *VersioningTestV1) GetOldString() string
func (*VersioningTestV1) IsSetBeginInBoth ¶
func (p *VersioningTestV1) IsSetBeginInBoth() bool
func (*VersioningTestV1) IsSetEndInBoth ¶
func (p *VersioningTestV1) IsSetEndInBoth() bool
func (*VersioningTestV1) IsSetOldString ¶
func (p *VersioningTestV1) IsSetOldString() bool
func (*VersioningTestV1) String ¶
func (p *VersioningTestV1) String() string
type VersioningTestV2 ¶
type VersioningTestV2 struct { BeginInBoth *int32 `thrift:"begin_in_both,1" json:"begin_in_both,omitempty"` Newint_ *int32 `thrift:"newint,2" json:"newint,omitempty"` Newbyte_ *int8 `thrift:"newbyte,3" json:"newbyte,omitempty"` Newshort_ *int16 `thrift:"newshort,4" json:"newshort,omitempty"` Newlong_ *int64 `thrift:"newlong,5" json:"newlong,omitempty"` Newdouble_ *float64 `thrift:"newdouble,6" json:"newdouble,omitempty"` Newstruct_ *Bonk `thrift:"newstruct,7" json:"newstruct,omitempty"` Newlist_ []int32 `thrift:"newlist,8" json:"newlist,omitempty"` Newset_ map[int32]bool `thrift:"newset,9" json:"newset,omitempty"` Newmap_ map[int32]int32 `thrift:"newmap,10" json:"newmap,omitempty"` Newstring_ *string `thrift:"newstring,11" json:"newstring,omitempty"` EndInBoth *int32 `thrift:"end_in_both,12" json:"end_in_both,omitempty"` }
Attributes:
- BeginInBoth
- Newint_
- Newbyte_
- Newshort_
- Newlong_
- Newdouble_
- Newstruct_
- Newlist_
- Newset_
- Newmap_
- Newstring_
- EndInBoth
var LargeDeltas_Vertwo2000_DEFAULT *VersioningTestV2
var LargeDeltas_Vertwo3000_DEFAULT *VersioningTestV2
func NewVersioningTestV2 ¶
func NewVersioningTestV2() *VersioningTestV2
func (*VersioningTestV2) GetBeginInBoth ¶
func (p *VersioningTestV2) GetBeginInBoth() int32
func (*VersioningTestV2) GetEndInBoth ¶
func (p *VersioningTestV2) GetEndInBoth() int32
func (*VersioningTestV2) GetNewbyte_ ¶
func (p *VersioningTestV2) GetNewbyte_() int8
func (*VersioningTestV2) GetNewdouble_ ¶
func (p *VersioningTestV2) GetNewdouble_() float64
func (*VersioningTestV2) GetNewint_ ¶
func (p *VersioningTestV2) GetNewint_() int32
func (*VersioningTestV2) GetNewlist_ ¶
func (p *VersioningTestV2) GetNewlist_() []int32
func (*VersioningTestV2) GetNewlong_ ¶
func (p *VersioningTestV2) GetNewlong_() int64
func (*VersioningTestV2) GetNewmap_ ¶
func (p *VersioningTestV2) GetNewmap_() map[int32]int32
func (*VersioningTestV2) GetNewset_ ¶
func (p *VersioningTestV2) GetNewset_() map[int32]bool
func (*VersioningTestV2) GetNewshort_ ¶
func (p *VersioningTestV2) GetNewshort_() int16
func (*VersioningTestV2) GetNewstring_ ¶
func (p *VersioningTestV2) GetNewstring_() string
func (*VersioningTestV2) GetNewstruct_ ¶
func (p *VersioningTestV2) GetNewstruct_() *Bonk
func (*VersioningTestV2) IsSetBeginInBoth ¶
func (p *VersioningTestV2) IsSetBeginInBoth() bool
func (*VersioningTestV2) IsSetEndInBoth ¶
func (p *VersioningTestV2) IsSetEndInBoth() bool
func (*VersioningTestV2) IsSetNewbyte_ ¶
func (p *VersioningTestV2) IsSetNewbyte_() bool
func (*VersioningTestV2) IsSetNewdouble_ ¶
func (p *VersioningTestV2) IsSetNewdouble_() bool
func (*VersioningTestV2) IsSetNewint_ ¶
func (p *VersioningTestV2) IsSetNewint_() bool
func (*VersioningTestV2) IsSetNewlist_ ¶
func (p *VersioningTestV2) IsSetNewlist_() bool
func (*VersioningTestV2) IsSetNewlong_ ¶
func (p *VersioningTestV2) IsSetNewlong_() bool
func (*VersioningTestV2) IsSetNewmap_ ¶
func (p *VersioningTestV2) IsSetNewmap_() bool
func (*VersioningTestV2) IsSetNewset_ ¶
func (p *VersioningTestV2) IsSetNewset_() bool
func (*VersioningTestV2) IsSetNewshort_ ¶
func (p *VersioningTestV2) IsSetNewshort_() bool
func (*VersioningTestV2) IsSetNewstring_ ¶
func (p *VersioningTestV2) IsSetNewstring_() bool
func (*VersioningTestV2) IsSetNewstruct_ ¶
func (p *VersioningTestV2) IsSetNewstruct_() bool
func (*VersioningTestV2) String ¶
func (p *VersioningTestV2) String() string
type Xception ¶
type Xception struct { ErrorCode *int32 `thrift:"errorCode,1" json:"errorCode,omitempty"` Message *string `thrift:"message,2" json:"message,omitempty"` }
Attributes:
- ErrorCode
- Message
var ThriftTestTestExceptionResult_Err1_DEFAULT *Xception
var ThriftTestTestMultiExceptionResult_Err1_DEFAULT *Xception
func NewXception ¶
func NewXception() *Xception
func (*Xception) GetErrorCode ¶
func (*Xception) GetMessage ¶
func (*Xception) IsSetErrorCode ¶
func (*Xception) IsSetMessage ¶
type Xception2 ¶
type Xception2 struct { ErrorCode *int32 `thrift:"errorCode,1" json:"errorCode,omitempty"` StructThing *Xtruct `thrift:"struct_thing,2" json:"struct_thing,omitempty"` }
Attributes:
- ErrorCode
- StructThing
var ThriftTestTestMultiExceptionResult_Err2_DEFAULT *Xception2
func NewXception2 ¶
func NewXception2() *Xception2
func (*Xception2) GetErrorCode ¶
func (*Xception2) GetStructThing ¶
func (*Xception2) IsSetErrorCode ¶
func (*Xception2) IsSetStructThing ¶
type Xtruct ¶
type Xtruct struct { StringThing *string `thrift:"string_thing,1" json:"string_thing,omitempty"` // unused fields # 2 to 3 ByteThing *int8 `thrift:"byte_thing,4" json:"byte_thing,omitempty"` // unused fields # 5 to 8 I32Thing *int32 `thrift:"i32_thing,9" json:"i32_thing,omitempty"` // unused field # 10 I64Thing *int64 `thrift:"i64_thing,11" json:"i64_thing,omitempty"` }
Attributes:
- StringThing
- ByteThing
- I32Thing
- I64Thing
var ThriftTestTestMultiExceptionResult_Success_DEFAULT *Xtruct
var ThriftTestTestMultiResult_Success_DEFAULT *Xtruct
var ThriftTestTestStructArgs_Thing_DEFAULT *Xtruct
var ThriftTestTestStructResult_Success_DEFAULT *Xtruct
var Xception2_StructThing_DEFAULT *Xtruct
var Xtruct2_StructThing_DEFAULT *Xtruct
func (*Xtruct) GetByteThing ¶
func (*Xtruct) GetI32Thing ¶
func (*Xtruct) GetI64Thing ¶
func (*Xtruct) GetStringThing ¶
func (*Xtruct) IsSetByteThing ¶
func (*Xtruct) IsSetI32Thing ¶
func (*Xtruct) IsSetI64Thing ¶
func (*Xtruct) IsSetStringThing ¶
type Xtruct2 ¶
type Xtruct2 struct { ByteThing *int8 `thrift:"byte_thing,1" json:"byte_thing,omitempty"` StructThing *Xtruct `thrift:"struct_thing,2" json:"struct_thing,omitempty"` I32Thing *int32 `thrift:"i32_thing,3" json:"i32_thing,omitempty"` }
Attributes:
- ByteThing
- StructThing
- I32Thing
var ThriftTestTestNestArgs_Thing_DEFAULT *Xtruct2
var ThriftTestTestNestResult_Success_DEFAULT *Xtruct2
func NewXtruct2 ¶
func NewXtruct2() *Xtruct2
func (*Xtruct2) GetByteThing ¶
func (*Xtruct2) GetI32Thing ¶
func (*Xtruct2) GetStructThing ¶
func (*Xtruct2) IsSetByteThing ¶
func (*Xtruct2) IsSetI32Thing ¶
func (*Xtruct2) IsSetStructThing ¶
type Xtruct3 ¶
type Xtruct3 struct { StringThing *string `thrift:"string_thing,1" json:"string_thing,omitempty"` // unused fields # 2 to 3 Changed *int32 `thrift:"changed,4" json:"changed,omitempty"` // unused fields # 5 to 8 I32Thing *int32 `thrift:"i32_thing,9" json:"i32_thing,omitempty"` // unused field # 10 I64Thing *int64 `thrift:"i64_thing,11" json:"i64_thing,omitempty"` }
Attributes:
- StringThing
- Changed
- I32Thing
- I64Thing
func NewXtruct3 ¶
func NewXtruct3() *Xtruct3