Documentation ¶
Index ¶
- Constants
- Variables
- type A
- type ABuilder
- type AdaptTemplatedNestedTestStruct
- func (p *AdaptTemplatedNestedTestStruct) DefaultGetAdaptedStruct() *AdaptTemplatedTestStruct
- func (p *AdaptTemplatedNestedTestStruct) GetAdaptedStruct() *AdaptTemplatedTestStruct
- func (p *AdaptTemplatedNestedTestStruct) IsSetAdaptedStruct() bool
- func (p *AdaptTemplatedNestedTestStruct) Read(iprot thrift.Protocol) error
- func (p *AdaptTemplatedNestedTestStruct) ReadField1(iprot thrift.Protocol) error
- func (a *AdaptTemplatedNestedTestStruct) SetAdaptedStruct(adaptedStruct *AdaptTemplatedTestStruct) *AdaptTemplatedNestedTestStruct
- func (p *AdaptTemplatedNestedTestStruct) String() string
- func (p *AdaptTemplatedNestedTestStruct) Write(oprot thrift.Protocol) error
- type AdaptTemplatedNestedTestStructBuilder
- type AdaptTemplatedTestStruct
- func (p *AdaptTemplatedTestStruct) GetAdaptedBool() AdaptedBool
- func (p *AdaptTemplatedTestStruct) GetAdaptedBoolDefault() AdaptedBool
- func (p *AdaptTemplatedTestStruct) GetAdaptedByte() AdaptedByte
- func (p *AdaptTemplatedTestStruct) GetAdaptedByteDefault() AdaptedByte
- func (p *AdaptTemplatedTestStruct) GetAdaptedDouble() AdaptedDouble
- func (p *AdaptTemplatedTestStruct) GetAdaptedDoubleDefault() AdaptedDouble
- func (p *AdaptTemplatedTestStruct) GetAdaptedEnum() AdaptedEnum
- func (p *AdaptTemplatedTestStruct) GetAdaptedInteger() AdaptedInteger
- func (p *AdaptTemplatedTestStruct) GetAdaptedIntegerDefault() AdaptedInteger
- func (p *AdaptTemplatedTestStruct) GetAdaptedList() []int64
- func (p *AdaptTemplatedTestStruct) GetAdaptedListDefault() []int64
- func (p *AdaptTemplatedTestStruct) GetAdaptedLong() AdaptedLong
- func (p *AdaptTemplatedTestStruct) GetAdaptedLongDefault() AdaptedLong
- func (p *AdaptTemplatedTestStruct) GetAdaptedMap() map[int64]int64
- func (p *AdaptTemplatedTestStruct) GetAdaptedMapDefault() map[int64]int64
- func (p *AdaptTemplatedTestStruct) GetAdaptedSet() []int64
- func (p *AdaptTemplatedTestStruct) GetAdaptedSetDefault() []int64
- func (p *AdaptTemplatedTestStruct) GetAdaptedShort() AdaptedShort
- func (p *AdaptTemplatedTestStruct) GetAdaptedShortDefault() AdaptedShort
- func (p *AdaptTemplatedTestStruct) GetAdaptedString() AdaptedString
- func (p *AdaptTemplatedTestStruct) GetAdaptedStringDefault() AdaptedString
- func (p *AdaptTemplatedTestStruct) GetDoubleTypedefBool() DoubleTypedefBool
- func (p *AdaptTemplatedTestStruct) Read(iprot thrift.Protocol) error
- func (p *AdaptTemplatedTestStruct) ReadField1(iprot thrift.Protocol) error
- func (p *AdaptTemplatedTestStruct) ReadField10(iprot thrift.Protocol) error
- func (p *AdaptTemplatedTestStruct) ReadField11(iprot thrift.Protocol) error
- func (p *AdaptTemplatedTestStruct) ReadField12(iprot thrift.Protocol) error
- func (p *AdaptTemplatedTestStruct) ReadField13(iprot thrift.Protocol) error
- func (p *AdaptTemplatedTestStruct) ReadField14(iprot thrift.Protocol) error
- func (p *AdaptTemplatedTestStruct) ReadField15(iprot thrift.Protocol) error
- func (p *AdaptTemplatedTestStruct) ReadField16(iprot thrift.Protocol) error
- func (p *AdaptTemplatedTestStruct) ReadField17(iprot thrift.Protocol) error
- func (p *AdaptTemplatedTestStruct) ReadField18(iprot thrift.Protocol) error
- func (p *AdaptTemplatedTestStruct) ReadField19(iprot thrift.Protocol) error
- func (p *AdaptTemplatedTestStruct) ReadField2(iprot thrift.Protocol) error
- func (p *AdaptTemplatedTestStruct) ReadField20(iprot thrift.Protocol) error
- func (p *AdaptTemplatedTestStruct) ReadField21(iprot thrift.Protocol) error
- func (p *AdaptTemplatedTestStruct) ReadField22(iprot thrift.Protocol) error
- func (p *AdaptTemplatedTestStruct) ReadField3(iprot thrift.Protocol) error
- func (p *AdaptTemplatedTestStruct) ReadField4(iprot thrift.Protocol) error
- func (p *AdaptTemplatedTestStruct) ReadField5(iprot thrift.Protocol) error
- func (p *AdaptTemplatedTestStruct) ReadField6(iprot thrift.Protocol) error
- func (p *AdaptTemplatedTestStruct) ReadField7(iprot thrift.Protocol) error
- func (p *AdaptTemplatedTestStruct) ReadField8(iprot thrift.Protocol) error
- func (p *AdaptTemplatedTestStruct) ReadField9(iprot thrift.Protocol) error
- func (a *AdaptTemplatedTestStruct) SetAdaptedBool(adaptedBool AdaptedBool) *AdaptTemplatedTestStruct
- func (a *AdaptTemplatedTestStruct) SetAdaptedBoolDefault(adaptedBoolDefault AdaptedBool) *AdaptTemplatedTestStruct
- func (a *AdaptTemplatedTestStruct) SetAdaptedByte(adaptedByte AdaptedByte) *AdaptTemplatedTestStruct
- func (a *AdaptTemplatedTestStruct) SetAdaptedByteDefault(adaptedByteDefault AdaptedByte) *AdaptTemplatedTestStruct
- func (a *AdaptTemplatedTestStruct) SetAdaptedDouble(adaptedDouble AdaptedDouble) *AdaptTemplatedTestStruct
- func (a *AdaptTemplatedTestStruct) SetAdaptedDoubleDefault(adaptedDoubleDefault AdaptedDouble) *AdaptTemplatedTestStruct
- func (a *AdaptTemplatedTestStruct) SetAdaptedEnum(adaptedEnum AdaptedEnum) *AdaptTemplatedTestStruct
- func (a *AdaptTemplatedTestStruct) SetAdaptedInteger(adaptedInteger AdaptedInteger) *AdaptTemplatedTestStruct
- func (a *AdaptTemplatedTestStruct) SetAdaptedIntegerDefault(adaptedIntegerDefault AdaptedInteger) *AdaptTemplatedTestStruct
- func (a *AdaptTemplatedTestStruct) SetAdaptedList(adaptedList []int64) *AdaptTemplatedTestStruct
- func (a *AdaptTemplatedTestStruct) SetAdaptedListDefault(adaptedListDefault []int64) *AdaptTemplatedTestStruct
- func (a *AdaptTemplatedTestStruct) SetAdaptedLong(adaptedLong AdaptedLong) *AdaptTemplatedTestStruct
- func (a *AdaptTemplatedTestStruct) SetAdaptedLongDefault(adaptedLongDefault AdaptedLong) *AdaptTemplatedTestStruct
- func (a *AdaptTemplatedTestStruct) SetAdaptedMap(adaptedMap map[int64]int64) *AdaptTemplatedTestStruct
- func (a *AdaptTemplatedTestStruct) SetAdaptedMapDefault(adaptedMapDefault map[int64]int64) *AdaptTemplatedTestStruct
- func (a *AdaptTemplatedTestStruct) SetAdaptedSet(adaptedSet []int64) *AdaptTemplatedTestStruct
- func (a *AdaptTemplatedTestStruct) SetAdaptedSetDefault(adaptedSetDefault []int64) *AdaptTemplatedTestStruct
- func (a *AdaptTemplatedTestStruct) SetAdaptedShort(adaptedShort AdaptedShort) *AdaptTemplatedTestStruct
- func (a *AdaptTemplatedTestStruct) SetAdaptedShortDefault(adaptedShortDefault AdaptedShort) *AdaptTemplatedTestStruct
- func (a *AdaptTemplatedTestStruct) SetAdaptedString(adaptedString AdaptedString) *AdaptTemplatedTestStruct
- func (a *AdaptTemplatedTestStruct) SetAdaptedStringDefault(adaptedStringDefault AdaptedString) *AdaptTemplatedTestStruct
- func (a *AdaptTemplatedTestStruct) SetDoubleTypedefBool(doubleTypedefBool DoubleTypedefBool) *AdaptTemplatedTestStruct
- func (p *AdaptTemplatedTestStruct) String() string
- func (p *AdaptTemplatedTestStruct) Write(oprot thrift.Protocol) error
- type AdaptTemplatedTestStructBuilder
- func (a *AdaptTemplatedTestStructBuilder) AdaptedBool(adaptedBool AdaptedBool) *AdaptTemplatedTestStructBuilder
- func (a *AdaptTemplatedTestStructBuilder) AdaptedBoolDefault(adaptedBoolDefault AdaptedBool) *AdaptTemplatedTestStructBuilder
- func (a *AdaptTemplatedTestStructBuilder) AdaptedByte(adaptedByte AdaptedByte) *AdaptTemplatedTestStructBuilder
- func (a *AdaptTemplatedTestStructBuilder) AdaptedByteDefault(adaptedByteDefault AdaptedByte) *AdaptTemplatedTestStructBuilder
- func (a *AdaptTemplatedTestStructBuilder) AdaptedDouble(adaptedDouble AdaptedDouble) *AdaptTemplatedTestStructBuilder
- func (a *AdaptTemplatedTestStructBuilder) AdaptedDoubleDefault(adaptedDoubleDefault AdaptedDouble) *AdaptTemplatedTestStructBuilder
- func (a *AdaptTemplatedTestStructBuilder) AdaptedEnum(adaptedEnum AdaptedEnum) *AdaptTemplatedTestStructBuilder
- func (a *AdaptTemplatedTestStructBuilder) AdaptedInteger(adaptedInteger AdaptedInteger) *AdaptTemplatedTestStructBuilder
- func (a *AdaptTemplatedTestStructBuilder) AdaptedIntegerDefault(adaptedIntegerDefault AdaptedInteger) *AdaptTemplatedTestStructBuilder
- func (a *AdaptTemplatedTestStructBuilder) AdaptedList(adaptedList []int64) *AdaptTemplatedTestStructBuilder
- func (a *AdaptTemplatedTestStructBuilder) AdaptedListDefault(adaptedListDefault []int64) *AdaptTemplatedTestStructBuilder
- func (a *AdaptTemplatedTestStructBuilder) AdaptedLong(adaptedLong AdaptedLong) *AdaptTemplatedTestStructBuilder
- func (a *AdaptTemplatedTestStructBuilder) AdaptedLongDefault(adaptedLongDefault AdaptedLong) *AdaptTemplatedTestStructBuilder
- func (a *AdaptTemplatedTestStructBuilder) AdaptedMap(adaptedMap map[int64]int64) *AdaptTemplatedTestStructBuilder
- func (a *AdaptTemplatedTestStructBuilder) AdaptedMapDefault(adaptedMapDefault map[int64]int64) *AdaptTemplatedTestStructBuilder
- func (a *AdaptTemplatedTestStructBuilder) AdaptedSet(adaptedSet []int64) *AdaptTemplatedTestStructBuilder
- func (a *AdaptTemplatedTestStructBuilder) AdaptedSetDefault(adaptedSetDefault []int64) *AdaptTemplatedTestStructBuilder
- func (a *AdaptTemplatedTestStructBuilder) AdaptedShort(adaptedShort AdaptedShort) *AdaptTemplatedTestStructBuilder
- func (a *AdaptTemplatedTestStructBuilder) AdaptedShortDefault(adaptedShortDefault AdaptedShort) *AdaptTemplatedTestStructBuilder
- func (a *AdaptTemplatedTestStructBuilder) AdaptedString(adaptedString AdaptedString) *AdaptTemplatedTestStructBuilder
- func (a *AdaptTemplatedTestStructBuilder) AdaptedStringDefault(adaptedStringDefault AdaptedString) *AdaptTemplatedTestStructBuilder
- func (a *AdaptTemplatedTestStructBuilder) DoubleTypedefBool(doubleTypedefBool DoubleTypedefBool) *AdaptTemplatedTestStructBuilder
- func (p AdaptTemplatedTestStructBuilder) Emit() *AdaptTemplatedTestStruct
- type AdaptTestStruct
- func (p *AdaptTestStruct) GetBinaryData() []byte
- func (p *AdaptTestStruct) GetCustom() CustomProtocolType
- func (p *AdaptTestStruct) GetData() int64
- func (p *AdaptTestStruct) GetDelay() DurationMs
- func (p *AdaptTestStruct) GetDoubleWrappedBool() AdaptedBool
- func (p *AdaptTestStruct) GetDoubleWrappedInteger() AdaptedInteger
- func (p *AdaptTestStruct) GetIndirectionString() IndirectionString
- func (p *AdaptTestStruct) GetMeta() string
- func (p *AdaptTestStruct) GetStringData() string
- func (p *AdaptTestStruct) GetTimeout() int64
- func (p *AdaptTestStruct) Read(iprot thrift.Protocol) error
- func (p *AdaptTestStruct) ReadField1(iprot thrift.Protocol) error
- func (p *AdaptTestStruct) ReadField10(iprot thrift.Protocol) error
- func (p *AdaptTestStruct) ReadField2(iprot thrift.Protocol) error
- func (p *AdaptTestStruct) ReadField3(iprot thrift.Protocol) error
- func (p *AdaptTestStruct) ReadField4(iprot thrift.Protocol) error
- func (p *AdaptTestStruct) ReadField5(iprot thrift.Protocol) error
- func (p *AdaptTestStruct) ReadField6(iprot thrift.Protocol) error
- func (p *AdaptTestStruct) ReadField7(iprot thrift.Protocol) error
- func (p *AdaptTestStruct) ReadField8(iprot thrift.Protocol) error
- func (p *AdaptTestStruct) ReadField9(iprot thrift.Protocol) error
- func (a *AdaptTestStruct) SetBinaryData(binaryData []byte) *AdaptTestStruct
- func (a *AdaptTestStruct) SetCustom(custom CustomProtocolType) *AdaptTestStruct
- func (a *AdaptTestStruct) SetData(data int64) *AdaptTestStruct
- func (a *AdaptTestStruct) SetDelay(delay DurationMs) *AdaptTestStruct
- func (a *AdaptTestStruct) SetDoubleWrappedBool(doubleWrappedBool AdaptedBool) *AdaptTestStruct
- func (a *AdaptTestStruct) SetDoubleWrappedInteger(doubleWrappedInteger AdaptedInteger) *AdaptTestStruct
- func (a *AdaptTestStruct) SetIndirectionString(indirectionString IndirectionString) *AdaptTestStruct
- func (a *AdaptTestStruct) SetMeta(meta string) *AdaptTestStruct
- func (a *AdaptTestStruct) SetStringData(stringData string) *AdaptTestStruct
- func (a *AdaptTestStruct) SetTimeout(timeout int64) *AdaptTestStruct
- func (p *AdaptTestStruct) String() string
- func (p *AdaptTestStruct) Write(oprot thrift.Protocol) error
- type AdaptTestStructBuilder
- func (a *AdaptTestStructBuilder) BinaryData(binaryData []byte) *AdaptTestStructBuilder
- func (a *AdaptTestStructBuilder) Custom(custom CustomProtocolType) *AdaptTestStructBuilder
- func (a *AdaptTestStructBuilder) Data(data int64) *AdaptTestStructBuilder
- func (a *AdaptTestStructBuilder) Delay(delay DurationMs) *AdaptTestStructBuilder
- func (a *AdaptTestStructBuilder) DoubleWrappedBool(doubleWrappedBool AdaptedBool) *AdaptTestStructBuilder
- func (a *AdaptTestStructBuilder) DoubleWrappedInteger(doubleWrappedInteger AdaptedInteger) *AdaptTestStructBuilder
- func (p AdaptTestStructBuilder) Emit() *AdaptTestStruct
- func (a *AdaptTestStructBuilder) IndirectionString(indirectionString IndirectionString) *AdaptTestStructBuilder
- func (a *AdaptTestStructBuilder) Meta(meta string) *AdaptTestStructBuilder
- func (a *AdaptTestStructBuilder) StringData(stringData string) *AdaptTestStructBuilder
- func (a *AdaptTestStructBuilder) Timeout(timeout int64) *AdaptTestStructBuilder
- type AdaptTestUnion
- func (p *AdaptTestUnion) CountSetFieldsAdaptTestUnion() int
- func (p *AdaptTestUnion) GetCustom() CustomProtocolType
- func (p *AdaptTestUnion) GetDelay() DurationMs
- func (p *AdaptTestUnion) IsSetCustom() bool
- func (p *AdaptTestUnion) IsSetDelay() bool
- func (p *AdaptTestUnion) Read(iprot thrift.Protocol) error
- func (p *AdaptTestUnion) ReadField1(iprot thrift.Protocol) error
- func (p *AdaptTestUnion) ReadField2(iprot thrift.Protocol) error
- func (a *AdaptTestUnion) SetCustom(custom CustomProtocolType) *AdaptTestUnion
- func (a *AdaptTestUnion) SetDelay(delay *DurationMs) *AdaptTestUnion
- func (p *AdaptTestUnion) String() string
- func (p *AdaptTestUnion) Write(oprot thrift.Protocol) error
- type AdaptTestUnionBuilder
- type AdaptedA
- type AdaptedBool
- type AdaptedByte
- type AdaptedCircularAdaptee
- type AdaptedDouble
- type AdaptedEnum
- type AdaptedInteger
- type AdaptedLong
- type AdaptedShort
- type AdaptedString
- type AdaptedStruct
- func (p *AdaptedStruct) GetData() int64
- func (p *AdaptedStruct) Read(iprot thrift.Protocol) error
- func (p *AdaptedStruct) ReadField1(iprot thrift.Protocol) error
- func (a *AdaptedStruct) SetData(data int64) *AdaptedStruct
- func (p *AdaptedStruct) String() string
- func (p *AdaptedStruct) Write(oprot thrift.Protocol) error
- type AdaptedStructBuilder
- type AdaptedTypedef
- type AdapterService
- type AdapterServiceAdaptedTypesArgs
- func (p *AdapterServiceAdaptedTypesArgs) DefaultGetArg() *HeapAllocated
- func (p *AdapterServiceAdaptedTypesArgs) GetArg() *HeapAllocated
- func (p *AdapterServiceAdaptedTypesArgs) IsSetArg() bool
- func (p *AdapterServiceAdaptedTypesArgs) Read(iprot thrift.Protocol) error
- func (p *AdapterServiceAdaptedTypesArgs) ReadField1(iprot thrift.Protocol) error
- func (a *AdapterServiceAdaptedTypesArgs) SetArg(arg *HeapAllocated) *AdapterServiceAdaptedTypesArgs
- func (p *AdapterServiceAdaptedTypesArgs) String() string
- func (p *AdapterServiceAdaptedTypesArgs) Write(oprot thrift.Protocol) error
- type AdapterServiceAdaptedTypesArgsBuilder
- type AdapterServiceAdaptedTypesResult
- func (p *AdapterServiceAdaptedTypesResult) DefaultGetSuccess() *HeapAllocated
- func (p *AdapterServiceAdaptedTypesResult) Exception() thrift.WritableException
- func (p *AdapterServiceAdaptedTypesResult) GetSuccess() *HeapAllocated
- func (p *AdapterServiceAdaptedTypesResult) IsSetSuccess() bool
- func (p *AdapterServiceAdaptedTypesResult) Read(iprot thrift.Protocol) error
- func (p *AdapterServiceAdaptedTypesResult) ReadField0(iprot thrift.Protocol) error
- func (a *AdapterServiceAdaptedTypesResult) SetSuccess(success *HeapAllocated) *AdapterServiceAdaptedTypesResult
- func (p *AdapterServiceAdaptedTypesResult) String() string
- func (p *AdapterServiceAdaptedTypesResult) Write(oprot thrift.Protocol) error
- type AdapterServiceAdaptedTypesResultBuilder
- type AdapterServiceChannelClient
- func (p *AdapterServiceChannelClient) AdaptedTypes(ctx context.Context, arg *HeapAllocated) (_r *HeapAllocated, err error)
- func (c *AdapterServiceChannelClient) Close() error
- func (p *AdapterServiceChannelClient) Count(ctx context.Context) (_r *CountingStruct, err error)
- func (c *AdapterServiceChannelClient) IsOpen() bool
- func (c *AdapterServiceChannelClient) Open() error
- type AdapterServiceClient
- func NewAdapterServiceClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *AdapterServiceClient
- func NewAdapterServiceClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *AdapterServiceClient
- func NewAdapterServiceClientProtocol(prot thrift.Protocol) *AdapterServiceClient
- func (p *AdapterServiceClient) AdaptedTypes(arg *HeapAllocated) (_r *HeapAllocated, err error)
- func (client *AdapterServiceClient) Close() error
- func (p *AdapterServiceClient) Count() (_r *CountingStruct, err error)
- func (client *AdapterServiceClient) IsOpen() bool
- func (client *AdapterServiceClient) Open() error
- type AdapterServiceClientInterface
- type AdapterServiceCountArgs
- type AdapterServiceCountArgsBuilder
- type AdapterServiceCountResult
- func (p *AdapterServiceCountResult) DefaultGetSuccess() *CountingStruct
- func (p *AdapterServiceCountResult) Exception() thrift.WritableException
- func (p *AdapterServiceCountResult) GetSuccess() *CountingStruct
- func (p *AdapterServiceCountResult) IsSetSuccess() bool
- func (p *AdapterServiceCountResult) Read(iprot thrift.Protocol) error
- func (p *AdapterServiceCountResult) ReadField0(iprot thrift.Protocol) error
- func (a *AdapterServiceCountResult) SetSuccess(success *CountingStruct) *AdapterServiceCountResult
- func (p *AdapterServiceCountResult) String() string
- func (p *AdapterServiceCountResult) Write(oprot thrift.Protocol) error
- type AdapterServiceCountResultBuilder
- type AdapterServiceProcessor
- func (p *AdapterServiceProcessor) AddToFunctionServiceMap(key, service string)
- func (p *AdapterServiceProcessor) AddToProcessorMap(key string, processor thrift.ProcessorFunction)
- func (p *AdapterServiceProcessor) FunctionServiceMap() map[string]string
- func (p *AdapterServiceProcessor) GetProcessorFunction(key string) (processor thrift.ProcessorFunction, err error)
- func (p *AdapterServiceProcessor) ProcessorMap() map[string]thrift.ProcessorFunction
- type AdapterServiceThreadsafeClient
- func NewAdapterServiceThreadsafeClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *AdapterServiceThreadsafeClient
- func NewAdapterServiceThreadsafeClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *AdapterServiceThreadsafeClient
- func NewAdapterServiceThreadsafeClientProtocol(prot thrift.Protocol) *AdapterServiceThreadsafeClient
- func (p *AdapterServiceThreadsafeClient) AdaptedTypes(arg *HeapAllocated) (_r *HeapAllocated, err error)
- func (client *AdapterServiceThreadsafeClient) Close() error
- func (p *AdapterServiceThreadsafeClient) Count() (_r *CountingStruct, err error)
- func (client *AdapterServiceThreadsafeClient) IsOpen() bool
- func (client *AdapterServiceThreadsafeClient) Open() error
- type AlsoMoveOnly
- func (p *AlsoMoveOnly) GetPtr() int64
- func (p *AlsoMoveOnly) Read(iprot thrift.Protocol) error
- func (p *AlsoMoveOnly) ReadField1(iprot thrift.Protocol) error
- func (a *AlsoMoveOnly) SetPtr(ptr int64) *AlsoMoveOnly
- func (p *AlsoMoveOnly) String() string
- func (p *AlsoMoveOnly) Write(oprot thrift.Protocol) error
- type AlsoMoveOnlyBuilder
- type ApplyAdapter
- type ApplyAdapterBuilder
- type B
- type BBuilder
- type Bar
- func (p *Bar) GetAdaptedStructField() *DirectlyAdapted
- func (p *Bar) GetOptionalStructField() *Foo
- func (p *Bar) GetOptionalStructListField() []*FooWithAdapter
- func (p *Bar) GetOptionalUnionField() *Baz
- func (p *Bar) GetStructField() *Foo
- func (p *Bar) GetStructListField() []*FooWithAdapter
- func (p *Bar) GetUnionField() *Baz
- func (p *Bar) IsSetAdaptedStructField() bool
- func (p *Bar) IsSetOptionalStructField() bool
- func (p *Bar) IsSetOptionalStructListField() bool
- func (p *Bar) IsSetOptionalUnionField() bool
- func (p *Bar) IsSetStructField() bool
- func (p *Bar) IsSetUnionField() bool
- func (p *Bar) Read(iprot thrift.Protocol) error
- func (p *Bar) ReadField1(iprot thrift.Protocol) error
- func (p *Bar) ReadField2(iprot thrift.Protocol) error
- func (p *Bar) ReadField3(iprot thrift.Protocol) error
- func (p *Bar) ReadField4(iprot thrift.Protocol) error
- func (p *Bar) ReadField5(iprot thrift.Protocol) error
- func (p *Bar) ReadField6(iprot thrift.Protocol) error
- func (p *Bar) ReadField7(iprot thrift.Protocol) error
- func (b *Bar) SetAdaptedStructField(adaptedStructField *DirectlyAdapted) *Bar
- func (b *Bar) SetOptionalStructField(optionalStructField *Foo) *Bar
- func (b *Bar) SetOptionalStructListField(optionalStructListField []*FooWithAdapter) *Bar
- func (b *Bar) SetOptionalUnionField(optionalUnionField *Baz) *Bar
- func (b *Bar) SetStructField(structField *Foo) *Bar
- func (b *Bar) SetStructListField(structListField []*FooWithAdapter) *Bar
- func (b *Bar) SetUnionField(unionField *Baz) *Bar
- func (p *Bar) String() string
- func (p *Bar) Write(oprot thrift.Protocol) error
- type BarBuilder
- func (b *BarBuilder) AdaptedStructField(adaptedStructField *DirectlyAdapted) *BarBuilder
- func (p BarBuilder) Emit() *Bar
- func (b *BarBuilder) OptionalStructField(optionalStructField *Foo) *BarBuilder
- func (b *BarBuilder) OptionalStructListField(optionalStructListField []*FooWithAdapter) *BarBuilder
- func (b *BarBuilder) OptionalUnionField(optionalUnionField *Baz) *BarBuilder
- func (b *BarBuilder) StructField(structField *Foo) *BarBuilder
- func (b *BarBuilder) StructListField(structListField []*FooWithAdapter) *BarBuilder
- func (b *BarBuilder) UnionField(unionField *Baz) *BarBuilder
- type Baz
- func (p *Baz) CountSetFieldsBaz() int
- func (p *Baz) GetBinaryField() []byte
- func (p *Baz) GetIntField() int32
- func (p *Baz) GetLongField() MyI64
- func (p *Baz) GetMapField() map[string]ListWithElemAdapterWithAdapter
- func (p *Baz) GetSetField() SetWithAdapter
- func (p *Baz) IsSetBinaryField() bool
- func (p *Baz) IsSetIntField() bool
- func (p *Baz) IsSetLongField() bool
- func (p *Baz) IsSetMapField() bool
- func (p *Baz) IsSetSetField() bool
- func (p *Baz) Read(iprot thrift.Protocol) error
- func (p *Baz) ReadField1(iprot thrift.Protocol) error
- func (p *Baz) ReadField4(iprot thrift.Protocol) error
- func (p *Baz) ReadField6(iprot thrift.Protocol) error
- func (p *Baz) ReadField8(iprot thrift.Protocol) error
- func (p *Baz) ReadField9(iprot thrift.Protocol) error
- func (b *Baz) SetBinaryField(binaryField []byte) *Baz
- func (b *Baz) SetIntField(intField *int32) *Baz
- func (b *Baz) SetLongField(longField *MyI64) *Baz
- func (b *Baz) SetMapField(mapField map[string]ListWithElemAdapterWithAdapter) *Baz
- func (b *Baz) SetSetField(setField SetWithAdapter) *Baz
- func (p *Baz) String() string
- func (p *Baz) Write(oprot thrift.Protocol) error
- type BazBuilder
- func (b *BazBuilder) BinaryField(binaryField []byte) *BazBuilder
- func (p BazBuilder) Emit() *Baz
- func (b *BazBuilder) IntField(intField *int32) *BazBuilder
- func (b *BazBuilder) LongField(longField *MyI64) *BazBuilder
- func (b *BazBuilder) MapField(mapField map[string]ListWithElemAdapterWithAdapter) *BazBuilder
- func (b *BazBuilder) SetField(setField SetWithAdapter) *BazBuilder
- type CircularAdaptee
- func (p *CircularAdaptee) GetField() *CircularStruct
- func (p *CircularAdaptee) IsSetField() bool
- func (p *CircularAdaptee) Read(iprot thrift.Protocol) error
- func (p *CircularAdaptee) ReadField1(iprot thrift.Protocol) error
- func (c *CircularAdaptee) SetField(field *CircularStruct) *CircularAdaptee
- func (p *CircularAdaptee) String() string
- func (p *CircularAdaptee) Write(oprot thrift.Protocol) error
- type CircularAdapteeBuilder
- type CircularStruct
- func (p *CircularStruct) GetField() *CircularAdaptee
- func (p *CircularStruct) IsSetField() bool
- func (p *CircularStruct) Read(iprot thrift.Protocol) error
- func (p *CircularStruct) ReadField1(iprot thrift.Protocol) error
- func (c *CircularStruct) SetField(field *CircularAdaptee) *CircularStruct
- func (p *CircularStruct) String() string
- func (p *CircularStruct) Write(oprot thrift.Protocol) error
- type CircularStructBuilder
- type Color
- type Config
- type ConfigBuilder
- type CountingInt
- type CountingStruct
- func (p *CountingStruct) GetCountingInt() CountingInt
- func (p *CountingStruct) GetRegularInt() int64
- func (p *CountingStruct) GetRegularString() string
- func (p *CountingStruct) IsSetCountingInt() bool
- func (p *CountingStruct) IsSetRegularInt() bool
- func (p *CountingStruct) IsSetRegularString() bool
- func (p *CountingStruct) Read(iprot thrift.Protocol) error
- func (p *CountingStruct) ReadField1(iprot thrift.Protocol) error
- func (p *CountingStruct) ReadField2(iprot thrift.Protocol) error
- func (p *CountingStruct) ReadField3(iprot thrift.Protocol) error
- func (c *CountingStruct) SetCountingInt(countingInt *CountingInt) *CountingStruct
- func (c *CountingStruct) SetRegularInt(regularInt *int64) *CountingStruct
- func (c *CountingStruct) SetRegularString(regularString *string) *CountingStruct
- func (p *CountingStruct) String() string
- func (p *CountingStruct) Write(oprot thrift.Protocol) error
- type CountingStructBuilder
- func (c *CountingStructBuilder) CountingInt(countingInt *CountingInt) *CountingStructBuilder
- func (p CountingStructBuilder) Emit() *CountingStruct
- func (c *CountingStructBuilder) RegularInt(regularInt *int64) *CountingStructBuilder
- func (c *CountingStructBuilder) RegularString(regularString *string) *CountingStructBuilder
- type CustomProtocolType
- type DeclaredAfterStruct
- type DeclaredAfterStructBuilder
- type DirectlyAdapted
- func (p *DirectlyAdapted) GetField() int32
- func (p *DirectlyAdapted) Read(iprot thrift.Protocol) error
- func (p *DirectlyAdapted) ReadField1(iprot thrift.Protocol) error
- func (d *DirectlyAdapted) SetField(field int32) *DirectlyAdapted
- func (p *DirectlyAdapted) String() string
- func (p *DirectlyAdapted) Write(oprot thrift.Protocol) error
- type DirectlyAdaptedBuilder
- type DirectlyAdaptedStruct
- func (p *DirectlyAdaptedStruct) GetData() int64
- func (p *DirectlyAdaptedStruct) Read(iprot thrift.Protocol) error
- func (p *DirectlyAdaptedStruct) ReadField1(iprot thrift.Protocol) error
- func (d *DirectlyAdaptedStruct) SetData(data int64) *DirectlyAdaptedStruct
- func (p *DirectlyAdaptedStruct) String() string
- func (p *DirectlyAdaptedStruct) Write(oprot thrift.Protocol) error
- type DirectlyAdaptedStructBuilder
- type DoubleTypedefBool
- type DoubleTypedefI64
- type DurationMs
- type Foo
- func (p *Foo) GetAdaptedLongField() MyI64
- func (p *Foo) GetBinaryField() []byte
- func (p *Foo) GetDoubleAdaptedField() DoubleTypedefI64
- func (p *Foo) GetIntField() int32
- func (p *Foo) GetIntFieldWithDefault() int32
- func (p *Foo) GetLongField() MyI64
- func (p *Foo) GetMapField() map[string]ListWithElemAdapterWithAdapter
- func (p *Foo) GetOptionalIntField() int32
- func (p *Foo) GetOptionalMapField() map[string]ListWithElemAdapterWithAdapter
- func (p *Foo) GetOptionalSetField() SetWithAdapter
- func (p *Foo) GetSetField() SetWithAdapter
- func (p *Foo) IsSetOptionalIntField() bool
- func (p *Foo) IsSetOptionalMapField() bool
- func (p *Foo) IsSetOptionalSetField() bool
- func (p *Foo) Read(iprot thrift.Protocol) error
- func (p *Foo) ReadField1(iprot thrift.Protocol) error
- func (p *Foo) ReadField10(iprot thrift.Protocol) error
- func (p *Foo) ReadField11(iprot thrift.Protocol) error
- func (p *Foo) ReadField2(iprot thrift.Protocol) error
- func (p *Foo) ReadField3(iprot thrift.Protocol) error
- func (p *Foo) ReadField4(iprot thrift.Protocol) error
- func (p *Foo) ReadField5(iprot thrift.Protocol) error
- func (p *Foo) ReadField6(iprot thrift.Protocol) error
- func (p *Foo) ReadField7(iprot thrift.Protocol) error
- func (p *Foo) ReadField8(iprot thrift.Protocol) error
- func (p *Foo) ReadField9(iprot thrift.Protocol) error
- func (f *Foo) SetAdaptedLongField(adaptedLongField MyI64) *Foo
- func (f *Foo) SetBinaryField(binaryField []byte) *Foo
- func (f *Foo) SetDoubleAdaptedField(doubleAdaptedField DoubleTypedefI64) *Foo
- func (f *Foo) SetIntField(intField int32) *Foo
- func (f *Foo) SetIntFieldWithDefault(intFieldWithDefault int32) *Foo
- func (f *Foo) SetLongField(longField MyI64) *Foo
- func (f *Foo) SetMapField(mapField map[string]ListWithElemAdapterWithAdapter) *Foo
- func (f *Foo) SetOptionalIntField(optionalIntField *int32) *Foo
- func (f *Foo) SetOptionalMapField(optionalMapField map[string]ListWithElemAdapterWithAdapter) *Foo
- func (f *Foo) SetOptionalSetField(optionalSetField SetWithAdapter) *Foo
- func (f *Foo) SetSetField(setField SetWithAdapter) *Foo
- func (p *Foo) String() string
- func (p *Foo) Write(oprot thrift.Protocol) error
- type FooBuilder
- func (f *FooBuilder) AdaptedLongField(adaptedLongField MyI64) *FooBuilder
- func (f *FooBuilder) BinaryField(binaryField []byte) *FooBuilder
- func (f *FooBuilder) DoubleAdaptedField(doubleAdaptedField DoubleTypedefI64) *FooBuilder
- func (p FooBuilder) Emit() *Foo
- func (f *FooBuilder) IntField(intField int32) *FooBuilder
- func (f *FooBuilder) IntFieldWithDefault(intFieldWithDefault int32) *FooBuilder
- func (f *FooBuilder) LongField(longField MyI64) *FooBuilder
- func (f *FooBuilder) MapField(mapField map[string]ListWithElemAdapterWithAdapter) *FooBuilder
- func (f *FooBuilder) OptionalIntField(optionalIntField *int32) *FooBuilder
- func (f *FooBuilder) OptionalMapField(optionalMapField map[string]ListWithElemAdapterWithAdapter) *FooBuilder
- func (f *FooBuilder) OptionalSetField(optionalSetField SetWithAdapter) *FooBuilder
- func (f *FooBuilder) SetField(setField SetWithAdapter) *FooBuilder
- type FooWithAdapter
- type HeapAllocated
- type HeapAllocatedBuilder
- type IndependentDirectlyAdapted
- func (p *IndependentDirectlyAdapted) GetField() int32
- func (p *IndependentDirectlyAdapted) Read(iprot thrift.Protocol) error
- func (p *IndependentDirectlyAdapted) ReadField1(iprot thrift.Protocol) error
- func (i *IndependentDirectlyAdapted) SetField(field int32) *IndependentDirectlyAdapted
- func (p *IndependentDirectlyAdapted) String() string
- func (p *IndependentDirectlyAdapted) Write(oprot thrift.Protocol) error
- type IndependentDirectlyAdaptedBuilder
- type IndirectionString
- type ListWithElemAdapter
- type ListWithElemAdapterWithAdapter
- type MoveOnly
- func (p *MoveOnly) DefaultGetPtr() *HeapAllocated
- func (p *MoveOnly) GetPtr() *HeapAllocated
- func (p *MoveOnly) IsSetPtr() bool
- func (p *MoveOnly) Read(iprot thrift.Protocol) error
- func (p *MoveOnly) ReadField1(iprot thrift.Protocol) error
- func (m *MoveOnly) SetPtr(ptr *HeapAllocated) *MoveOnly
- func (p *MoveOnly) String() string
- func (p *MoveOnly) Write(oprot thrift.Protocol) error
- type MoveOnlyBuilder
- type MyAnnotation
- func (p *MyAnnotation) GetColor() Color
- func (p *MyAnnotation) GetSignature() string
- func (p *MyAnnotation) Read(iprot thrift.Protocol) error
- func (p *MyAnnotation) ReadField1(iprot thrift.Protocol) error
- func (p *MyAnnotation) ReadField2(iprot thrift.Protocol) error
- func (m *MyAnnotation) SetColor(color Color) *MyAnnotation
- func (m *MyAnnotation) SetSignature(signature string) *MyAnnotation
- func (p *MyAnnotation) String() string
- func (p *MyAnnotation) Write(oprot thrift.Protocol) error
- type MyAnnotationBuilder
- type MyI32
- type MyI64
- type MyStruct
- func (p *MyStruct) GetField() int32
- func (p *MyStruct) GetSetString() SetWithAdapter
- func (p *MyStruct) Read(iprot thrift.Protocol) error
- func (p *MyStruct) ReadField1(iprot thrift.Protocol) error
- func (p *MyStruct) ReadField2(iprot thrift.Protocol) error
- func (m *MyStruct) SetField(field int32) *MyStruct
- func (m *MyStruct) SetSetString(setString SetWithAdapter) *MyStruct
- func (p *MyStruct) String() string
- func (p *MyStruct) Write(oprot thrift.Protocol) error
- type MyStructBuilder
- type Person
- type Person2
- type Person2Builder
- type PersonBuilder
- type RenamedStruct
- func (p *RenamedStruct) GetData() int64
- func (p *RenamedStruct) Read(iprot thrift.Protocol) error
- func (p *RenamedStruct) ReadField1(iprot thrift.Protocol) error
- func (r *RenamedStruct) SetData(data int64) *RenamedStruct
- func (p *RenamedStruct) String() string
- func (p *RenamedStruct) Write(oprot thrift.Protocol) error
- type RenamedStructBuilder
- type ReorderedStruct
- func (p *ReorderedStruct) GetReorderedDependentAdapted() *DeclaredAfterStruct
- func (p *ReorderedStruct) IsSetReorderedDependentAdapted() bool
- func (p *ReorderedStruct) Read(iprot thrift.Protocol) error
- func (p *ReorderedStruct) ReadField1(iprot thrift.Protocol) error
- func (r *ReorderedStruct) SetReorderedDependentAdapted(reorderedDependentAdapted *DeclaredAfterStruct) *ReorderedStruct
- func (p *ReorderedStruct) String() string
- func (p *ReorderedStruct) Write(oprot thrift.Protocol) error
- type ReorderedStructBuilder
- type SameNamespaceStruct
- func (p *SameNamespaceStruct) GetData() int64
- func (p *SameNamespaceStruct) Read(iprot thrift.Protocol) error
- func (p *SameNamespaceStruct) ReadField1(iprot thrift.Protocol) error
- func (s *SameNamespaceStruct) SetData(data int64) *SameNamespaceStruct
- func (p *SameNamespaceStruct) String() string
- func (p *SameNamespaceStruct) Write(oprot thrift.Protocol) error
- type SameNamespaceStructBuilder
- type Service
- type ServiceChannelClient
- type ServiceClient
- type ServiceClientInterface
- type ServiceFuncArgs
- func (p *ServiceFuncArgs) DefaultGetArg3() *Foo
- func (p *ServiceFuncArgs) GetArg1() StringWithAdapter
- func (p *ServiceFuncArgs) GetArg2() string
- func (p *ServiceFuncArgs) GetArg3() *Foo
- func (p *ServiceFuncArgs) IsSetArg3() bool
- func (p *ServiceFuncArgs) Read(iprot thrift.Protocol) error
- func (p *ServiceFuncArgs) ReadField1(iprot thrift.Protocol) error
- func (p *ServiceFuncArgs) ReadField2(iprot thrift.Protocol) error
- func (p *ServiceFuncArgs) ReadField3(iprot thrift.Protocol) error
- func (s *ServiceFuncArgs) SetArg1(arg1 StringWithAdapter) *ServiceFuncArgs
- func (s *ServiceFuncArgs) SetArg2(arg2 string) *ServiceFuncArgs
- func (s *ServiceFuncArgs) SetArg3(arg3 *Foo) *ServiceFuncArgs
- func (p *ServiceFuncArgs) String() string
- func (p *ServiceFuncArgs) Write(oprot thrift.Protocol) error
- type ServiceFuncArgsBuilder
- type ServiceFuncResult
- func (p *ServiceFuncResult) Exception() thrift.WritableException
- func (p *ServiceFuncResult) GetSuccess() MyI32
- func (p *ServiceFuncResult) IsSetSuccess() bool
- func (p *ServiceFuncResult) Read(iprot thrift.Protocol) error
- func (p *ServiceFuncResult) ReadField0(iprot thrift.Protocol) error
- func (s *ServiceFuncResult) SetSuccess(success *MyI32) *ServiceFuncResult
- func (p *ServiceFuncResult) String() string
- func (p *ServiceFuncResult) Write(oprot thrift.Protocol) error
- type ServiceFuncResultBuilder
- type ServiceProcessor
- func (p *ServiceProcessor) AddToFunctionServiceMap(key, service string)
- func (p *ServiceProcessor) AddToProcessorMap(key string, processor thrift.ProcessorFunction)
- func (p *ServiceProcessor) FunctionServiceMap() map[string]string
- func (p *ServiceProcessor) GetProcessorFunction(key string) (processor thrift.ProcessorFunction, err error)
- func (p *ServiceProcessor) ProcessorMap() map[string]thrift.ProcessorFunction
- type ServiceThreadsafeClient
- func NewServiceThreadsafeClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *ServiceThreadsafeClient
- func NewServiceThreadsafeClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *ServiceThreadsafeClient
- func NewServiceThreadsafeClientProtocol(prot thrift.Protocol) *ServiceThreadsafeClient
- type SetWithAdapter
- type StringWithAdapter
- type StructFieldAdaptedStruct
- func (p *StructFieldAdaptedStruct) DefaultGetAdaptedStruct() *AdaptedStruct
- func (p *StructFieldAdaptedStruct) DefaultGetDirectlyAdapted() *DirectlyAdaptedStruct
- func (p *StructFieldAdaptedStruct) GetAdaptedStruct() *AdaptedStruct
- func (p *StructFieldAdaptedStruct) GetAdaptedTypedef() *AdaptedTypedef
- func (p *StructFieldAdaptedStruct) GetDirectlyAdapted() *DirectlyAdaptedStruct
- func (p *StructFieldAdaptedStruct) GetTypedefOfAdapted() *TypedefOfDirect
- func (p *StructFieldAdaptedStruct) IsSetAdaptedStruct() bool
- func (p *StructFieldAdaptedStruct) IsSetAdaptedTypedef() bool
- func (p *StructFieldAdaptedStruct) IsSetDirectlyAdapted() bool
- func (p *StructFieldAdaptedStruct) IsSetTypedefOfAdapted() bool
- func (p *StructFieldAdaptedStruct) Read(iprot thrift.Protocol) error
- func (p *StructFieldAdaptedStruct) ReadField1(iprot thrift.Protocol) error
- func (p *StructFieldAdaptedStruct) ReadField2(iprot thrift.Protocol) error
- func (p *StructFieldAdaptedStruct) ReadField3(iprot thrift.Protocol) error
- func (p *StructFieldAdaptedStruct) ReadField4(iprot thrift.Protocol) error
- func (s *StructFieldAdaptedStruct) SetAdaptedStruct(adaptedStruct *AdaptedStruct) *StructFieldAdaptedStruct
- func (s *StructFieldAdaptedStruct) SetAdaptedTypedef(adaptedTypedef *AdaptedTypedef) *StructFieldAdaptedStruct
- func (s *StructFieldAdaptedStruct) SetDirectlyAdapted(directlyAdapted *DirectlyAdaptedStruct) *StructFieldAdaptedStruct
- func (s *StructFieldAdaptedStruct) SetTypedefOfAdapted(typedefOfAdapted *TypedefOfDirect) *StructFieldAdaptedStruct
- func (p *StructFieldAdaptedStruct) String() string
- func (p *StructFieldAdaptedStruct) Write(oprot thrift.Protocol) error
- type StructFieldAdaptedStructBuilder
- func (s *StructFieldAdaptedStructBuilder) AdaptedStruct(adaptedStruct *AdaptedStruct) *StructFieldAdaptedStructBuilder
- func (s *StructFieldAdaptedStructBuilder) AdaptedTypedef(adaptedTypedef *AdaptedTypedef) *StructFieldAdaptedStructBuilder
- func (s *StructFieldAdaptedStructBuilder) DirectlyAdapted(directlyAdapted *DirectlyAdaptedStruct) *StructFieldAdaptedStructBuilder
- func (p StructFieldAdaptedStructBuilder) Emit() *StructFieldAdaptedStruct
- func (s *StructFieldAdaptedStructBuilder) TypedefOfAdapted(typedefOfAdapted *TypedefOfDirect) *StructFieldAdaptedStructBuilder
- type StructWithAdapter
- type StructWithFieldAdapter
- func (p *StructWithFieldAdapter) GetField() int32
- func (p *StructWithFieldAdapter) GetOptBoxedField() int32
- func (p *StructWithFieldAdapter) GetOptSharedField() int32
- func (p *StructWithFieldAdapter) GetSharedField() int32
- func (p *StructWithFieldAdapter) IsSetOptBoxedField() bool
- func (p *StructWithFieldAdapter) IsSetOptSharedField() bool
- func (p *StructWithFieldAdapter) Read(iprot thrift.Protocol) error
- func (p *StructWithFieldAdapter) ReadField1(iprot thrift.Protocol) error
- func (p *StructWithFieldAdapter) ReadField2(iprot thrift.Protocol) error
- func (p *StructWithFieldAdapter) ReadField3(iprot thrift.Protocol) error
- func (p *StructWithFieldAdapter) ReadField4(iprot thrift.Protocol) error
- func (s *StructWithFieldAdapter) SetField(field int32) *StructWithFieldAdapter
- func (s *StructWithFieldAdapter) SetOptBoxedField(optBoxedField *int32) *StructWithFieldAdapter
- func (s *StructWithFieldAdapter) SetOptSharedField(optSharedField *int32) *StructWithFieldAdapter
- func (s *StructWithFieldAdapter) SetSharedField(sharedField int32) *StructWithFieldAdapter
- func (p *StructWithFieldAdapter) String() string
- func (p *StructWithFieldAdapter) Write(oprot thrift.Protocol) error
- type StructWithFieldAdapterBuilder
- func (p StructWithFieldAdapterBuilder) Emit() *StructWithFieldAdapter
- func (s *StructWithFieldAdapterBuilder) Field(field int32) *StructWithFieldAdapterBuilder
- func (s *StructWithFieldAdapterBuilder) OptBoxedField(optBoxedField *int32) *StructWithFieldAdapterBuilder
- func (s *StructWithFieldAdapterBuilder) OptSharedField(optSharedField *int32) *StructWithFieldAdapterBuilder
- func (s *StructWithFieldAdapterBuilder) SharedField(sharedField int32) *StructWithFieldAdapterBuilder
- type TerseAdaptedFields
- func (p *TerseAdaptedFields) GetIntField() int32
- func (p *TerseAdaptedFields) GetSetField() []int32
- func (p *TerseAdaptedFields) GetStringField() string
- func (p *TerseAdaptedFields) Read(iprot thrift.Protocol) error
- func (p *TerseAdaptedFields) ReadField1(iprot thrift.Protocol) error
- func (p *TerseAdaptedFields) ReadField2(iprot thrift.Protocol) error
- func (p *TerseAdaptedFields) ReadField3(iprot thrift.Protocol) error
- func (t *TerseAdaptedFields) SetIntField(intField int32) *TerseAdaptedFields
- func (t *TerseAdaptedFields) SetSetField(setField []int32) *TerseAdaptedFields
- func (t *TerseAdaptedFields) SetStringField(stringField string) *TerseAdaptedFields
- func (p *TerseAdaptedFields) String() string
- func (p *TerseAdaptedFields) Write(oprot thrift.Protocol) error
- type TerseAdaptedFieldsBuilder
- func (p TerseAdaptedFieldsBuilder) Emit() *TerseAdaptedFields
- func (t *TerseAdaptedFieldsBuilder) IntField(intField int32) *TerseAdaptedFieldsBuilder
- func (t *TerseAdaptedFieldsBuilder) SetField(setField []int32) *TerseAdaptedFieldsBuilder
- func (t *TerseAdaptedFieldsBuilder) StringField(stringField string) *TerseAdaptedFieldsBuilder
- type ThriftAdaptedEnum
- type TransitiveAdapted
- type TransitiveAdaptedBuilder
- type TypedefOfDirect
- type UnionWithAdapter
Constants ¶
View Source
const Msg = "hello, world"
View Source
const MsgNoTransitive = "hello, world 2"
View Source
const Timeout = 42
View Source
const TimeoutNoTransitive = 420
View Source
const Var1 = 10
View Source
const Var2 = "20"
View Source
const Var4 = 40
View Source
const Var5 = "50"
Variables ¶
View Source
var Bar_OptionalStructListField_DEFAULT []*FooWithAdapter
View Source
var Baz_BinaryField_DEFAULT []byte
View Source
var Baz_IntField_DEFAULT int32
View Source
var Baz_MapField_DEFAULT map[string]ListWithElemAdapterWithAdapter
View Source
var ColorNames = []string{
"UNKNOWN",
"RED",
"GREEN",
"BLUE",
}
View Source
var ColorToName = map[Color]string{ Color_UNKNOWN: "UNKNOWN", Color_RED: "RED", Color_GREEN: "GREEN", Color_BLUE: "BLUE", }
View Source
var ColorToValue = map[string]Color{ "UNKNOWN": Color_UNKNOWN, "RED": Color_RED, "GREEN": Color_GREEN, "BLUE": Color_BLUE, }
View Source
var ColorValues = []Color{ Color_UNKNOWN, Color_RED, Color_GREEN, Color_BLUE, }
View Source
var ContainerOfAdapted []AdaptedByte
View Source
var CountingStruct_RegularInt_DEFAULT int64
View Source
var CountingStruct_RegularString_DEFAULT string
View Source
var Foo_OptionalIntField_DEFAULT int32
View Source
var Foo_OptionalMapField_DEFAULT map[string]ListWithElemAdapterWithAdapter
View Source
var GoUnusedProtection__ int
View Source
var StructWithFieldAdapter_OptBoxedField_DEFAULT int32
View Source
var ThriftAdaptedEnumNames = []string{
"Zero",
"One",
}
View Source
var ThriftAdaptedEnumToName = map[ThriftAdaptedEnum]string{ ThriftAdaptedEnum_Zero: "Zero", ThriftAdaptedEnum_One: "One", }
View Source
var ThriftAdaptedEnumToValue = map[string]ThriftAdaptedEnum{ "Zero": ThriftAdaptedEnum_Zero, "One": ThriftAdaptedEnum_One, }
View Source
var ThriftAdaptedEnumValues = []ThriftAdaptedEnum{ ThriftAdaptedEnum_Zero, ThriftAdaptedEnum_One, }
Functions ¶
This section is empty.
Types ¶
type ABuilder ¶
type ABuilder struct {
// contains filtered or unexported fields
}
func NewABuilder ¶
func NewABuilder() *ABuilder
type AdaptTemplatedNestedTestStruct ¶
type AdaptTemplatedNestedTestStruct struct {
AdaptedStruct *AdaptTemplatedTestStruct `thrift:"adaptedStruct,1" db:"adaptedStruct" json:"adaptedStruct"`
}
Attributes:
- AdaptedStruct
func NewAdaptTemplatedNestedTestStruct ¶
func NewAdaptTemplatedNestedTestStruct() *AdaptTemplatedNestedTestStruct
func (*AdaptTemplatedNestedTestStruct) DefaultGetAdaptedStruct ¶
func (p *AdaptTemplatedNestedTestStruct) DefaultGetAdaptedStruct() *AdaptTemplatedTestStruct
func (*AdaptTemplatedNestedTestStruct) GetAdaptedStruct ¶
func (p *AdaptTemplatedNestedTestStruct) GetAdaptedStruct() *AdaptTemplatedTestStruct
func (*AdaptTemplatedNestedTestStruct) IsSetAdaptedStruct ¶
func (p *AdaptTemplatedNestedTestStruct) IsSetAdaptedStruct() bool
func (*AdaptTemplatedNestedTestStruct) Read ¶
func (p *AdaptTemplatedNestedTestStruct) Read(iprot thrift.Protocol) error
func (*AdaptTemplatedNestedTestStruct) ReadField1 ¶
func (p *AdaptTemplatedNestedTestStruct) ReadField1(iprot thrift.Protocol) error
func (*AdaptTemplatedNestedTestStruct) SetAdaptedStruct ¶
func (a *AdaptTemplatedNestedTestStruct) SetAdaptedStruct(adaptedStruct *AdaptTemplatedTestStruct) *AdaptTemplatedNestedTestStruct
func (*AdaptTemplatedNestedTestStruct) String ¶
func (p *AdaptTemplatedNestedTestStruct) String() string
type AdaptTemplatedNestedTestStructBuilder ¶
type AdaptTemplatedNestedTestStructBuilder struct {
// contains filtered or unexported fields
}
func NewAdaptTemplatedNestedTestStructBuilder ¶
func NewAdaptTemplatedNestedTestStructBuilder() *AdaptTemplatedNestedTestStructBuilder
func (*AdaptTemplatedNestedTestStructBuilder) AdaptedStruct ¶
func (a *AdaptTemplatedNestedTestStructBuilder) AdaptedStruct(adaptedStruct *AdaptTemplatedTestStruct) *AdaptTemplatedNestedTestStructBuilder
func (AdaptTemplatedNestedTestStructBuilder) Emit ¶
func (p AdaptTemplatedNestedTestStructBuilder) Emit() *AdaptTemplatedNestedTestStruct
type AdaptTemplatedTestStruct ¶
type AdaptTemplatedTestStruct struct { AdaptedBool AdaptedBool `thrift:"adaptedBool,1" db:"adaptedBool" json:"adaptedBool"` AdaptedByte AdaptedByte `thrift:"adaptedByte,2" db:"adaptedByte" json:"adaptedByte"` AdaptedShort AdaptedShort `thrift:"adaptedShort,3" db:"adaptedShort" json:"adaptedShort"` AdaptedInteger AdaptedInteger `thrift:"adaptedInteger,4" db:"adaptedInteger" json:"adaptedInteger"` AdaptedLong AdaptedLong `thrift:"adaptedLong,5" db:"adaptedLong" json:"adaptedLong"` AdaptedDouble AdaptedDouble `thrift:"adaptedDouble,6" db:"adaptedDouble" json:"adaptedDouble"` AdaptedString AdaptedString `thrift:"adaptedString,7" db:"adaptedString" json:"adaptedString"` AdaptedList []int64 `thrift:"adaptedList,8" db:"adaptedList" json:"adaptedList"` AdaptedSet []int64 `thrift:"adaptedSet,9" db:"adaptedSet" json:"adaptedSet"` AdaptedMap map[int64]int64 `thrift:"adaptedMap,10" db:"adaptedMap" json:"adaptedMap"` AdaptedBoolDefault AdaptedBool `thrift:"adaptedBoolDefault,11" db:"adaptedBoolDefault" json:"adaptedBoolDefault"` AdaptedByteDefault AdaptedByte `thrift:"adaptedByteDefault,12" db:"adaptedByteDefault" json:"adaptedByteDefault"` AdaptedShortDefault AdaptedShort `thrift:"adaptedShortDefault,13" db:"adaptedShortDefault" json:"adaptedShortDefault"` AdaptedIntegerDefault AdaptedInteger `thrift:"adaptedIntegerDefault,14" db:"adaptedIntegerDefault" json:"adaptedIntegerDefault"` AdaptedLongDefault AdaptedLong `thrift:"adaptedLongDefault,15" db:"adaptedLongDefault" json:"adaptedLongDefault"` AdaptedDoubleDefault AdaptedDouble `thrift:"adaptedDoubleDefault,16" db:"adaptedDoubleDefault" json:"adaptedDoubleDefault"` AdaptedStringDefault AdaptedString `thrift:"adaptedStringDefault,17" db:"adaptedStringDefault" json:"adaptedStringDefault"` AdaptedEnum AdaptedEnum `thrift:"adaptedEnum,18" db:"adaptedEnum" json:"adaptedEnum"` AdaptedListDefault []int64 `thrift:"adaptedListDefault,19" db:"adaptedListDefault" json:"adaptedListDefault"` AdaptedSetDefault []int64 `thrift:"adaptedSetDefault,20" db:"adaptedSetDefault" json:"adaptedSetDefault"` AdaptedMapDefault map[int64]int64 `thrift:"adaptedMapDefault,21" db:"adaptedMapDefault" json:"adaptedMapDefault"` DoubleTypedefBool DoubleTypedefBool `thrift:"doubleTypedefBool,22" db:"doubleTypedefBool" json:"doubleTypedefBool"` }
Attributes:
- AdaptedBool
- AdaptedByte
- AdaptedShort
- AdaptedInteger
- AdaptedLong
- AdaptedDouble
- AdaptedString
- AdaptedList
- AdaptedSet
- AdaptedMap
- AdaptedBoolDefault
- AdaptedByteDefault
- AdaptedShortDefault
- AdaptedIntegerDefault
- AdaptedLongDefault
- AdaptedDoubleDefault
- AdaptedStringDefault
- AdaptedEnum
- AdaptedListDefault
- AdaptedSetDefault
- AdaptedMapDefault
- DoubleTypedefBool
var AdaptTemplatedNestedTestStruct_AdaptedStruct_DEFAULT *AdaptTemplatedTestStruct
func NewAdaptTemplatedTestStruct ¶
func NewAdaptTemplatedTestStruct() *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) GetAdaptedBool ¶
func (p *AdaptTemplatedTestStruct) GetAdaptedBool() AdaptedBool
func (*AdaptTemplatedTestStruct) GetAdaptedBoolDefault ¶
func (p *AdaptTemplatedTestStruct) GetAdaptedBoolDefault() AdaptedBool
func (*AdaptTemplatedTestStruct) GetAdaptedByte ¶
func (p *AdaptTemplatedTestStruct) GetAdaptedByte() AdaptedByte
func (*AdaptTemplatedTestStruct) GetAdaptedByteDefault ¶
func (p *AdaptTemplatedTestStruct) GetAdaptedByteDefault() AdaptedByte
func (*AdaptTemplatedTestStruct) GetAdaptedDouble ¶
func (p *AdaptTemplatedTestStruct) GetAdaptedDouble() AdaptedDouble
func (*AdaptTemplatedTestStruct) GetAdaptedDoubleDefault ¶
func (p *AdaptTemplatedTestStruct) GetAdaptedDoubleDefault() AdaptedDouble
func (*AdaptTemplatedTestStruct) GetAdaptedEnum ¶
func (p *AdaptTemplatedTestStruct) GetAdaptedEnum() AdaptedEnum
func (*AdaptTemplatedTestStruct) GetAdaptedInteger ¶
func (p *AdaptTemplatedTestStruct) GetAdaptedInteger() AdaptedInteger
func (*AdaptTemplatedTestStruct) GetAdaptedIntegerDefault ¶
func (p *AdaptTemplatedTestStruct) GetAdaptedIntegerDefault() AdaptedInteger
func (*AdaptTemplatedTestStruct) GetAdaptedList ¶
func (p *AdaptTemplatedTestStruct) GetAdaptedList() []int64
func (*AdaptTemplatedTestStruct) GetAdaptedListDefault ¶
func (p *AdaptTemplatedTestStruct) GetAdaptedListDefault() []int64
func (*AdaptTemplatedTestStruct) GetAdaptedLong ¶
func (p *AdaptTemplatedTestStruct) GetAdaptedLong() AdaptedLong
func (*AdaptTemplatedTestStruct) GetAdaptedLongDefault ¶
func (p *AdaptTemplatedTestStruct) GetAdaptedLongDefault() AdaptedLong
func (*AdaptTemplatedTestStruct) GetAdaptedMap ¶
func (p *AdaptTemplatedTestStruct) GetAdaptedMap() map[int64]int64
func (*AdaptTemplatedTestStruct) GetAdaptedMapDefault ¶
func (p *AdaptTemplatedTestStruct) GetAdaptedMapDefault() map[int64]int64
func (*AdaptTemplatedTestStruct) GetAdaptedSet ¶
func (p *AdaptTemplatedTestStruct) GetAdaptedSet() []int64
func (*AdaptTemplatedTestStruct) GetAdaptedSetDefault ¶
func (p *AdaptTemplatedTestStruct) GetAdaptedSetDefault() []int64
func (*AdaptTemplatedTestStruct) GetAdaptedShort ¶
func (p *AdaptTemplatedTestStruct) GetAdaptedShort() AdaptedShort
func (*AdaptTemplatedTestStruct) GetAdaptedShortDefault ¶
func (p *AdaptTemplatedTestStruct) GetAdaptedShortDefault() AdaptedShort
func (*AdaptTemplatedTestStruct) GetAdaptedString ¶
func (p *AdaptTemplatedTestStruct) GetAdaptedString() AdaptedString
func (*AdaptTemplatedTestStruct) GetAdaptedStringDefault ¶
func (p *AdaptTemplatedTestStruct) GetAdaptedStringDefault() AdaptedString
func (*AdaptTemplatedTestStruct) GetDoubleTypedefBool ¶
func (p *AdaptTemplatedTestStruct) GetDoubleTypedefBool() DoubleTypedefBool
func (*AdaptTemplatedTestStruct) Read ¶
func (p *AdaptTemplatedTestStruct) Read(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) ReadField1 ¶
func (p *AdaptTemplatedTestStruct) ReadField1(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) ReadField10 ¶
func (p *AdaptTemplatedTestStruct) ReadField10(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) ReadField11 ¶
func (p *AdaptTemplatedTestStruct) ReadField11(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) ReadField12 ¶
func (p *AdaptTemplatedTestStruct) ReadField12(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) ReadField13 ¶
func (p *AdaptTemplatedTestStruct) ReadField13(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) ReadField14 ¶
func (p *AdaptTemplatedTestStruct) ReadField14(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) ReadField15 ¶
func (p *AdaptTemplatedTestStruct) ReadField15(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) ReadField16 ¶
func (p *AdaptTemplatedTestStruct) ReadField16(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) ReadField17 ¶
func (p *AdaptTemplatedTestStruct) ReadField17(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) ReadField18 ¶
func (p *AdaptTemplatedTestStruct) ReadField18(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) ReadField19 ¶
func (p *AdaptTemplatedTestStruct) ReadField19(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) ReadField2 ¶
func (p *AdaptTemplatedTestStruct) ReadField2(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) ReadField20 ¶
func (p *AdaptTemplatedTestStruct) ReadField20(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) ReadField21 ¶
func (p *AdaptTemplatedTestStruct) ReadField21(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) ReadField22 ¶
func (p *AdaptTemplatedTestStruct) ReadField22(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) ReadField3 ¶
func (p *AdaptTemplatedTestStruct) ReadField3(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) ReadField4 ¶
func (p *AdaptTemplatedTestStruct) ReadField4(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) ReadField5 ¶
func (p *AdaptTemplatedTestStruct) ReadField5(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) ReadField6 ¶
func (p *AdaptTemplatedTestStruct) ReadField6(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) ReadField7 ¶
func (p *AdaptTemplatedTestStruct) ReadField7(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) ReadField8 ¶
func (p *AdaptTemplatedTestStruct) ReadField8(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) ReadField9 ¶
func (p *AdaptTemplatedTestStruct) ReadField9(iprot thrift.Protocol) error
func (*AdaptTemplatedTestStruct) SetAdaptedBool ¶
func (a *AdaptTemplatedTestStruct) SetAdaptedBool(adaptedBool AdaptedBool) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedBoolDefault ¶
func (a *AdaptTemplatedTestStruct) SetAdaptedBoolDefault(adaptedBoolDefault AdaptedBool) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedByte ¶
func (a *AdaptTemplatedTestStruct) SetAdaptedByte(adaptedByte AdaptedByte) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedByteDefault ¶
func (a *AdaptTemplatedTestStruct) SetAdaptedByteDefault(adaptedByteDefault AdaptedByte) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedDouble ¶
func (a *AdaptTemplatedTestStruct) SetAdaptedDouble(adaptedDouble AdaptedDouble) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedDoubleDefault ¶
func (a *AdaptTemplatedTestStruct) SetAdaptedDoubleDefault(adaptedDoubleDefault AdaptedDouble) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedEnum ¶
func (a *AdaptTemplatedTestStruct) SetAdaptedEnum(adaptedEnum AdaptedEnum) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedInteger ¶
func (a *AdaptTemplatedTestStruct) SetAdaptedInteger(adaptedInteger AdaptedInteger) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedIntegerDefault ¶
func (a *AdaptTemplatedTestStruct) SetAdaptedIntegerDefault(adaptedIntegerDefault AdaptedInteger) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedList ¶
func (a *AdaptTemplatedTestStruct) SetAdaptedList(adaptedList []int64) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedListDefault ¶
func (a *AdaptTemplatedTestStruct) SetAdaptedListDefault(adaptedListDefault []int64) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedLong ¶
func (a *AdaptTemplatedTestStruct) SetAdaptedLong(adaptedLong AdaptedLong) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedLongDefault ¶
func (a *AdaptTemplatedTestStruct) SetAdaptedLongDefault(adaptedLongDefault AdaptedLong) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedMap ¶
func (a *AdaptTemplatedTestStruct) SetAdaptedMap(adaptedMap map[int64]int64) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedMapDefault ¶
func (a *AdaptTemplatedTestStruct) SetAdaptedMapDefault(adaptedMapDefault map[int64]int64) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedSet ¶
func (a *AdaptTemplatedTestStruct) SetAdaptedSet(adaptedSet []int64) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedSetDefault ¶
func (a *AdaptTemplatedTestStruct) SetAdaptedSetDefault(adaptedSetDefault []int64) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedShort ¶
func (a *AdaptTemplatedTestStruct) SetAdaptedShort(adaptedShort AdaptedShort) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedShortDefault ¶
func (a *AdaptTemplatedTestStruct) SetAdaptedShortDefault(adaptedShortDefault AdaptedShort) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedString ¶
func (a *AdaptTemplatedTestStruct) SetAdaptedString(adaptedString AdaptedString) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedStringDefault ¶
func (a *AdaptTemplatedTestStruct) SetAdaptedStringDefault(adaptedStringDefault AdaptedString) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetDoubleTypedefBool ¶
func (a *AdaptTemplatedTestStruct) SetDoubleTypedefBool(doubleTypedefBool DoubleTypedefBool) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) String ¶
func (p *AdaptTemplatedTestStruct) String() string
type AdaptTemplatedTestStructBuilder ¶
type AdaptTemplatedTestStructBuilder struct {
// contains filtered or unexported fields
}
func NewAdaptTemplatedTestStructBuilder ¶
func NewAdaptTemplatedTestStructBuilder() *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedBool ¶
func (a *AdaptTemplatedTestStructBuilder) AdaptedBool(adaptedBool AdaptedBool) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedBoolDefault ¶
func (a *AdaptTemplatedTestStructBuilder) AdaptedBoolDefault(adaptedBoolDefault AdaptedBool) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedByte ¶
func (a *AdaptTemplatedTestStructBuilder) AdaptedByte(adaptedByte AdaptedByte) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedByteDefault ¶
func (a *AdaptTemplatedTestStructBuilder) AdaptedByteDefault(adaptedByteDefault AdaptedByte) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedDouble ¶
func (a *AdaptTemplatedTestStructBuilder) AdaptedDouble(adaptedDouble AdaptedDouble) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedDoubleDefault ¶
func (a *AdaptTemplatedTestStructBuilder) AdaptedDoubleDefault(adaptedDoubleDefault AdaptedDouble) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedEnum ¶
func (a *AdaptTemplatedTestStructBuilder) AdaptedEnum(adaptedEnum AdaptedEnum) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedInteger ¶
func (a *AdaptTemplatedTestStructBuilder) AdaptedInteger(adaptedInteger AdaptedInteger) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedIntegerDefault ¶
func (a *AdaptTemplatedTestStructBuilder) AdaptedIntegerDefault(adaptedIntegerDefault AdaptedInteger) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedList ¶
func (a *AdaptTemplatedTestStructBuilder) AdaptedList(adaptedList []int64) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedListDefault ¶
func (a *AdaptTemplatedTestStructBuilder) AdaptedListDefault(adaptedListDefault []int64) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedLong ¶
func (a *AdaptTemplatedTestStructBuilder) AdaptedLong(adaptedLong AdaptedLong) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedLongDefault ¶
func (a *AdaptTemplatedTestStructBuilder) AdaptedLongDefault(adaptedLongDefault AdaptedLong) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedMap ¶
func (a *AdaptTemplatedTestStructBuilder) AdaptedMap(adaptedMap map[int64]int64) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedMapDefault ¶
func (a *AdaptTemplatedTestStructBuilder) AdaptedMapDefault(adaptedMapDefault map[int64]int64) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedSet ¶
func (a *AdaptTemplatedTestStructBuilder) AdaptedSet(adaptedSet []int64) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedSetDefault ¶
func (a *AdaptTemplatedTestStructBuilder) AdaptedSetDefault(adaptedSetDefault []int64) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedShort ¶
func (a *AdaptTemplatedTestStructBuilder) AdaptedShort(adaptedShort AdaptedShort) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedShortDefault ¶
func (a *AdaptTemplatedTestStructBuilder) AdaptedShortDefault(adaptedShortDefault AdaptedShort) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedString ¶
func (a *AdaptTemplatedTestStructBuilder) AdaptedString(adaptedString AdaptedString) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedStringDefault ¶
func (a *AdaptTemplatedTestStructBuilder) AdaptedStringDefault(adaptedStringDefault AdaptedString) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) DoubleTypedefBool ¶
func (a *AdaptTemplatedTestStructBuilder) DoubleTypedefBool(doubleTypedefBool DoubleTypedefBool) *AdaptTemplatedTestStructBuilder
func (AdaptTemplatedTestStructBuilder) Emit ¶
func (p AdaptTemplatedTestStructBuilder) Emit() *AdaptTemplatedTestStruct
type AdaptTestStruct ¶
type AdaptTestStruct struct { Delay DurationMs `thrift:"delay,1" db:"delay" json:"delay"` Custom CustomProtocolType `thrift:"custom,2" db:"custom" json:"custom"` Timeout int64 `thrift:"timeout,3" db:"timeout" json:"timeout"` Data int64 `thrift:"data,4" db:"data" json:"data"` Meta string `thrift:"meta,5" db:"meta" json:"meta"` IndirectionString IndirectionString `thrift:"indirectionString,6" db:"indirectionString" json:"indirectionString"` StringData string `thrift:"string_data,7" db:"string_data" json:"string_data"` DoubleWrappedBool AdaptedBool `thrift:"double_wrapped_bool,8" db:"double_wrapped_bool" json:"double_wrapped_bool"` DoubleWrappedInteger AdaptedInteger `thrift:"double_wrapped_integer,9" db:"double_wrapped_integer" json:"double_wrapped_integer"` BinaryData []byte `thrift:"binary_data,10" db:"binary_data" json:"binary_data"` }
Attributes:
- Delay
- Custom
- Timeout
- Data
- Meta
- IndirectionString
- StringData
- DoubleWrappedBool
- DoubleWrappedInteger
- BinaryData
func NewAdaptTestStruct ¶
func NewAdaptTestStruct() *AdaptTestStruct
func (*AdaptTestStruct) GetBinaryData ¶
func (p *AdaptTestStruct) GetBinaryData() []byte
func (*AdaptTestStruct) GetCustom ¶
func (p *AdaptTestStruct) GetCustom() CustomProtocolType
func (*AdaptTestStruct) GetData ¶
func (p *AdaptTestStruct) GetData() int64
func (*AdaptTestStruct) GetDelay ¶
func (p *AdaptTestStruct) GetDelay() DurationMs
func (*AdaptTestStruct) GetDoubleWrappedBool ¶
func (p *AdaptTestStruct) GetDoubleWrappedBool() AdaptedBool
func (*AdaptTestStruct) GetDoubleWrappedInteger ¶
func (p *AdaptTestStruct) GetDoubleWrappedInteger() AdaptedInteger
func (*AdaptTestStruct) GetIndirectionString ¶
func (p *AdaptTestStruct) GetIndirectionString() IndirectionString
func (*AdaptTestStruct) GetMeta ¶
func (p *AdaptTestStruct) GetMeta() string
func (*AdaptTestStruct) GetStringData ¶
func (p *AdaptTestStruct) GetStringData() string
func (*AdaptTestStruct) GetTimeout ¶
func (p *AdaptTestStruct) GetTimeout() int64
func (*AdaptTestStruct) ReadField1 ¶
func (p *AdaptTestStruct) ReadField1(iprot thrift.Protocol) error
func (*AdaptTestStruct) ReadField10 ¶
func (p *AdaptTestStruct) ReadField10(iprot thrift.Protocol) error
func (*AdaptTestStruct) ReadField2 ¶
func (p *AdaptTestStruct) ReadField2(iprot thrift.Protocol) error
func (*AdaptTestStruct) ReadField3 ¶
func (p *AdaptTestStruct) ReadField3(iprot thrift.Protocol) error
func (*AdaptTestStruct) ReadField4 ¶
func (p *AdaptTestStruct) ReadField4(iprot thrift.Protocol) error
func (*AdaptTestStruct) ReadField5 ¶
func (p *AdaptTestStruct) ReadField5(iprot thrift.Protocol) error
func (*AdaptTestStruct) ReadField6 ¶
func (p *AdaptTestStruct) ReadField6(iprot thrift.Protocol) error
func (*AdaptTestStruct) ReadField7 ¶
func (p *AdaptTestStruct) ReadField7(iprot thrift.Protocol) error
func (*AdaptTestStruct) ReadField8 ¶
func (p *AdaptTestStruct) ReadField8(iprot thrift.Protocol) error
func (*AdaptTestStruct) ReadField9 ¶
func (p *AdaptTestStruct) ReadField9(iprot thrift.Protocol) error
func (*AdaptTestStruct) SetBinaryData ¶
func (a *AdaptTestStruct) SetBinaryData(binaryData []byte) *AdaptTestStruct
func (*AdaptTestStruct) SetCustom ¶
func (a *AdaptTestStruct) SetCustom(custom CustomProtocolType) *AdaptTestStruct
func (*AdaptTestStruct) SetData ¶
func (a *AdaptTestStruct) SetData(data int64) *AdaptTestStruct
func (*AdaptTestStruct) SetDelay ¶
func (a *AdaptTestStruct) SetDelay(delay DurationMs) *AdaptTestStruct
func (*AdaptTestStruct) SetDoubleWrappedBool ¶
func (a *AdaptTestStruct) SetDoubleWrappedBool(doubleWrappedBool AdaptedBool) *AdaptTestStruct
func (*AdaptTestStruct) SetDoubleWrappedInteger ¶
func (a *AdaptTestStruct) SetDoubleWrappedInteger(doubleWrappedInteger AdaptedInteger) *AdaptTestStruct
func (*AdaptTestStruct) SetIndirectionString ¶
func (a *AdaptTestStruct) SetIndirectionString(indirectionString IndirectionString) *AdaptTestStruct
func (*AdaptTestStruct) SetMeta ¶
func (a *AdaptTestStruct) SetMeta(meta string) *AdaptTestStruct
func (*AdaptTestStruct) SetStringData ¶
func (a *AdaptTestStruct) SetStringData(stringData string) *AdaptTestStruct
func (*AdaptTestStruct) SetTimeout ¶
func (a *AdaptTestStruct) SetTimeout(timeout int64) *AdaptTestStruct
func (*AdaptTestStruct) String ¶
func (p *AdaptTestStruct) String() string
type AdaptTestStructBuilder ¶
type AdaptTestStructBuilder struct {
// contains filtered or unexported fields
}
func NewAdaptTestStructBuilder ¶
func NewAdaptTestStructBuilder() *AdaptTestStructBuilder
func (*AdaptTestStructBuilder) BinaryData ¶
func (a *AdaptTestStructBuilder) BinaryData(binaryData []byte) *AdaptTestStructBuilder
func (*AdaptTestStructBuilder) Custom ¶
func (a *AdaptTestStructBuilder) Custom(custom CustomProtocolType) *AdaptTestStructBuilder
func (*AdaptTestStructBuilder) Data ¶
func (a *AdaptTestStructBuilder) Data(data int64) *AdaptTestStructBuilder
func (*AdaptTestStructBuilder) Delay ¶
func (a *AdaptTestStructBuilder) Delay(delay DurationMs) *AdaptTestStructBuilder
func (*AdaptTestStructBuilder) DoubleWrappedBool ¶
func (a *AdaptTestStructBuilder) DoubleWrappedBool(doubleWrappedBool AdaptedBool) *AdaptTestStructBuilder
func (*AdaptTestStructBuilder) DoubleWrappedInteger ¶
func (a *AdaptTestStructBuilder) DoubleWrappedInteger(doubleWrappedInteger AdaptedInteger) *AdaptTestStructBuilder
func (AdaptTestStructBuilder) Emit ¶
func (p AdaptTestStructBuilder) Emit() *AdaptTestStruct
func (*AdaptTestStructBuilder) IndirectionString ¶
func (a *AdaptTestStructBuilder) IndirectionString(indirectionString IndirectionString) *AdaptTestStructBuilder
func (*AdaptTestStructBuilder) Meta ¶
func (a *AdaptTestStructBuilder) Meta(meta string) *AdaptTestStructBuilder
func (*AdaptTestStructBuilder) StringData ¶
func (a *AdaptTestStructBuilder) StringData(stringData string) *AdaptTestStructBuilder
func (*AdaptTestStructBuilder) Timeout ¶
func (a *AdaptTestStructBuilder) Timeout(timeout int64) *AdaptTestStructBuilder
type AdaptTestUnion ¶
type AdaptTestUnion struct { Delay *DurationMs `thrift:"delay,1,optional" db:"delay" json:"delay,omitempty"` Custom CustomProtocolType `thrift:"custom,2,optional" db:"custom" json:"custom,omitempty"` }
Attributes:
- Delay
- Custom
func NewAdaptTestUnion ¶
func NewAdaptTestUnion() *AdaptTestUnion
func (*AdaptTestUnion) CountSetFieldsAdaptTestUnion ¶
func (p *AdaptTestUnion) CountSetFieldsAdaptTestUnion() int
func (*AdaptTestUnion) GetCustom ¶
func (p *AdaptTestUnion) GetCustom() CustomProtocolType
func (*AdaptTestUnion) GetDelay ¶
func (p *AdaptTestUnion) GetDelay() DurationMs
func (*AdaptTestUnion) IsSetCustom ¶
func (p *AdaptTestUnion) IsSetCustom() bool
func (*AdaptTestUnion) IsSetDelay ¶
func (p *AdaptTestUnion) IsSetDelay() bool
func (*AdaptTestUnion) ReadField1 ¶
func (p *AdaptTestUnion) ReadField1(iprot thrift.Protocol) error
func (*AdaptTestUnion) ReadField2 ¶
func (p *AdaptTestUnion) ReadField2(iprot thrift.Protocol) error
func (*AdaptTestUnion) SetCustom ¶
func (a *AdaptTestUnion) SetCustom(custom CustomProtocolType) *AdaptTestUnion
func (*AdaptTestUnion) SetDelay ¶
func (a *AdaptTestUnion) SetDelay(delay *DurationMs) *AdaptTestUnion
func (*AdaptTestUnion) String ¶
func (p *AdaptTestUnion) String() string
type AdaptTestUnionBuilder ¶
type AdaptTestUnionBuilder struct {
// contains filtered or unexported fields
}
func NewAdaptTestUnionBuilder ¶
func NewAdaptTestUnionBuilder() *AdaptTestUnionBuilder
func (*AdaptTestUnionBuilder) Custom ¶
func (a *AdaptTestUnionBuilder) Custom(custom CustomProtocolType) *AdaptTestUnionBuilder
func (*AdaptTestUnionBuilder) Delay ¶
func (a *AdaptTestUnionBuilder) Delay(delay *DurationMs) *AdaptTestUnionBuilder
func (AdaptTestUnionBuilder) Emit ¶
func (p AdaptTestUnionBuilder) Emit() *AdaptTestUnion
type AdaptedA ¶
type AdaptedA = A
func AdaptedAPtr ¶
func NewAdaptedA ¶
func NewAdaptedA() *AdaptedA
type AdaptedBool ¶
type AdaptedBool = bool
var TypeAdapted AdaptedBool
func AdaptedBoolPtr ¶
func AdaptedBoolPtr(v AdaptedBool) *AdaptedBool
type AdaptedByte ¶
type AdaptedByte = int8
func AdaptedBytePtr ¶
func AdaptedBytePtr(v AdaptedByte) *AdaptedByte
type AdaptedCircularAdaptee ¶
type AdaptedCircularAdaptee = CircularAdaptee
func AdaptedCircularAdapteePtr ¶
func AdaptedCircularAdapteePtr(v AdaptedCircularAdaptee) *AdaptedCircularAdaptee
func NewAdaptedCircularAdaptee ¶
func NewAdaptedCircularAdaptee() *AdaptedCircularAdaptee
type AdaptedDouble ¶
type AdaptedDouble = float64
func AdaptedDoublePtr ¶
func AdaptedDoublePtr(v AdaptedDouble) *AdaptedDouble
type AdaptedEnum ¶
type AdaptedEnum = ThriftAdaptedEnum
func AdaptedEnumPtr ¶
func AdaptedEnumPtr(v AdaptedEnum) *AdaptedEnum
type AdaptedInteger ¶
type AdaptedInteger = int32
func AdaptedIntegerPtr ¶
func AdaptedIntegerPtr(v AdaptedInteger) *AdaptedInteger
type AdaptedLong ¶
type AdaptedLong = int64
func AdaptedLongPtr ¶
func AdaptedLongPtr(v AdaptedLong) *AdaptedLong
type AdaptedShort ¶
type AdaptedShort = int16
func AdaptedShortPtr ¶
func AdaptedShortPtr(v AdaptedShort) *AdaptedShort
type AdaptedString ¶
type AdaptedString = string
func AdaptedStringPtr ¶
func AdaptedStringPtr(v AdaptedString) *AdaptedString
type AdaptedStruct ¶
type AdaptedStruct struct {
Data int64 `thrift:"data,1" db:"data" json:"data"`
}
Attributes:
- Data
var StructFieldAdaptedStruct_AdaptedStruct_DEFAULT *AdaptedStruct
func NewAdaptedStruct ¶
func NewAdaptedStruct() *AdaptedStruct
func (*AdaptedStruct) GetData ¶
func (p *AdaptedStruct) GetData() int64
func (*AdaptedStruct) ReadField1 ¶
func (p *AdaptedStruct) ReadField1(iprot thrift.Protocol) error
func (*AdaptedStruct) SetData ¶
func (a *AdaptedStruct) SetData(data int64) *AdaptedStruct
func (*AdaptedStruct) String ¶
func (p *AdaptedStruct) String() string
type AdaptedStructBuilder ¶
type AdaptedStructBuilder struct {
// contains filtered or unexported fields
}
func NewAdaptedStructBuilder ¶
func NewAdaptedStructBuilder() *AdaptedStructBuilder
func (*AdaptedStructBuilder) Data ¶
func (a *AdaptedStructBuilder) Data(data int64) *AdaptedStructBuilder
func (AdaptedStructBuilder) Emit ¶
func (p AdaptedStructBuilder) Emit() *AdaptedStruct
type AdaptedTypedef ¶
type AdaptedTypedef = AdaptedStruct
var StructFieldAdaptedStruct_AdaptedTypedef_DEFAULT *AdaptedTypedef
func AdaptedTypedefPtr ¶
func AdaptedTypedefPtr(v AdaptedTypedef) *AdaptedTypedef
func NewAdaptedTypedef ¶
func NewAdaptedTypedef() *AdaptedTypedef
type AdapterService ¶
type AdapterService interface { Count() (_r *CountingStruct, err error) // Parameters: // - Arg AdaptedTypes(arg *HeapAllocated) (_r *HeapAllocated, err error) }
type AdapterServiceAdaptedTypesArgs ¶
type AdapterServiceAdaptedTypesArgs struct { thrift.IRequest Arg *HeapAllocated `thrift:"arg,1" db:"arg" json:"arg"` }
Attributes:
- Arg
func NewAdapterServiceAdaptedTypesArgs ¶
func NewAdapterServiceAdaptedTypesArgs() *AdapterServiceAdaptedTypesArgs
func (*AdapterServiceAdaptedTypesArgs) DefaultGetArg ¶
func (p *AdapterServiceAdaptedTypesArgs) DefaultGetArg() *HeapAllocated
func (*AdapterServiceAdaptedTypesArgs) GetArg ¶
func (p *AdapterServiceAdaptedTypesArgs) GetArg() *HeapAllocated
func (*AdapterServiceAdaptedTypesArgs) IsSetArg ¶
func (p *AdapterServiceAdaptedTypesArgs) IsSetArg() bool
func (*AdapterServiceAdaptedTypesArgs) Read ¶
func (p *AdapterServiceAdaptedTypesArgs) Read(iprot thrift.Protocol) error
func (*AdapterServiceAdaptedTypesArgs) ReadField1 ¶
func (p *AdapterServiceAdaptedTypesArgs) ReadField1(iprot thrift.Protocol) error
func (*AdapterServiceAdaptedTypesArgs) SetArg ¶
func (a *AdapterServiceAdaptedTypesArgs) SetArg(arg *HeapAllocated) *AdapterServiceAdaptedTypesArgs
func (*AdapterServiceAdaptedTypesArgs) String ¶
func (p *AdapterServiceAdaptedTypesArgs) String() string
type AdapterServiceAdaptedTypesArgsBuilder ¶
type AdapterServiceAdaptedTypesArgsBuilder struct {
// contains filtered or unexported fields
}
func NewAdapterServiceAdaptedTypesArgsBuilder ¶
func NewAdapterServiceAdaptedTypesArgsBuilder() *AdapterServiceAdaptedTypesArgsBuilder
func (*AdapterServiceAdaptedTypesArgsBuilder) Arg ¶
func (a *AdapterServiceAdaptedTypesArgsBuilder) Arg(arg *HeapAllocated) *AdapterServiceAdaptedTypesArgsBuilder
func (AdapterServiceAdaptedTypesArgsBuilder) Emit ¶
func (p AdapterServiceAdaptedTypesArgsBuilder) Emit() *AdapterServiceAdaptedTypesArgs
type AdapterServiceAdaptedTypesResult ¶
type AdapterServiceAdaptedTypesResult struct { thrift.IResponse Success *HeapAllocated `thrift:"success,0,optional" db:"success" json:"success,omitempty"` }
Attributes:
- Success
func NewAdapterServiceAdaptedTypesResult ¶
func NewAdapterServiceAdaptedTypesResult() *AdapterServiceAdaptedTypesResult
func (*AdapterServiceAdaptedTypesResult) DefaultGetSuccess ¶
func (p *AdapterServiceAdaptedTypesResult) DefaultGetSuccess() *HeapAllocated
func (*AdapterServiceAdaptedTypesResult) Exception ¶
func (p *AdapterServiceAdaptedTypesResult) Exception() thrift.WritableException
func (*AdapterServiceAdaptedTypesResult) GetSuccess ¶
func (p *AdapterServiceAdaptedTypesResult) GetSuccess() *HeapAllocated
func (*AdapterServiceAdaptedTypesResult) IsSetSuccess ¶
func (p *AdapterServiceAdaptedTypesResult) IsSetSuccess() bool
func (*AdapterServiceAdaptedTypesResult) Read ¶
func (p *AdapterServiceAdaptedTypesResult) Read(iprot thrift.Protocol) error
func (*AdapterServiceAdaptedTypesResult) ReadField0 ¶
func (p *AdapterServiceAdaptedTypesResult) ReadField0(iprot thrift.Protocol) error
func (*AdapterServiceAdaptedTypesResult) SetSuccess ¶
func (a *AdapterServiceAdaptedTypesResult) SetSuccess(success *HeapAllocated) *AdapterServiceAdaptedTypesResult
func (*AdapterServiceAdaptedTypesResult) String ¶
func (p *AdapterServiceAdaptedTypesResult) String() string
type AdapterServiceAdaptedTypesResultBuilder ¶
type AdapterServiceAdaptedTypesResultBuilder struct {
// contains filtered or unexported fields
}
func NewAdapterServiceAdaptedTypesResultBuilder ¶
func NewAdapterServiceAdaptedTypesResultBuilder() *AdapterServiceAdaptedTypesResultBuilder
func (AdapterServiceAdaptedTypesResultBuilder) Emit ¶
func (p AdapterServiceAdaptedTypesResultBuilder) Emit() *AdapterServiceAdaptedTypesResult
func (*AdapterServiceAdaptedTypesResultBuilder) Success ¶
func (a *AdapterServiceAdaptedTypesResultBuilder) Success(success *HeapAllocated) *AdapterServiceAdaptedTypesResultBuilder
type AdapterServiceChannelClient ¶
type AdapterServiceChannelClient struct {
RequestChannel thrift.RequestChannel
}
func NewAdapterServiceChannelClient ¶
func NewAdapterServiceChannelClient(channel thrift.RequestChannel) *AdapterServiceChannelClient
func (*AdapterServiceChannelClient) AdaptedTypes ¶
func (p *AdapterServiceChannelClient) AdaptedTypes(ctx context.Context, arg *HeapAllocated) (_r *HeapAllocated, err error)
Parameters:
- Arg
func (*AdapterServiceChannelClient) Close ¶
func (c *AdapterServiceChannelClient) Close() error
func (*AdapterServiceChannelClient) Count ¶
func (p *AdapterServiceChannelClient) Count(ctx context.Context) (_r *CountingStruct, err error)
func (*AdapterServiceChannelClient) IsOpen ¶
func (c *AdapterServiceChannelClient) IsOpen() bool
func (*AdapterServiceChannelClient) Open ¶
func (c *AdapterServiceChannelClient) Open() error
type AdapterServiceClient ¶
type AdapterServiceClient struct { AdapterServiceClientInterface CC thrift.ClientConn }
func NewAdapterServiceClient ¶
func NewAdapterServiceClientFactory ¶
func NewAdapterServiceClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *AdapterServiceClient
func NewAdapterServiceClientProtocol ¶
func NewAdapterServiceClientProtocol(prot thrift.Protocol) *AdapterServiceClient
func (*AdapterServiceClient) AdaptedTypes ¶
func (p *AdapterServiceClient) AdaptedTypes(arg *HeapAllocated) (_r *HeapAllocated, err error)
Parameters:
- Arg
func (*AdapterServiceClient) Close ¶
func (client *AdapterServiceClient) Close() error
func (*AdapterServiceClient) Count ¶
func (p *AdapterServiceClient) Count() (_r *CountingStruct, err error)
func (*AdapterServiceClient) IsOpen ¶
func (client *AdapterServiceClient) IsOpen() bool
func (*AdapterServiceClient) Open ¶
func (client *AdapterServiceClient) Open() error
type AdapterServiceClientInterface ¶
type AdapterServiceClientInterface interface { thrift.ClientInterface Count() (_r *CountingStruct, err error) // Parameters: // - Arg AdaptedTypes(arg *HeapAllocated) (_r *HeapAllocated, err error) }
type AdapterServiceCountArgs ¶
func NewAdapterServiceCountArgs ¶
func NewAdapterServiceCountArgs() *AdapterServiceCountArgs
func (*AdapterServiceCountArgs) Read ¶
func (p *AdapterServiceCountArgs) Read(iprot thrift.Protocol) error
func (*AdapterServiceCountArgs) String ¶
func (p *AdapterServiceCountArgs) String() string
type AdapterServiceCountArgsBuilder ¶
type AdapterServiceCountArgsBuilder struct {
// contains filtered or unexported fields
}
func NewAdapterServiceCountArgsBuilder ¶
func NewAdapterServiceCountArgsBuilder() *AdapterServiceCountArgsBuilder
func (AdapterServiceCountArgsBuilder) Emit ¶
func (p AdapterServiceCountArgsBuilder) Emit() *AdapterServiceCountArgs
type AdapterServiceCountResult ¶
type AdapterServiceCountResult struct { thrift.IResponse Success *CountingStruct `thrift:"success,0,optional" db:"success" json:"success,omitempty"` }
Attributes:
- Success
func NewAdapterServiceCountResult ¶
func NewAdapterServiceCountResult() *AdapterServiceCountResult
func (*AdapterServiceCountResult) DefaultGetSuccess ¶
func (p *AdapterServiceCountResult) DefaultGetSuccess() *CountingStruct
func (*AdapterServiceCountResult) Exception ¶
func (p *AdapterServiceCountResult) Exception() thrift.WritableException
func (*AdapterServiceCountResult) GetSuccess ¶
func (p *AdapterServiceCountResult) GetSuccess() *CountingStruct
func (*AdapterServiceCountResult) IsSetSuccess ¶
func (p *AdapterServiceCountResult) IsSetSuccess() bool
func (*AdapterServiceCountResult) Read ¶
func (p *AdapterServiceCountResult) Read(iprot thrift.Protocol) error
func (*AdapterServiceCountResult) ReadField0 ¶
func (p *AdapterServiceCountResult) ReadField0(iprot thrift.Protocol) error
func (*AdapterServiceCountResult) SetSuccess ¶
func (a *AdapterServiceCountResult) SetSuccess(success *CountingStruct) *AdapterServiceCountResult
func (*AdapterServiceCountResult) String ¶
func (p *AdapterServiceCountResult) String() string
type AdapterServiceCountResultBuilder ¶
type AdapterServiceCountResultBuilder struct {
// contains filtered or unexported fields
}
func NewAdapterServiceCountResultBuilder ¶
func NewAdapterServiceCountResultBuilder() *AdapterServiceCountResultBuilder
func (AdapterServiceCountResultBuilder) Emit ¶
func (p AdapterServiceCountResultBuilder) Emit() *AdapterServiceCountResult
func (*AdapterServiceCountResultBuilder) Success ¶
func (a *AdapterServiceCountResultBuilder) Success(success *CountingStruct) *AdapterServiceCountResultBuilder
type AdapterServiceProcessor ¶
type AdapterServiceProcessor struct {
// contains filtered or unexported fields
}
func NewAdapterServiceProcessor ¶
func NewAdapterServiceProcessor(handler AdapterService) *AdapterServiceProcessor
func (*AdapterServiceProcessor) AddToFunctionServiceMap ¶
func (p *AdapterServiceProcessor) AddToFunctionServiceMap(key, service string)
func (*AdapterServiceProcessor) AddToProcessorMap ¶
func (p *AdapterServiceProcessor) AddToProcessorMap(key string, processor thrift.ProcessorFunction)
func (*AdapterServiceProcessor) FunctionServiceMap ¶
func (p *AdapterServiceProcessor) FunctionServiceMap() map[string]string
func (*AdapterServiceProcessor) GetProcessorFunction ¶
func (p *AdapterServiceProcessor) GetProcessorFunction(key string) (processor thrift.ProcessorFunction, err error)
func (*AdapterServiceProcessor) ProcessorMap ¶
func (p *AdapterServiceProcessor) ProcessorMap() map[string]thrift.ProcessorFunction
type AdapterServiceThreadsafeClient ¶
type AdapterServiceThreadsafeClient struct { AdapterServiceClientInterface CC thrift.ClientConn Mu sync.Mutex }
func NewAdapterServiceThreadsafeClientFactory ¶
func NewAdapterServiceThreadsafeClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *AdapterServiceThreadsafeClient
func NewAdapterServiceThreadsafeClientProtocol ¶
func NewAdapterServiceThreadsafeClientProtocol(prot thrift.Protocol) *AdapterServiceThreadsafeClient
func (*AdapterServiceThreadsafeClient) AdaptedTypes ¶
func (p *AdapterServiceThreadsafeClient) AdaptedTypes(arg *HeapAllocated) (_r *HeapAllocated, err error)
Parameters:
- Arg
func (*AdapterServiceThreadsafeClient) Close ¶
func (client *AdapterServiceThreadsafeClient) Close() error
func (*AdapterServiceThreadsafeClient) Count ¶
func (p *AdapterServiceThreadsafeClient) Count() (_r *CountingStruct, err error)
func (*AdapterServiceThreadsafeClient) IsOpen ¶
func (client *AdapterServiceThreadsafeClient) IsOpen() bool
func (*AdapterServiceThreadsafeClient) Open ¶
func (client *AdapterServiceThreadsafeClient) Open() error
type AlsoMoveOnly ¶
type AlsoMoveOnly struct {
Ptr int64 `thrift:"ptr,1" db:"ptr" json:"ptr"`
}
Attributes:
- Ptr
func NewAlsoMoveOnly ¶
func NewAlsoMoveOnly() *AlsoMoveOnly
func (*AlsoMoveOnly) GetPtr ¶
func (p *AlsoMoveOnly) GetPtr() int64
func (*AlsoMoveOnly) ReadField1 ¶
func (p *AlsoMoveOnly) ReadField1(iprot thrift.Protocol) error
func (*AlsoMoveOnly) SetPtr ¶
func (a *AlsoMoveOnly) SetPtr(ptr int64) *AlsoMoveOnly
func (*AlsoMoveOnly) String ¶
func (p *AlsoMoveOnly) String() string
type AlsoMoveOnlyBuilder ¶
type AlsoMoveOnlyBuilder struct {
// contains filtered or unexported fields
}
func NewAlsoMoveOnlyBuilder ¶
func NewAlsoMoveOnlyBuilder() *AlsoMoveOnlyBuilder
func (AlsoMoveOnlyBuilder) Emit ¶
func (p AlsoMoveOnlyBuilder) Emit() *AlsoMoveOnly
func (*AlsoMoveOnlyBuilder) Ptr ¶
func (a *AlsoMoveOnlyBuilder) Ptr(ptr int64) *AlsoMoveOnlyBuilder
type ApplyAdapter ¶
type ApplyAdapter struct { }
func NewApplyAdapter ¶
func NewApplyAdapter() *ApplyAdapter
func (*ApplyAdapter) String ¶
func (p *ApplyAdapter) String() string
type ApplyAdapterBuilder ¶
type ApplyAdapterBuilder struct {
// contains filtered or unexported fields
}
func NewApplyAdapterBuilder ¶
func NewApplyAdapterBuilder() *ApplyAdapterBuilder
func (ApplyAdapterBuilder) Emit ¶
func (p ApplyAdapterBuilder) Emit() *ApplyAdapter
type BBuilder ¶
type BBuilder struct {
// contains filtered or unexported fields
}
func NewBBuilder ¶
func NewBBuilder() *BBuilder
type Bar ¶
type Bar struct { StructField *Foo `thrift:"structField,1" db:"structField" json:"structField"` OptionalStructField *Foo `thrift:"optionalStructField,2,optional" db:"optionalStructField" json:"optionalStructField,omitempty"` StructListField []*FooWithAdapter `thrift:"structListField,3" db:"structListField" json:"structListField"` OptionalStructListField []*FooWithAdapter `thrift:"optionalStructListField,4,optional" db:"optionalStructListField" json:"optionalStructListField,omitempty"` UnionField *Baz `thrift:"unionField,5" db:"unionField" json:"unionField"` OptionalUnionField *Baz `thrift:"optionalUnionField,6,optional" db:"optionalUnionField" json:"optionalUnionField,omitempty"` AdaptedStructField *DirectlyAdapted `thrift:"adaptedStructField,7" db:"adaptedStructField" json:"adaptedStructField"` }
Attributes:
- StructField
- OptionalStructField
- StructListField
- OptionalStructListField
- UnionField
- OptionalUnionField
- AdaptedStructField
func (*Bar) GetAdaptedStructField ¶
func (p *Bar) GetAdaptedStructField() *DirectlyAdapted
func (*Bar) GetOptionalStructField ¶
func (*Bar) GetOptionalStructListField ¶
func (p *Bar) GetOptionalStructListField() []*FooWithAdapter
func (*Bar) GetOptionalUnionField ¶
func (*Bar) GetStructField ¶
func (*Bar) GetStructListField ¶
func (p *Bar) GetStructListField() []*FooWithAdapter
func (*Bar) GetUnionField ¶
func (*Bar) IsSetAdaptedStructField ¶
func (*Bar) IsSetOptionalStructField ¶
func (*Bar) IsSetOptionalStructListField ¶
func (*Bar) IsSetOptionalUnionField ¶
func (*Bar) IsSetStructField ¶
func (*Bar) IsSetUnionField ¶
func (*Bar) SetAdaptedStructField ¶
func (b *Bar) SetAdaptedStructField(adaptedStructField *DirectlyAdapted) *Bar
func (*Bar) SetOptionalStructField ¶
func (*Bar) SetOptionalStructListField ¶
func (b *Bar) SetOptionalStructListField(optionalStructListField []*FooWithAdapter) *Bar
func (*Bar) SetOptionalUnionField ¶
func (*Bar) SetStructField ¶
func (*Bar) SetStructListField ¶
func (b *Bar) SetStructListField(structListField []*FooWithAdapter) *Bar
func (*Bar) SetUnionField ¶
type BarBuilder ¶
type BarBuilder struct {
// contains filtered or unexported fields
}
func NewBarBuilder ¶
func NewBarBuilder() *BarBuilder
func (*BarBuilder) AdaptedStructField ¶
func (b *BarBuilder) AdaptedStructField(adaptedStructField *DirectlyAdapted) *BarBuilder
func (BarBuilder) Emit ¶
func (p BarBuilder) Emit() *Bar
func (*BarBuilder) OptionalStructField ¶
func (b *BarBuilder) OptionalStructField(optionalStructField *Foo) *BarBuilder
func (*BarBuilder) OptionalStructListField ¶
func (b *BarBuilder) OptionalStructListField(optionalStructListField []*FooWithAdapter) *BarBuilder
func (*BarBuilder) OptionalUnionField ¶
func (b *BarBuilder) OptionalUnionField(optionalUnionField *Baz) *BarBuilder
func (*BarBuilder) StructField ¶
func (b *BarBuilder) StructField(structField *Foo) *BarBuilder
func (*BarBuilder) StructListField ¶
func (b *BarBuilder) StructListField(structListField []*FooWithAdapter) *BarBuilder
func (*BarBuilder) UnionField ¶
func (b *BarBuilder) UnionField(unionField *Baz) *BarBuilder
type Baz ¶
type Baz struct { IntField *int32 `thrift:"intField,1,optional" db:"intField" json:"intField,omitempty"` // unused fields # 2 to 3 SetField SetWithAdapter `thrift:"setField,4,optional" db:"setField" json:"setField,omitempty"` // unused field # 5 MapField map[string]ListWithElemAdapterWithAdapter `thrift:"mapField,6,optional" db:"mapField" json:"mapField,omitempty"` // unused field # 7 BinaryField []byte `thrift:"binaryField,8,optional" db:"binaryField" json:"binaryField,omitempty"` LongField *MyI64 `thrift:"longField,9,optional" db:"longField" json:"longField,omitempty"` }
Attributes:
- IntField
- SetField
- MapField
- BinaryField
- LongField
var Bar_OptionalUnionField_DEFAULT *Baz
var Bar_UnionField_DEFAULT *Baz
func (*Baz) CountSetFieldsBaz ¶
func (*Baz) GetBinaryField ¶
func (*Baz) GetIntField ¶
func (*Baz) GetLongField ¶
func (*Baz) GetMapField ¶
func (p *Baz) GetMapField() map[string]ListWithElemAdapterWithAdapter
func (*Baz) GetSetField ¶
func (p *Baz) GetSetField() SetWithAdapter
func (*Baz) IsSetBinaryField ¶
func (*Baz) IsSetIntField ¶
func (*Baz) IsSetLongField ¶
func (*Baz) IsSetMapField ¶
func (*Baz) IsSetSetField ¶
func (*Baz) SetBinaryField ¶
func (*Baz) SetIntField ¶
func (*Baz) SetLongField ¶
func (*Baz) SetMapField ¶
func (b *Baz) SetMapField(mapField map[string]ListWithElemAdapterWithAdapter) *Baz
func (*Baz) SetSetField ¶
func (b *Baz) SetSetField(setField SetWithAdapter) *Baz
type BazBuilder ¶
type BazBuilder struct {
// contains filtered or unexported fields
}
func NewBazBuilder ¶
func NewBazBuilder() *BazBuilder
func (*BazBuilder) BinaryField ¶
func (b *BazBuilder) BinaryField(binaryField []byte) *BazBuilder
func (BazBuilder) Emit ¶
func (p BazBuilder) Emit() *Baz
func (*BazBuilder) IntField ¶
func (b *BazBuilder) IntField(intField *int32) *BazBuilder
func (*BazBuilder) LongField ¶
func (b *BazBuilder) LongField(longField *MyI64) *BazBuilder
func (*BazBuilder) MapField ¶
func (b *BazBuilder) MapField(mapField map[string]ListWithElemAdapterWithAdapter) *BazBuilder
func (*BazBuilder) SetField ¶
func (b *BazBuilder) SetField(setField SetWithAdapter) *BazBuilder
type CircularAdaptee ¶
type CircularAdaptee struct {
Field *CircularStruct `thrift:"field,1" db:"field" json:"field"`
}
Attributes:
- Field
var CircularStruct_Field_DEFAULT *CircularAdaptee
func NewCircularAdaptee ¶
func NewCircularAdaptee() *CircularAdaptee
func (*CircularAdaptee) GetField ¶
func (p *CircularAdaptee) GetField() *CircularStruct
func (*CircularAdaptee) IsSetField ¶
func (p *CircularAdaptee) IsSetField() bool
func (*CircularAdaptee) ReadField1 ¶
func (p *CircularAdaptee) ReadField1(iprot thrift.Protocol) error
func (*CircularAdaptee) SetField ¶
func (c *CircularAdaptee) SetField(field *CircularStruct) *CircularAdaptee
func (*CircularAdaptee) String ¶
func (p *CircularAdaptee) String() string
type CircularAdapteeBuilder ¶
type CircularAdapteeBuilder struct {
// contains filtered or unexported fields
}
func NewCircularAdapteeBuilder ¶
func NewCircularAdapteeBuilder() *CircularAdapteeBuilder
func (CircularAdapteeBuilder) Emit ¶
func (p CircularAdapteeBuilder) Emit() *CircularAdaptee
func (*CircularAdapteeBuilder) Field ¶
func (c *CircularAdapteeBuilder) Field(field *CircularStruct) *CircularAdapteeBuilder
type CircularStruct ¶
type CircularStruct struct {
Field *CircularAdaptee `thrift:"field,1,optional" db:"field" json:"field,omitempty"`
}
Attributes:
- Field
var CircularAdaptee_Field_DEFAULT *CircularStruct
func NewCircularStruct ¶
func NewCircularStruct() *CircularStruct
func (*CircularStruct) GetField ¶
func (p *CircularStruct) GetField() *CircularAdaptee
func (*CircularStruct) IsSetField ¶
func (p *CircularStruct) IsSetField() bool
func (*CircularStruct) ReadField1 ¶
func (p *CircularStruct) ReadField1(iprot thrift.Protocol) error
func (*CircularStruct) SetField ¶
func (c *CircularStruct) SetField(field *CircularAdaptee) *CircularStruct
func (*CircularStruct) String ¶
func (p *CircularStruct) String() string
type CircularStructBuilder ¶
type CircularStructBuilder struct {
// contains filtered or unexported fields
}
func NewCircularStructBuilder ¶
func NewCircularStructBuilder() *CircularStructBuilder
func (CircularStructBuilder) Emit ¶
func (p CircularStructBuilder) Emit() *CircularStruct
func (*CircularStructBuilder) Field ¶
func (c *CircularStructBuilder) Field(field *CircularAdaptee) *CircularStructBuilder
type Config ¶
type Config struct {
Path string `thrift:"path,1" db:"path" json:"path"`
}
Attributes:
- Path
type ConfigBuilder ¶
type ConfigBuilder struct {
// contains filtered or unexported fields
}
func NewConfigBuilder ¶
func NewConfigBuilder() *ConfigBuilder
func (ConfigBuilder) Emit ¶
func (p ConfigBuilder) Emit() *Config
func (*ConfigBuilder) Path ¶
func (c *ConfigBuilder) Path(path string) *ConfigBuilder
type CountingInt ¶
type CountingInt = int64
var CountingStruct_CountingInt_DEFAULT CountingInt
func CountingIntPtr ¶
func CountingIntPtr(v CountingInt) *CountingInt
type CountingStruct ¶
type CountingStruct struct { RegularInt *int64 `thrift:"regularInt,1,optional" db:"regularInt" json:"regularInt,omitempty"` CountingInt *CountingInt `thrift:"countingInt,2,optional" db:"countingInt" json:"countingInt,omitempty"` RegularString *string `thrift:"regularString,3,optional" db:"regularString" json:"regularString,omitempty"` }
Attributes:
- RegularInt
- CountingInt
- RegularString
var AdapterServiceCountResult_Success_DEFAULT *CountingStruct
func NewCountingStruct ¶
func NewCountingStruct() *CountingStruct
func (*CountingStruct) GetCountingInt ¶
func (p *CountingStruct) GetCountingInt() CountingInt
func (*CountingStruct) GetRegularInt ¶
func (p *CountingStruct) GetRegularInt() int64
func (*CountingStruct) GetRegularString ¶
func (p *CountingStruct) GetRegularString() string
func (*CountingStruct) IsSetCountingInt ¶
func (p *CountingStruct) IsSetCountingInt() bool
func (*CountingStruct) IsSetRegularInt ¶
func (p *CountingStruct) IsSetRegularInt() bool
func (*CountingStruct) IsSetRegularString ¶
func (p *CountingStruct) IsSetRegularString() bool
func (*CountingStruct) ReadField1 ¶
func (p *CountingStruct) ReadField1(iprot thrift.Protocol) error
func (*CountingStruct) ReadField2 ¶
func (p *CountingStruct) ReadField2(iprot thrift.Protocol) error
func (*CountingStruct) ReadField3 ¶
func (p *CountingStruct) ReadField3(iprot thrift.Protocol) error
func (*CountingStruct) SetCountingInt ¶
func (c *CountingStruct) SetCountingInt(countingInt *CountingInt) *CountingStruct
func (*CountingStruct) SetRegularInt ¶
func (c *CountingStruct) SetRegularInt(regularInt *int64) *CountingStruct
func (*CountingStruct) SetRegularString ¶
func (c *CountingStruct) SetRegularString(regularString *string) *CountingStruct
func (*CountingStruct) String ¶
func (p *CountingStruct) String() string
type CountingStructBuilder ¶
type CountingStructBuilder struct {
// contains filtered or unexported fields
}
func NewCountingStructBuilder ¶
func NewCountingStructBuilder() *CountingStructBuilder
func (*CountingStructBuilder) CountingInt ¶
func (c *CountingStructBuilder) CountingInt(countingInt *CountingInt) *CountingStructBuilder
func (CountingStructBuilder) Emit ¶
func (p CountingStructBuilder) Emit() *CountingStruct
func (*CountingStructBuilder) RegularInt ¶
func (c *CountingStructBuilder) RegularInt(regularInt *int64) *CountingStructBuilder
func (*CountingStructBuilder) RegularString ¶
func (c *CountingStructBuilder) RegularString(regularString *string) *CountingStructBuilder
type CustomProtocolType ¶
type CustomProtocolType = []byte
var AdaptTestUnion_Custom_DEFAULT CustomProtocolType
func CustomProtocolTypePtr ¶
func CustomProtocolTypePtr(v CustomProtocolType) *CustomProtocolType
type DeclaredAfterStruct ¶
type DeclaredAfterStruct struct { }
var ReorderedStruct_ReorderedDependentAdapted_DEFAULT *DeclaredAfterStruct
func NewDeclaredAfterStruct ¶
func NewDeclaredAfterStruct() *DeclaredAfterStruct
func (*DeclaredAfterStruct) String ¶
func (p *DeclaredAfterStruct) String() string
type DeclaredAfterStructBuilder ¶
type DeclaredAfterStructBuilder struct {
// contains filtered or unexported fields
}
func NewDeclaredAfterStructBuilder ¶
func NewDeclaredAfterStructBuilder() *DeclaredAfterStructBuilder
func (DeclaredAfterStructBuilder) Emit ¶
func (p DeclaredAfterStructBuilder) Emit() *DeclaredAfterStruct
type DirectlyAdapted ¶
type DirectlyAdapted struct {
Field int32 `thrift:"field,1" db:"field" json:"field"`
}
Attributes:
- Field
var Bar_AdaptedStructField_DEFAULT *DirectlyAdapted
func NewDirectlyAdapted ¶
func NewDirectlyAdapted() *DirectlyAdapted
func (*DirectlyAdapted) GetField ¶
func (p *DirectlyAdapted) GetField() int32
func (*DirectlyAdapted) ReadField1 ¶
func (p *DirectlyAdapted) ReadField1(iprot thrift.Protocol) error
func (*DirectlyAdapted) SetField ¶
func (d *DirectlyAdapted) SetField(field int32) *DirectlyAdapted
func (*DirectlyAdapted) String ¶
func (p *DirectlyAdapted) String() string
type DirectlyAdaptedBuilder ¶
type DirectlyAdaptedBuilder struct {
// contains filtered or unexported fields
}
func NewDirectlyAdaptedBuilder ¶
func NewDirectlyAdaptedBuilder() *DirectlyAdaptedBuilder
func (DirectlyAdaptedBuilder) Emit ¶
func (p DirectlyAdaptedBuilder) Emit() *DirectlyAdapted
func (*DirectlyAdaptedBuilder) Field ¶
func (d *DirectlyAdaptedBuilder) Field(field int32) *DirectlyAdaptedBuilder
type DirectlyAdaptedStruct ¶
type DirectlyAdaptedStruct struct {
Data int64 `thrift:"data,1" db:"data" json:"data"`
}
Attributes:
- Data
var StructFieldAdaptedStruct_DirectlyAdapted_DEFAULT *DirectlyAdaptedStruct
func NewDirectlyAdaptedStruct ¶
func NewDirectlyAdaptedStruct() *DirectlyAdaptedStruct
func (*DirectlyAdaptedStruct) GetData ¶
func (p *DirectlyAdaptedStruct) GetData() int64
func (*DirectlyAdaptedStruct) Read ¶
func (p *DirectlyAdaptedStruct) Read(iprot thrift.Protocol) error
func (*DirectlyAdaptedStruct) ReadField1 ¶
func (p *DirectlyAdaptedStruct) ReadField1(iprot thrift.Protocol) error
func (*DirectlyAdaptedStruct) SetData ¶
func (d *DirectlyAdaptedStruct) SetData(data int64) *DirectlyAdaptedStruct
func (*DirectlyAdaptedStruct) String ¶
func (p *DirectlyAdaptedStruct) String() string
type DirectlyAdaptedStructBuilder ¶
type DirectlyAdaptedStructBuilder struct {
// contains filtered or unexported fields
}
func NewDirectlyAdaptedStructBuilder ¶
func NewDirectlyAdaptedStructBuilder() *DirectlyAdaptedStructBuilder
func (*DirectlyAdaptedStructBuilder) Data ¶
func (d *DirectlyAdaptedStructBuilder) Data(data int64) *DirectlyAdaptedStructBuilder
func (DirectlyAdaptedStructBuilder) Emit ¶
func (p DirectlyAdaptedStructBuilder) Emit() *DirectlyAdaptedStruct
type DoubleTypedefBool ¶
type DoubleTypedefBool = AdaptedBool
func DoubleTypedefBoolPtr ¶
func DoubleTypedefBoolPtr(v DoubleTypedefBool) *DoubleTypedefBool
type DoubleTypedefI64 ¶
type DoubleTypedefI64 = MyI64
func DoubleTypedefI64Ptr ¶
func DoubleTypedefI64Ptr(v DoubleTypedefI64) *DoubleTypedefI64
type DurationMs ¶
type DurationMs = int64
var AdaptTestUnion_Delay_DEFAULT DurationMs
func DurationMsPtr ¶
func DurationMsPtr(v DurationMs) *DurationMs
type Foo ¶
type Foo struct { IntField int32 `thrift:"intField,1" db:"intField" json:"intField"` OptionalIntField *int32 `thrift:"optionalIntField,2,optional" db:"optionalIntField" json:"optionalIntField,omitempty"` IntFieldWithDefault int32 `thrift:"intFieldWithDefault,3" db:"intFieldWithDefault" json:"intFieldWithDefault"` SetField SetWithAdapter `thrift:"setField,4" db:"setField" json:"setField"` OptionalSetField SetWithAdapter `thrift:"optionalSetField,5,optional" db:"optionalSetField" json:"optionalSetField,omitempty"` MapField map[string]ListWithElemAdapterWithAdapter `thrift:"mapField,6" db:"mapField" json:"mapField"` OptionalMapField map[string]ListWithElemAdapterWithAdapter `thrift:"optionalMapField,7,optional" db:"optionalMapField" json:"optionalMapField,omitempty"` BinaryField []byte `thrift:"binaryField,8" db:"binaryField" json:"binaryField"` LongField MyI64 `thrift:"longField,9" db:"longField" json:"longField"` AdaptedLongField MyI64 `thrift:"adaptedLongField,10" db:"adaptedLongField" json:"adaptedLongField"` DoubleAdaptedField DoubleTypedefI64 `thrift:"doubleAdaptedField,11" db:"doubleAdaptedField" json:"doubleAdaptedField"` }
Attributes:
- IntField
- OptionalIntField
- IntFieldWithDefault
- SetField
- OptionalSetField
- MapField
- OptionalMapField
- BinaryField
- LongField
- AdaptedLongField
- DoubleAdaptedField
var Bar_OptionalStructField_DEFAULT *Foo
var Bar_StructField_DEFAULT *Foo
var ServiceFuncArgs_Arg3_DEFAULT *Foo
func (*Foo) GetAdaptedLongField ¶
func (*Foo) GetBinaryField ¶
func (*Foo) GetDoubleAdaptedField ¶
func (p *Foo) GetDoubleAdaptedField() DoubleTypedefI64
func (*Foo) GetIntField ¶
func (*Foo) GetIntFieldWithDefault ¶
func (*Foo) GetLongField ¶
func (*Foo) GetMapField ¶
func (p *Foo) GetMapField() map[string]ListWithElemAdapterWithAdapter
func (*Foo) GetOptionalIntField ¶
func (*Foo) GetOptionalMapField ¶
func (p *Foo) GetOptionalMapField() map[string]ListWithElemAdapterWithAdapter
func (*Foo) GetOptionalSetField ¶
func (p *Foo) GetOptionalSetField() SetWithAdapter
func (*Foo) GetSetField ¶
func (p *Foo) GetSetField() SetWithAdapter
func (*Foo) IsSetOptionalIntField ¶
func (*Foo) IsSetOptionalMapField ¶
func (*Foo) IsSetOptionalSetField ¶
func (*Foo) SetAdaptedLongField ¶
func (*Foo) SetBinaryField ¶
func (*Foo) SetDoubleAdaptedField ¶
func (f *Foo) SetDoubleAdaptedField(doubleAdaptedField DoubleTypedefI64) *Foo
func (*Foo) SetIntField ¶
func (*Foo) SetIntFieldWithDefault ¶
func (*Foo) SetLongField ¶
func (*Foo) SetMapField ¶
func (f *Foo) SetMapField(mapField map[string]ListWithElemAdapterWithAdapter) *Foo
func (*Foo) SetOptionalIntField ¶
func (*Foo) SetOptionalMapField ¶
func (f *Foo) SetOptionalMapField(optionalMapField map[string]ListWithElemAdapterWithAdapter) *Foo
func (*Foo) SetOptionalSetField ¶
func (f *Foo) SetOptionalSetField(optionalSetField SetWithAdapter) *Foo
func (*Foo) SetSetField ¶
func (f *Foo) SetSetField(setField SetWithAdapter) *Foo
type FooBuilder ¶
type FooBuilder struct {
// contains filtered or unexported fields
}
func NewFooBuilder ¶
func NewFooBuilder() *FooBuilder
func (*FooBuilder) AdaptedLongField ¶
func (f *FooBuilder) AdaptedLongField(adaptedLongField MyI64) *FooBuilder
func (*FooBuilder) BinaryField ¶
func (f *FooBuilder) BinaryField(binaryField []byte) *FooBuilder
func (*FooBuilder) DoubleAdaptedField ¶
func (f *FooBuilder) DoubleAdaptedField(doubleAdaptedField DoubleTypedefI64) *FooBuilder
func (FooBuilder) Emit ¶
func (p FooBuilder) Emit() *Foo
func (*FooBuilder) IntField ¶
func (f *FooBuilder) IntField(intField int32) *FooBuilder
func (*FooBuilder) IntFieldWithDefault ¶
func (f *FooBuilder) IntFieldWithDefault(intFieldWithDefault int32) *FooBuilder
func (*FooBuilder) LongField ¶
func (f *FooBuilder) LongField(longField MyI64) *FooBuilder
func (*FooBuilder) MapField ¶
func (f *FooBuilder) MapField(mapField map[string]ListWithElemAdapterWithAdapter) *FooBuilder
func (*FooBuilder) OptionalIntField ¶
func (f *FooBuilder) OptionalIntField(optionalIntField *int32) *FooBuilder
func (*FooBuilder) OptionalMapField ¶
func (f *FooBuilder) OptionalMapField(optionalMapField map[string]ListWithElemAdapterWithAdapter) *FooBuilder
func (*FooBuilder) OptionalSetField ¶
func (f *FooBuilder) OptionalSetField(optionalSetField SetWithAdapter) *FooBuilder
func (*FooBuilder) SetField ¶
func (f *FooBuilder) SetField(setField SetWithAdapter) *FooBuilder
type FooWithAdapter ¶
type FooWithAdapter = Foo
func FooWithAdapterPtr ¶
func FooWithAdapterPtr(v FooWithAdapter) *FooWithAdapter
func NewFooWithAdapter ¶
func NewFooWithAdapter() *FooWithAdapter
type HeapAllocated ¶
type HeapAllocated struct { }
var AdapterServiceAdaptedTypesArgs_Arg_DEFAULT *HeapAllocated
var AdapterServiceAdaptedTypesResult_Success_DEFAULT *HeapAllocated
var MoveOnly_Ptr_DEFAULT *HeapAllocated
func NewHeapAllocated ¶
func NewHeapAllocated() *HeapAllocated
func (*HeapAllocated) String ¶
func (p *HeapAllocated) String() string
type HeapAllocatedBuilder ¶
type HeapAllocatedBuilder struct {
// contains filtered or unexported fields
}
func NewHeapAllocatedBuilder ¶
func NewHeapAllocatedBuilder() *HeapAllocatedBuilder
func (HeapAllocatedBuilder) Emit ¶
func (p HeapAllocatedBuilder) Emit() *HeapAllocated
type IndependentDirectlyAdapted ¶
type IndependentDirectlyAdapted struct {
Field int32 `thrift:"field,1" db:"field" json:"field"`
}
Attributes:
- Field
func NewIndependentDirectlyAdapted ¶
func NewIndependentDirectlyAdapted() *IndependentDirectlyAdapted
func (*IndependentDirectlyAdapted) GetField ¶
func (p *IndependentDirectlyAdapted) GetField() int32
func (*IndependentDirectlyAdapted) Read ¶
func (p *IndependentDirectlyAdapted) Read(iprot thrift.Protocol) error
func (*IndependentDirectlyAdapted) ReadField1 ¶
func (p *IndependentDirectlyAdapted) ReadField1(iprot thrift.Protocol) error
func (*IndependentDirectlyAdapted) SetField ¶
func (i *IndependentDirectlyAdapted) SetField(field int32) *IndependentDirectlyAdapted
func (*IndependentDirectlyAdapted) String ¶
func (p *IndependentDirectlyAdapted) String() string
type IndependentDirectlyAdaptedBuilder ¶
type IndependentDirectlyAdaptedBuilder struct {
// contains filtered or unexported fields
}
func NewIndependentDirectlyAdaptedBuilder ¶
func NewIndependentDirectlyAdaptedBuilder() *IndependentDirectlyAdaptedBuilder
func (IndependentDirectlyAdaptedBuilder) Emit ¶
func (p IndependentDirectlyAdaptedBuilder) Emit() *IndependentDirectlyAdapted
func (*IndependentDirectlyAdaptedBuilder) Field ¶
func (i *IndependentDirectlyAdaptedBuilder) Field(field int32) *IndependentDirectlyAdaptedBuilder
type IndirectionString ¶
type IndirectionString = string
func IndirectionStringPtr ¶
func IndirectionStringPtr(v IndirectionString) *IndirectionString
type ListWithElemAdapter ¶
type ListWithElemAdapter = []StringWithAdapter
func ListWithElemAdapterPtr ¶
func ListWithElemAdapterPtr(v ListWithElemAdapter) *ListWithElemAdapter
type ListWithElemAdapterWithAdapter ¶
type ListWithElemAdapterWithAdapter = ListWithElemAdapter
func ListWithElemAdapterWithAdapterPtr ¶
func ListWithElemAdapterWithAdapterPtr(v ListWithElemAdapterWithAdapter) *ListWithElemAdapterWithAdapter
type MoveOnly ¶
type MoveOnly struct {
Ptr *HeapAllocated `thrift:"ptr,1" db:"ptr" json:"ptr"`
}
Attributes:
- Ptr
var NestedAdapted *MoveOnly
func NewMoveOnly ¶
func NewMoveOnly() *MoveOnly
func (*MoveOnly) DefaultGetPtr ¶
func (p *MoveOnly) DefaultGetPtr() *HeapAllocated
func (*MoveOnly) GetPtr ¶
func (p *MoveOnly) GetPtr() *HeapAllocated
func (*MoveOnly) SetPtr ¶
func (m *MoveOnly) SetPtr(ptr *HeapAllocated) *MoveOnly
type MoveOnlyBuilder ¶
type MoveOnlyBuilder struct {
// contains filtered or unexported fields
}
func NewMoveOnlyBuilder ¶
func NewMoveOnlyBuilder() *MoveOnlyBuilder
func (MoveOnlyBuilder) Emit ¶
func (p MoveOnlyBuilder) Emit() *MoveOnly
func (*MoveOnlyBuilder) Ptr ¶
func (m *MoveOnlyBuilder) Ptr(ptr *HeapAllocated) *MoveOnlyBuilder
type MyAnnotation ¶
type MyAnnotation struct { Signature string `thrift:"signature,1" db:"signature" json:"signature"` Color Color `thrift:"color,2" db:"color" json:"color"` }
Attributes:
- Signature
- Color
func NewMyAnnotation ¶
func NewMyAnnotation() *MyAnnotation
func (*MyAnnotation) GetColor ¶
func (p *MyAnnotation) GetColor() Color
func (*MyAnnotation) GetSignature ¶
func (p *MyAnnotation) GetSignature() string
func (*MyAnnotation) ReadField1 ¶
func (p *MyAnnotation) ReadField1(iprot thrift.Protocol) error
func (*MyAnnotation) ReadField2 ¶
func (p *MyAnnotation) ReadField2(iprot thrift.Protocol) error
func (*MyAnnotation) SetColor ¶
func (m *MyAnnotation) SetColor(color Color) *MyAnnotation
func (*MyAnnotation) SetSignature ¶
func (m *MyAnnotation) SetSignature(signature string) *MyAnnotation
func (*MyAnnotation) String ¶
func (p *MyAnnotation) String() string
type MyAnnotationBuilder ¶
type MyAnnotationBuilder struct {
// contains filtered or unexported fields
}
func NewMyAnnotationBuilder ¶
func NewMyAnnotationBuilder() *MyAnnotationBuilder
func (*MyAnnotationBuilder) Color ¶
func (m *MyAnnotationBuilder) Color(color Color) *MyAnnotationBuilder
func (MyAnnotationBuilder) Emit ¶
func (p MyAnnotationBuilder) Emit() *MyAnnotation
func (*MyAnnotationBuilder) Signature ¶
func (m *MyAnnotationBuilder) Signature(signature string) *MyAnnotationBuilder
type MyStruct ¶
type MyStruct struct { Field int32 `thrift:"field,1" db:"field" json:"field"` SetString SetWithAdapter `thrift:"set_string,2" db:"set_string" json:"set_string"` }
Attributes:
- Field
- SetString
var Var3 *MyStruct
var Var6 *MyStruct
func NewMyStruct ¶
func NewMyStruct() *MyStruct
func (*MyStruct) GetSetString ¶
func (p *MyStruct) GetSetString() SetWithAdapter
func (*MyStruct) SetSetString ¶
func (m *MyStruct) SetSetString(setString SetWithAdapter) *MyStruct
type MyStructBuilder ¶
type MyStructBuilder struct {
// contains filtered or unexported fields
}
func NewMyStructBuilder ¶
func NewMyStructBuilder() *MyStructBuilder
func (MyStructBuilder) Emit ¶
func (p MyStructBuilder) Emit() *MyStruct
func (*MyStructBuilder) Field ¶
func (m *MyStructBuilder) Field(field int32) *MyStructBuilder
func (*MyStructBuilder) SetString ¶
func (m *MyStructBuilder) SetString(setString SetWithAdapter) *MyStructBuilder
type Person ¶
type Person struct {
Name string `thrift:"name,1" db:"name" json:"name"`
}
Attributes:
- Name
type Person2 ¶
type Person2 struct {
Name string `thrift:"name,1" db:"name" json:"name"`
}
Attributes:
- Name
var Person *Person2
var PersonNoTransitive *Person2
func NewPerson2 ¶
func NewPerson2() *Person2
type Person2Builder ¶
type Person2Builder struct {
// contains filtered or unexported fields
}
func NewPerson2Builder ¶
func NewPerson2Builder() *Person2Builder
func (Person2Builder) Emit ¶
func (p Person2Builder) Emit() *Person2
func (*Person2Builder) Name ¶
func (p *Person2Builder) Name(name string) *Person2Builder
type PersonBuilder ¶
type PersonBuilder struct {
// contains filtered or unexported fields
}
func NewPersonBuilder ¶
func NewPersonBuilder() *PersonBuilder
func (PersonBuilder) Emit ¶
func (p PersonBuilder) Emit() *Person
func (*PersonBuilder) Name ¶
func (p *PersonBuilder) Name(name string) *PersonBuilder
type RenamedStruct ¶
type RenamedStruct struct {
Data int64 `thrift:"data,1" db:"data" json:"data"`
}
Attributes:
- Data
func NewRenamedStruct ¶
func NewRenamedStruct() *RenamedStruct
func (*RenamedStruct) GetData ¶
func (p *RenamedStruct) GetData() int64
func (*RenamedStruct) ReadField1 ¶
func (p *RenamedStruct) ReadField1(iprot thrift.Protocol) error
func (*RenamedStruct) SetData ¶
func (r *RenamedStruct) SetData(data int64) *RenamedStruct
func (*RenamedStruct) String ¶
func (p *RenamedStruct) String() string
type RenamedStructBuilder ¶
type RenamedStructBuilder struct {
// contains filtered or unexported fields
}
func NewRenamedStructBuilder ¶
func NewRenamedStructBuilder() *RenamedStructBuilder
func (*RenamedStructBuilder) Data ¶
func (r *RenamedStructBuilder) Data(data int64) *RenamedStructBuilder
func (RenamedStructBuilder) Emit ¶
func (p RenamedStructBuilder) Emit() *RenamedStruct
type ReorderedStruct ¶
type ReorderedStruct struct {
ReorderedDependentAdapted *DeclaredAfterStruct `thrift:"reordered_dependent_adapted,1" db:"reordered_dependent_adapted" json:"reordered_dependent_adapted"`
}
Attributes:
- ReorderedDependentAdapted
func NewReorderedStruct ¶
func NewReorderedStruct() *ReorderedStruct
func (*ReorderedStruct) GetReorderedDependentAdapted ¶
func (p *ReorderedStruct) GetReorderedDependentAdapted() *DeclaredAfterStruct
func (*ReorderedStruct) IsSetReorderedDependentAdapted ¶
func (p *ReorderedStruct) IsSetReorderedDependentAdapted() bool
func (*ReorderedStruct) ReadField1 ¶
func (p *ReorderedStruct) ReadField1(iprot thrift.Protocol) error
func (*ReorderedStruct) SetReorderedDependentAdapted ¶
func (r *ReorderedStruct) SetReorderedDependentAdapted(reorderedDependentAdapted *DeclaredAfterStruct) *ReorderedStruct
func (*ReorderedStruct) String ¶
func (p *ReorderedStruct) String() string
type ReorderedStructBuilder ¶
type ReorderedStructBuilder struct {
// contains filtered or unexported fields
}
func NewReorderedStructBuilder ¶
func NewReorderedStructBuilder() *ReorderedStructBuilder
func (ReorderedStructBuilder) Emit ¶
func (p ReorderedStructBuilder) Emit() *ReorderedStruct
func (*ReorderedStructBuilder) ReorderedDependentAdapted ¶
func (r *ReorderedStructBuilder) ReorderedDependentAdapted(reorderedDependentAdapted *DeclaredAfterStruct) *ReorderedStructBuilder
type SameNamespaceStruct ¶
type SameNamespaceStruct struct {
Data int64 `thrift:"data,1" db:"data" json:"data"`
}
Attributes:
- Data
func NewSameNamespaceStruct ¶
func NewSameNamespaceStruct() *SameNamespaceStruct
func (*SameNamespaceStruct) GetData ¶
func (p *SameNamespaceStruct) GetData() int64
func (*SameNamespaceStruct) ReadField1 ¶
func (p *SameNamespaceStruct) ReadField1(iprot thrift.Protocol) error
func (*SameNamespaceStruct) SetData ¶
func (s *SameNamespaceStruct) SetData(data int64) *SameNamespaceStruct
func (*SameNamespaceStruct) String ¶
func (p *SameNamespaceStruct) String() string
type SameNamespaceStructBuilder ¶
type SameNamespaceStructBuilder struct {
// contains filtered or unexported fields
}
func NewSameNamespaceStructBuilder ¶
func NewSameNamespaceStructBuilder() *SameNamespaceStructBuilder
func (*SameNamespaceStructBuilder) Data ¶
func (s *SameNamespaceStructBuilder) Data(data int64) *SameNamespaceStructBuilder
func (SameNamespaceStructBuilder) Emit ¶
func (p SameNamespaceStructBuilder) Emit() *SameNamespaceStruct
type Service ¶
type Service interface { // Parameters: // - Arg1 // - Arg2 // - Arg3 Func(arg1 StringWithAdapter, arg2 string, arg3 *Foo) (_r MyI32, err error) }
type ServiceChannelClient ¶
type ServiceChannelClient struct {
RequestChannel thrift.RequestChannel
}
func NewServiceChannelClient ¶
func NewServiceChannelClient(channel thrift.RequestChannel) *ServiceChannelClient
func (*ServiceChannelClient) Close ¶
func (c *ServiceChannelClient) Close() error
func (*ServiceChannelClient) Func ¶
func (p *ServiceChannelClient) Func(ctx context.Context, arg1 StringWithAdapter, arg2 string, arg3 *Foo) (_r MyI32, err error)
Parameters:
- Arg1
- Arg2
- Arg3
func (*ServiceChannelClient) IsOpen ¶
func (c *ServiceChannelClient) IsOpen() bool
func (*ServiceChannelClient) Open ¶
func (c *ServiceChannelClient) Open() error
type ServiceClient ¶
type ServiceClient struct { ServiceClientInterface CC thrift.ClientConn }
func NewServiceClient ¶
func NewServiceClientFactory ¶
func NewServiceClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *ServiceClient
func NewServiceClientProtocol ¶
func NewServiceClientProtocol(prot thrift.Protocol) *ServiceClient
func (*ServiceClient) Close ¶
func (client *ServiceClient) Close() error
func (*ServiceClient) Func ¶
func (p *ServiceClient) Func(arg1 StringWithAdapter, arg2 string, arg3 *Foo) (_r MyI32, err error)
Parameters:
- Arg1
- Arg2
- Arg3
func (*ServiceClient) IsOpen ¶
func (client *ServiceClient) IsOpen() bool
func (*ServiceClient) Open ¶
func (client *ServiceClient) Open() error
type ServiceClientInterface ¶
type ServiceClientInterface interface { thrift.ClientInterface // Parameters: // - Arg1 // - Arg2 // - Arg3 Func(arg1 StringWithAdapter, arg2 string, arg3 *Foo) (_r MyI32, err error) }
type ServiceFuncArgs ¶
type ServiceFuncArgs struct { thrift.IRequest Arg1 StringWithAdapter `thrift:"arg1,1" db:"arg1" json:"arg1"` Arg2 string `thrift:"arg2,2" db:"arg2" json:"arg2"` Arg3 *Foo `thrift:"arg3,3" db:"arg3" json:"arg3"` }
Attributes:
- Arg1
- Arg2
- Arg3
func NewServiceFuncArgs ¶
func NewServiceFuncArgs() *ServiceFuncArgs
func (*ServiceFuncArgs) DefaultGetArg3 ¶
func (p *ServiceFuncArgs) DefaultGetArg3() *Foo
func (*ServiceFuncArgs) GetArg1 ¶
func (p *ServiceFuncArgs) GetArg1() StringWithAdapter
func (*ServiceFuncArgs) GetArg2 ¶
func (p *ServiceFuncArgs) GetArg2() string
func (*ServiceFuncArgs) GetArg3 ¶
func (p *ServiceFuncArgs) GetArg3() *Foo
func (*ServiceFuncArgs) IsSetArg3 ¶
func (p *ServiceFuncArgs) IsSetArg3() bool
func (*ServiceFuncArgs) ReadField1 ¶
func (p *ServiceFuncArgs) ReadField1(iprot thrift.Protocol) error
func (*ServiceFuncArgs) ReadField2 ¶
func (p *ServiceFuncArgs) ReadField2(iprot thrift.Protocol) error
func (*ServiceFuncArgs) ReadField3 ¶
func (p *ServiceFuncArgs) ReadField3(iprot thrift.Protocol) error
func (*ServiceFuncArgs) SetArg1 ¶
func (s *ServiceFuncArgs) SetArg1(arg1 StringWithAdapter) *ServiceFuncArgs
func (*ServiceFuncArgs) SetArg2 ¶
func (s *ServiceFuncArgs) SetArg2(arg2 string) *ServiceFuncArgs
func (*ServiceFuncArgs) SetArg3 ¶
func (s *ServiceFuncArgs) SetArg3(arg3 *Foo) *ServiceFuncArgs
func (*ServiceFuncArgs) String ¶
func (p *ServiceFuncArgs) String() string
type ServiceFuncArgsBuilder ¶
type ServiceFuncArgsBuilder struct {
// contains filtered or unexported fields
}
func NewServiceFuncArgsBuilder ¶
func NewServiceFuncArgsBuilder() *ServiceFuncArgsBuilder
func (*ServiceFuncArgsBuilder) Arg1 ¶
func (s *ServiceFuncArgsBuilder) Arg1(arg1 StringWithAdapter) *ServiceFuncArgsBuilder
func (*ServiceFuncArgsBuilder) Arg2 ¶
func (s *ServiceFuncArgsBuilder) Arg2(arg2 string) *ServiceFuncArgsBuilder
func (*ServiceFuncArgsBuilder) Arg3 ¶
func (s *ServiceFuncArgsBuilder) Arg3(arg3 *Foo) *ServiceFuncArgsBuilder
func (ServiceFuncArgsBuilder) Emit ¶
func (p ServiceFuncArgsBuilder) Emit() *ServiceFuncArgs
type ServiceFuncResult ¶
type ServiceFuncResult struct { thrift.IResponse Success *MyI32 `thrift:"success,0,optional" db:"success" json:"success,omitempty"` }
Attributes:
- Success
func NewServiceFuncResult ¶
func NewServiceFuncResult() *ServiceFuncResult
func (*ServiceFuncResult) Exception ¶
func (p *ServiceFuncResult) Exception() thrift.WritableException
func (*ServiceFuncResult) GetSuccess ¶
func (p *ServiceFuncResult) GetSuccess() MyI32
func (*ServiceFuncResult) IsSetSuccess ¶
func (p *ServiceFuncResult) IsSetSuccess() bool
func (*ServiceFuncResult) ReadField0 ¶
func (p *ServiceFuncResult) ReadField0(iprot thrift.Protocol) error
func (*ServiceFuncResult) SetSuccess ¶
func (s *ServiceFuncResult) SetSuccess(success *MyI32) *ServiceFuncResult
func (*ServiceFuncResult) String ¶
func (p *ServiceFuncResult) String() string
type ServiceFuncResultBuilder ¶
type ServiceFuncResultBuilder struct {
// contains filtered or unexported fields
}
func NewServiceFuncResultBuilder ¶
func NewServiceFuncResultBuilder() *ServiceFuncResultBuilder
func (ServiceFuncResultBuilder) Emit ¶
func (p ServiceFuncResultBuilder) Emit() *ServiceFuncResult
func (*ServiceFuncResultBuilder) Success ¶
func (s *ServiceFuncResultBuilder) Success(success *MyI32) *ServiceFuncResultBuilder
type ServiceProcessor ¶
type ServiceProcessor struct {
// contains filtered or unexported fields
}
func NewServiceProcessor ¶
func NewServiceProcessor(handler Service) *ServiceProcessor
func (*ServiceProcessor) AddToFunctionServiceMap ¶
func (p *ServiceProcessor) AddToFunctionServiceMap(key, service string)
func (*ServiceProcessor) AddToProcessorMap ¶
func (p *ServiceProcessor) AddToProcessorMap(key string, processor thrift.ProcessorFunction)
func (*ServiceProcessor) FunctionServiceMap ¶
func (p *ServiceProcessor) FunctionServiceMap() map[string]string
func (*ServiceProcessor) GetProcessorFunction ¶
func (p *ServiceProcessor) GetProcessorFunction(key string) (processor thrift.ProcessorFunction, err error)
func (*ServiceProcessor) ProcessorMap ¶
func (p *ServiceProcessor) ProcessorMap() map[string]thrift.ProcessorFunction
type ServiceThreadsafeClient ¶
type ServiceThreadsafeClient struct { ServiceClientInterface CC thrift.ClientConn Mu sync.Mutex }
func NewServiceThreadsafeClientFactory ¶
func NewServiceThreadsafeClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *ServiceThreadsafeClient
func NewServiceThreadsafeClientProtocol ¶
func NewServiceThreadsafeClientProtocol(prot thrift.Protocol) *ServiceThreadsafeClient
func (*ServiceThreadsafeClient) Close ¶
func (client *ServiceThreadsafeClient) Close() error
func (*ServiceThreadsafeClient) Func ¶
func (p *ServiceThreadsafeClient) Func(arg1 StringWithAdapter, arg2 string, arg3 *Foo) (_r MyI32, err error)
Parameters:
- Arg1
- Arg2
- Arg3
func (*ServiceThreadsafeClient) IsOpen ¶
func (client *ServiceThreadsafeClient) IsOpen() bool
func (*ServiceThreadsafeClient) Open ¶
func (client *ServiceThreadsafeClient) Open() error
type SetWithAdapter ¶
type SetWithAdapter = []string
var Baz_SetField_DEFAULT SetWithAdapter
var Foo_OptionalSetField_DEFAULT SetWithAdapter
func SetWithAdapterPtr ¶
func SetWithAdapterPtr(v SetWithAdapter) *SetWithAdapter
type StringWithAdapter ¶
type StringWithAdapter = string
func StringWithAdapterPtr ¶
func StringWithAdapterPtr(v StringWithAdapter) *StringWithAdapter
type StructFieldAdaptedStruct ¶
type StructFieldAdaptedStruct struct { AdaptedStruct *AdaptedStruct `thrift:"adaptedStruct,1" db:"adaptedStruct" json:"adaptedStruct"` AdaptedTypedef *AdaptedTypedef `thrift:"adaptedTypedef,2" db:"adaptedTypedef" json:"adaptedTypedef"` DirectlyAdapted *DirectlyAdaptedStruct `thrift:"directlyAdapted,3" db:"directlyAdapted" json:"directlyAdapted"` TypedefOfAdapted *TypedefOfDirect `thrift:"typedefOfAdapted,4" db:"typedefOfAdapted" json:"typedefOfAdapted"` }
Attributes:
- AdaptedStruct
- AdaptedTypedef
- DirectlyAdapted
- TypedefOfAdapted
func NewStructFieldAdaptedStruct ¶
func NewStructFieldAdaptedStruct() *StructFieldAdaptedStruct
func (*StructFieldAdaptedStruct) DefaultGetAdaptedStruct ¶
func (p *StructFieldAdaptedStruct) DefaultGetAdaptedStruct() *AdaptedStruct
func (*StructFieldAdaptedStruct) DefaultGetDirectlyAdapted ¶
func (p *StructFieldAdaptedStruct) DefaultGetDirectlyAdapted() *DirectlyAdaptedStruct
func (*StructFieldAdaptedStruct) GetAdaptedStruct ¶
func (p *StructFieldAdaptedStruct) GetAdaptedStruct() *AdaptedStruct
func (*StructFieldAdaptedStruct) GetAdaptedTypedef ¶
func (p *StructFieldAdaptedStruct) GetAdaptedTypedef() *AdaptedTypedef
func (*StructFieldAdaptedStruct) GetDirectlyAdapted ¶
func (p *StructFieldAdaptedStruct) GetDirectlyAdapted() *DirectlyAdaptedStruct
func (*StructFieldAdaptedStruct) GetTypedefOfAdapted ¶
func (p *StructFieldAdaptedStruct) GetTypedefOfAdapted() *TypedefOfDirect
func (*StructFieldAdaptedStruct) IsSetAdaptedStruct ¶
func (p *StructFieldAdaptedStruct) IsSetAdaptedStruct() bool
func (*StructFieldAdaptedStruct) IsSetAdaptedTypedef ¶
func (p *StructFieldAdaptedStruct) IsSetAdaptedTypedef() bool
func (*StructFieldAdaptedStruct) IsSetDirectlyAdapted ¶
func (p *StructFieldAdaptedStruct) IsSetDirectlyAdapted() bool
func (*StructFieldAdaptedStruct) IsSetTypedefOfAdapted ¶
func (p *StructFieldAdaptedStruct) IsSetTypedefOfAdapted() bool
func (*StructFieldAdaptedStruct) Read ¶
func (p *StructFieldAdaptedStruct) Read(iprot thrift.Protocol) error
func (*StructFieldAdaptedStruct) ReadField1 ¶
func (p *StructFieldAdaptedStruct) ReadField1(iprot thrift.Protocol) error
func (*StructFieldAdaptedStruct) ReadField2 ¶
func (p *StructFieldAdaptedStruct) ReadField2(iprot thrift.Protocol) error
func (*StructFieldAdaptedStruct) ReadField3 ¶
func (p *StructFieldAdaptedStruct) ReadField3(iprot thrift.Protocol) error
func (*StructFieldAdaptedStruct) ReadField4 ¶
func (p *StructFieldAdaptedStruct) ReadField4(iprot thrift.Protocol) error
func (*StructFieldAdaptedStruct) SetAdaptedStruct ¶
func (s *StructFieldAdaptedStruct) SetAdaptedStruct(adaptedStruct *AdaptedStruct) *StructFieldAdaptedStruct
func (*StructFieldAdaptedStruct) SetAdaptedTypedef ¶
func (s *StructFieldAdaptedStruct) SetAdaptedTypedef(adaptedTypedef *AdaptedTypedef) *StructFieldAdaptedStruct
func (*StructFieldAdaptedStruct) SetDirectlyAdapted ¶
func (s *StructFieldAdaptedStruct) SetDirectlyAdapted(directlyAdapted *DirectlyAdaptedStruct) *StructFieldAdaptedStruct
func (*StructFieldAdaptedStruct) SetTypedefOfAdapted ¶
func (s *StructFieldAdaptedStruct) SetTypedefOfAdapted(typedefOfAdapted *TypedefOfDirect) *StructFieldAdaptedStruct
func (*StructFieldAdaptedStruct) String ¶
func (p *StructFieldAdaptedStruct) String() string
type StructFieldAdaptedStructBuilder ¶
type StructFieldAdaptedStructBuilder struct {
// contains filtered or unexported fields
}
func NewStructFieldAdaptedStructBuilder ¶
func NewStructFieldAdaptedStructBuilder() *StructFieldAdaptedStructBuilder
func (*StructFieldAdaptedStructBuilder) AdaptedStruct ¶
func (s *StructFieldAdaptedStructBuilder) AdaptedStruct(adaptedStruct *AdaptedStruct) *StructFieldAdaptedStructBuilder
func (*StructFieldAdaptedStructBuilder) AdaptedTypedef ¶
func (s *StructFieldAdaptedStructBuilder) AdaptedTypedef(adaptedTypedef *AdaptedTypedef) *StructFieldAdaptedStructBuilder
func (*StructFieldAdaptedStructBuilder) DirectlyAdapted ¶
func (s *StructFieldAdaptedStructBuilder) DirectlyAdapted(directlyAdapted *DirectlyAdaptedStruct) *StructFieldAdaptedStructBuilder
func (StructFieldAdaptedStructBuilder) Emit ¶
func (p StructFieldAdaptedStructBuilder) Emit() *StructFieldAdaptedStruct
func (*StructFieldAdaptedStructBuilder) TypedefOfAdapted ¶
func (s *StructFieldAdaptedStructBuilder) TypedefOfAdapted(typedefOfAdapted *TypedefOfDirect) *StructFieldAdaptedStructBuilder
type StructWithAdapter ¶
type StructWithAdapter = *Bar
func NewStructWithAdapter ¶
func NewStructWithAdapter() StructWithAdapter
func StructWithAdapterPtr ¶
func StructWithAdapterPtr(v StructWithAdapter) *StructWithAdapter
type StructWithFieldAdapter ¶
type StructWithFieldAdapter struct { Field int32 `thrift:"field,1" db:"field" json:"field"` OptBoxedField *int32 `thrift:"opt_boxed_field,4,optional" db:"opt_boxed_field" json:"opt_boxed_field,omitempty"` }
Attributes:
- Field
- SharedField
- OptSharedField
- OptBoxedField
func NewStructWithFieldAdapter ¶
func NewStructWithFieldAdapter() *StructWithFieldAdapter
func (*StructWithFieldAdapter) GetField ¶
func (p *StructWithFieldAdapter) GetField() int32
func (*StructWithFieldAdapter) GetOptBoxedField ¶
func (p *StructWithFieldAdapter) GetOptBoxedField() int32
func (*StructWithFieldAdapter) GetOptSharedField ¶
func (p *StructWithFieldAdapter) GetOptSharedField() int32
func (*StructWithFieldAdapter) GetSharedField ¶
func (p *StructWithFieldAdapter) GetSharedField() int32
func (*StructWithFieldAdapter) IsSetOptBoxedField ¶
func (p *StructWithFieldAdapter) IsSetOptBoxedField() bool
func (*StructWithFieldAdapter) IsSetOptSharedField ¶
func (p *StructWithFieldAdapter) IsSetOptSharedField() bool
func (*StructWithFieldAdapter) Read ¶
func (p *StructWithFieldAdapter) Read(iprot thrift.Protocol) error
func (*StructWithFieldAdapter) ReadField1 ¶
func (p *StructWithFieldAdapter) ReadField1(iprot thrift.Protocol) error
func (*StructWithFieldAdapter) ReadField2 ¶
func (p *StructWithFieldAdapter) ReadField2(iprot thrift.Protocol) error
func (*StructWithFieldAdapter) ReadField3 ¶
func (p *StructWithFieldAdapter) ReadField3(iprot thrift.Protocol) error
func (*StructWithFieldAdapter) ReadField4 ¶
func (p *StructWithFieldAdapter) ReadField4(iprot thrift.Protocol) error
func (*StructWithFieldAdapter) SetField ¶
func (s *StructWithFieldAdapter) SetField(field int32) *StructWithFieldAdapter
func (*StructWithFieldAdapter) SetOptBoxedField ¶
func (s *StructWithFieldAdapter) SetOptBoxedField(optBoxedField *int32) *StructWithFieldAdapter
func (*StructWithFieldAdapter) SetOptSharedField ¶
func (s *StructWithFieldAdapter) SetOptSharedField(optSharedField *int32) *StructWithFieldAdapter
func (*StructWithFieldAdapter) SetSharedField ¶
func (s *StructWithFieldAdapter) SetSharedField(sharedField int32) *StructWithFieldAdapter
func (*StructWithFieldAdapter) String ¶
func (p *StructWithFieldAdapter) String() string
type StructWithFieldAdapterBuilder ¶
type StructWithFieldAdapterBuilder struct {
// contains filtered or unexported fields
}
func NewStructWithFieldAdapterBuilder ¶
func NewStructWithFieldAdapterBuilder() *StructWithFieldAdapterBuilder
func (StructWithFieldAdapterBuilder) Emit ¶
func (p StructWithFieldAdapterBuilder) Emit() *StructWithFieldAdapter
func (*StructWithFieldAdapterBuilder) Field ¶
func (s *StructWithFieldAdapterBuilder) Field(field int32) *StructWithFieldAdapterBuilder
func (*StructWithFieldAdapterBuilder) OptBoxedField ¶
func (s *StructWithFieldAdapterBuilder) OptBoxedField(optBoxedField *int32) *StructWithFieldAdapterBuilder
func (*StructWithFieldAdapterBuilder) OptSharedField ¶
func (s *StructWithFieldAdapterBuilder) OptSharedField(optSharedField *int32) *StructWithFieldAdapterBuilder
func (*StructWithFieldAdapterBuilder) SharedField ¶
func (s *StructWithFieldAdapterBuilder) SharedField(sharedField int32) *StructWithFieldAdapterBuilder
type TerseAdaptedFields ¶
type TerseAdaptedFields struct { IntField int32 `thrift:"int_field,1" db:"int_field" json:"int_field"` StringField string `thrift:"string_field,2" db:"string_field" json:"string_field"` SetField []int32 `thrift:"set_field,3" db:"set_field" json:"set_field"` }
Attributes:
- IntField
- StringField
- SetField
func NewTerseAdaptedFields ¶
func NewTerseAdaptedFields() *TerseAdaptedFields
func (*TerseAdaptedFields) GetIntField ¶
func (p *TerseAdaptedFields) GetIntField() int32
func (*TerseAdaptedFields) GetSetField ¶
func (p *TerseAdaptedFields) GetSetField() []int32
func (*TerseAdaptedFields) GetStringField ¶
func (p *TerseAdaptedFields) GetStringField() string
func (*TerseAdaptedFields) ReadField1 ¶
func (p *TerseAdaptedFields) ReadField1(iprot thrift.Protocol) error
func (*TerseAdaptedFields) ReadField2 ¶
func (p *TerseAdaptedFields) ReadField2(iprot thrift.Protocol) error
func (*TerseAdaptedFields) ReadField3 ¶
func (p *TerseAdaptedFields) ReadField3(iprot thrift.Protocol) error
func (*TerseAdaptedFields) SetIntField ¶
func (t *TerseAdaptedFields) SetIntField(intField int32) *TerseAdaptedFields
func (*TerseAdaptedFields) SetSetField ¶
func (t *TerseAdaptedFields) SetSetField(setField []int32) *TerseAdaptedFields
func (*TerseAdaptedFields) SetStringField ¶
func (t *TerseAdaptedFields) SetStringField(stringField string) *TerseAdaptedFields
func (*TerseAdaptedFields) String ¶
func (p *TerseAdaptedFields) String() string
type TerseAdaptedFieldsBuilder ¶
type TerseAdaptedFieldsBuilder struct {
// contains filtered or unexported fields
}
func NewTerseAdaptedFieldsBuilder ¶
func NewTerseAdaptedFieldsBuilder() *TerseAdaptedFieldsBuilder
func (TerseAdaptedFieldsBuilder) Emit ¶
func (p TerseAdaptedFieldsBuilder) Emit() *TerseAdaptedFields
func (*TerseAdaptedFieldsBuilder) IntField ¶
func (t *TerseAdaptedFieldsBuilder) IntField(intField int32) *TerseAdaptedFieldsBuilder
func (*TerseAdaptedFieldsBuilder) SetField ¶
func (t *TerseAdaptedFieldsBuilder) SetField(setField []int32) *TerseAdaptedFieldsBuilder
func (*TerseAdaptedFieldsBuilder) StringField ¶
func (t *TerseAdaptedFieldsBuilder) StringField(stringField string) *TerseAdaptedFieldsBuilder
type ThriftAdaptedEnum ¶
type ThriftAdaptedEnum int64
const ( ThriftAdaptedEnum_Zero ThriftAdaptedEnum = 0 ThriftAdaptedEnum_One ThriftAdaptedEnum = 1 )
func ThriftAdaptedEnumFromString ¶
func ThriftAdaptedEnumFromString(s string) (ThriftAdaptedEnum, error)
func ThriftAdaptedEnumPtr ¶
func ThriftAdaptedEnumPtr(v ThriftAdaptedEnum) *ThriftAdaptedEnum
func (ThriftAdaptedEnum) String ¶
func (p ThriftAdaptedEnum) String() string
type TransitiveAdapted ¶
type TransitiveAdapted struct { }
func NewTransitiveAdapted ¶
func NewTransitiveAdapted() *TransitiveAdapted
func (*TransitiveAdapted) String ¶
func (p *TransitiveAdapted) String() string
type TransitiveAdaptedBuilder ¶
type TransitiveAdaptedBuilder struct {
// contains filtered or unexported fields
}
func NewTransitiveAdaptedBuilder ¶
func NewTransitiveAdaptedBuilder() *TransitiveAdaptedBuilder
func (TransitiveAdaptedBuilder) Emit ¶
func (p TransitiveAdaptedBuilder) Emit() *TransitiveAdapted
type TypedefOfDirect ¶
type TypedefOfDirect = DirectlyAdaptedStruct
var StructFieldAdaptedStruct_TypedefOfAdapted_DEFAULT *TypedefOfDirect
func NewTypedefOfDirect ¶
func NewTypedefOfDirect() *TypedefOfDirect
func TypedefOfDirectPtr ¶
func TypedefOfDirectPtr(v TypedefOfDirect) *TypedefOfDirect
type UnionWithAdapter ¶
type UnionWithAdapter = *Baz
func NewUnionWithAdapter ¶
func NewUnionWithAdapter() UnionWithAdapter
func UnionWithAdapterPtr ¶
func UnionWithAdapterPtr(v UnionWithAdapter) *UnionWithAdapter
Click to show internal directories.
Click to hide internal directories.