Documentation
¶
Index ¶
- Constants
- Variables
- type A
- type ABuilderdeprecated
- type AdaptTemplatedNestedTestStruct
- func (x *AdaptTemplatedNestedTestStruct) GetAdaptedStruct() *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedNestedTestStruct) IsSetAdaptedStruct() bool
- func (x *AdaptTemplatedNestedTestStruct) Read(p thrift.Protocol) error
- func (x *AdaptTemplatedNestedTestStruct) SetAdaptedStruct(value AdaptTemplatedTestStruct) *AdaptTemplatedNestedTestStruct
- func (x *AdaptTemplatedNestedTestStruct) Write(p thrift.Protocol) error
- type AdaptTemplatedNestedTestStructBuilderdeprecated
- type AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) GetAdaptedBool() AdaptedBool
- func (x *AdaptTemplatedTestStruct) GetAdaptedBoolDefault() AdaptedBool
- func (x *AdaptTemplatedTestStruct) GetAdaptedByte() AdaptedByte
- func (x *AdaptTemplatedTestStruct) GetAdaptedByteDefault() AdaptedByte
- func (x *AdaptTemplatedTestStruct) GetAdaptedDouble() AdaptedDouble
- func (x *AdaptTemplatedTestStruct) GetAdaptedDoubleDefault() AdaptedDouble
- func (x *AdaptTemplatedTestStruct) GetAdaptedEnum() AdaptedEnum
- func (x *AdaptTemplatedTestStruct) GetAdaptedInteger() AdaptedInteger
- func (x *AdaptTemplatedTestStruct) GetAdaptedIntegerDefault() AdaptedInteger
- func (x *AdaptTemplatedTestStruct) GetAdaptedList() []int64
- func (x *AdaptTemplatedTestStruct) GetAdaptedListDefault() []int64
- func (x *AdaptTemplatedTestStruct) GetAdaptedLong() AdaptedLong
- func (x *AdaptTemplatedTestStruct) GetAdaptedLongDefault() AdaptedLong
- func (x *AdaptTemplatedTestStruct) GetAdaptedMap() map[int64]int64
- func (x *AdaptTemplatedTestStruct) GetAdaptedMapDefault() map[int64]int64
- func (x *AdaptTemplatedTestStruct) GetAdaptedSet() []int64
- func (x *AdaptTemplatedTestStruct) GetAdaptedSetDefault() []int64
- func (x *AdaptTemplatedTestStruct) GetAdaptedShort() AdaptedShort
- func (x *AdaptTemplatedTestStruct) GetAdaptedShortDefault() AdaptedShort
- func (x *AdaptTemplatedTestStruct) GetAdaptedString() AdaptedString
- func (x *AdaptTemplatedTestStruct) GetAdaptedStringDefault() AdaptedString
- func (x *AdaptTemplatedTestStruct) GetDoubleTypedefBool() DoubleTypedefBool
- func (x *AdaptTemplatedTestStruct) IsSetAdaptedList() bool
- func (x *AdaptTemplatedTestStruct) IsSetAdaptedListDefault() bool
- func (x *AdaptTemplatedTestStruct) IsSetAdaptedMap() bool
- func (x *AdaptTemplatedTestStruct) IsSetAdaptedMapDefault() bool
- func (x *AdaptTemplatedTestStruct) IsSetAdaptedSet() bool
- func (x *AdaptTemplatedTestStruct) IsSetAdaptedSetDefault() bool
- func (x *AdaptTemplatedTestStruct) Read(p thrift.Protocol) error
- func (x *AdaptTemplatedTestStruct) SetAdaptedBool(value AdaptedBool) *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) SetAdaptedBoolDefault(value AdaptedBool) *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) SetAdaptedByte(value AdaptedByte) *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) SetAdaptedByteDefault(value AdaptedByte) *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) SetAdaptedDouble(value AdaptedDouble) *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) SetAdaptedDoubleDefault(value AdaptedDouble) *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) SetAdaptedEnum(value AdaptedEnum) *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) SetAdaptedInteger(value AdaptedInteger) *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) SetAdaptedIntegerDefault(value AdaptedInteger) *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) SetAdaptedList(value []int64) *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) SetAdaptedListDefault(value []int64) *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) SetAdaptedLong(value AdaptedLong) *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) SetAdaptedLongDefault(value AdaptedLong) *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) SetAdaptedMap(value map[int64]int64) *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) SetAdaptedMapDefault(value map[int64]int64) *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) SetAdaptedSet(value []int64) *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) SetAdaptedSetDefault(value []int64) *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) SetAdaptedShort(value AdaptedShort) *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) SetAdaptedShortDefault(value AdaptedShort) *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) SetAdaptedString(value AdaptedString) *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) SetAdaptedStringDefault(value AdaptedString) *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) SetDoubleTypedefBool(value DoubleTypedefBool) *AdaptTemplatedTestStruct
- func (x *AdaptTemplatedTestStruct) Write(p thrift.Protocol) error
- type AdaptTemplatedTestStructBuilderdeprecated
- func (x *AdaptTemplatedTestStructBuilder) AdaptedBool(value AdaptedBool) *AdaptTemplatedTestStructBuilder
- func (x *AdaptTemplatedTestStructBuilder) AdaptedBoolDefault(value AdaptedBool) *AdaptTemplatedTestStructBuilder
- func (x *AdaptTemplatedTestStructBuilder) AdaptedByte(value AdaptedByte) *AdaptTemplatedTestStructBuilder
- func (x *AdaptTemplatedTestStructBuilder) AdaptedByteDefault(value AdaptedByte) *AdaptTemplatedTestStructBuilder
- func (x *AdaptTemplatedTestStructBuilder) AdaptedDouble(value AdaptedDouble) *AdaptTemplatedTestStructBuilder
- func (x *AdaptTemplatedTestStructBuilder) AdaptedDoubleDefault(value AdaptedDouble) *AdaptTemplatedTestStructBuilder
- func (x *AdaptTemplatedTestStructBuilder) AdaptedEnum(value AdaptedEnum) *AdaptTemplatedTestStructBuilder
- func (x *AdaptTemplatedTestStructBuilder) AdaptedInteger(value AdaptedInteger) *AdaptTemplatedTestStructBuilder
- func (x *AdaptTemplatedTestStructBuilder) AdaptedIntegerDefault(value AdaptedInteger) *AdaptTemplatedTestStructBuilder
- func (x *AdaptTemplatedTestStructBuilder) AdaptedList(value []int64) *AdaptTemplatedTestStructBuilder
- func (x *AdaptTemplatedTestStructBuilder) AdaptedListDefault(value []int64) *AdaptTemplatedTestStructBuilder
- func (x *AdaptTemplatedTestStructBuilder) AdaptedLong(value AdaptedLong) *AdaptTemplatedTestStructBuilder
- func (x *AdaptTemplatedTestStructBuilder) AdaptedLongDefault(value AdaptedLong) *AdaptTemplatedTestStructBuilder
- func (x *AdaptTemplatedTestStructBuilder) AdaptedMap(value map[int64]int64) *AdaptTemplatedTestStructBuilder
- func (x *AdaptTemplatedTestStructBuilder) AdaptedMapDefault(value map[int64]int64) *AdaptTemplatedTestStructBuilder
- func (x *AdaptTemplatedTestStructBuilder) AdaptedSet(value []int64) *AdaptTemplatedTestStructBuilder
- func (x *AdaptTemplatedTestStructBuilder) AdaptedSetDefault(value []int64) *AdaptTemplatedTestStructBuilder
- func (x *AdaptTemplatedTestStructBuilder) AdaptedShort(value AdaptedShort) *AdaptTemplatedTestStructBuilder
- func (x *AdaptTemplatedTestStructBuilder) AdaptedShortDefault(value AdaptedShort) *AdaptTemplatedTestStructBuilder
- func (x *AdaptTemplatedTestStructBuilder) AdaptedString(value AdaptedString) *AdaptTemplatedTestStructBuilder
- func (x *AdaptTemplatedTestStructBuilder) AdaptedStringDefault(value AdaptedString) *AdaptTemplatedTestStructBuilder
- func (x *AdaptTemplatedTestStructBuilder) DoubleTypedefBool(value DoubleTypedefBool) *AdaptTemplatedTestStructBuilder
- func (x *AdaptTemplatedTestStructBuilder) Emit() *AdaptTemplatedTestStruct
- type AdaptTestStruct
- func (x *AdaptTestStruct) GetBinaryData() []byte
- func (x *AdaptTestStruct) GetCustom() CustomProtocolType
- func (x *AdaptTestStruct) GetData() int64
- func (x *AdaptTestStruct) GetDelay() DurationMs
- func (x *AdaptTestStruct) GetDoubleWrappedBool() AdaptedBool
- func (x *AdaptTestStruct) GetDoubleWrappedInteger() AdaptedInteger
- func (x *AdaptTestStruct) GetIndirectionString() IndirectionString
- func (x *AdaptTestStruct) GetMeta() string
- func (x *AdaptTestStruct) GetStringData() string
- func (x *AdaptTestStruct) GetTimeout() int64
- func (x *AdaptTestStruct) IsSetBinaryData() bool
- func (x *AdaptTestStruct) IsSetCustom() bool
- func (x *AdaptTestStruct) Read(p thrift.Protocol) error
- func (x *AdaptTestStruct) SetBinaryData(value []byte) *AdaptTestStruct
- func (x *AdaptTestStruct) SetCustom(value CustomProtocolType) *AdaptTestStruct
- func (x *AdaptTestStruct) SetData(value int64) *AdaptTestStruct
- func (x *AdaptTestStruct) SetDelay(value DurationMs) *AdaptTestStruct
- func (x *AdaptTestStruct) SetDoubleWrappedBool(value AdaptedBool) *AdaptTestStruct
- func (x *AdaptTestStruct) SetDoubleWrappedInteger(value AdaptedInteger) *AdaptTestStruct
- func (x *AdaptTestStruct) SetIndirectionString(value IndirectionString) *AdaptTestStruct
- func (x *AdaptTestStruct) SetMeta(value string) *AdaptTestStruct
- func (x *AdaptTestStruct) SetStringData(value string) *AdaptTestStruct
- func (x *AdaptTestStruct) SetTimeout(value int64) *AdaptTestStruct
- func (x *AdaptTestStruct) Write(p thrift.Protocol) error
- type AdaptTestStructBuilderdeprecated
- func (x *AdaptTestStructBuilder) BinaryData(value []byte) *AdaptTestStructBuilder
- func (x *AdaptTestStructBuilder) Custom(value CustomProtocolType) *AdaptTestStructBuilder
- func (x *AdaptTestStructBuilder) Data(value int64) *AdaptTestStructBuilder
- func (x *AdaptTestStructBuilder) Delay(value DurationMs) *AdaptTestStructBuilder
- func (x *AdaptTestStructBuilder) DoubleWrappedBool(value AdaptedBool) *AdaptTestStructBuilder
- func (x *AdaptTestStructBuilder) DoubleWrappedInteger(value AdaptedInteger) *AdaptTestStructBuilder
- func (x *AdaptTestStructBuilder) Emit() *AdaptTestStruct
- func (x *AdaptTestStructBuilder) IndirectionString(value IndirectionString) *AdaptTestStructBuilder
- func (x *AdaptTestStructBuilder) Meta(value string) *AdaptTestStructBuilder
- func (x *AdaptTestStructBuilder) StringData(value string) *AdaptTestStructBuilder
- func (x *AdaptTestStructBuilder) Timeout(value int64) *AdaptTestStructBuilder
- type AdaptTestUnion
- func (x *AdaptTestUnion) GetCustom() CustomProtocolType
- func (x *AdaptTestUnion) GetDelay() *DurationMs
- func (x *AdaptTestUnion) IsSetCustom() bool
- func (x *AdaptTestUnion) IsSetDelay() bool
- func (x *AdaptTestUnion) Read(p thrift.Protocol) error
- func (x *AdaptTestUnion) SetCustom(value CustomProtocolType) *AdaptTestUnion
- func (x *AdaptTestUnion) SetDelay(value DurationMs) *AdaptTestUnion
- func (x *AdaptTestUnion) Write(p thrift.Protocol) error
- type AdaptedA
- type AdaptedBool
- type AdaptedByte
- type AdaptedCircularAdaptee
- type AdaptedDouble
- type AdaptedEnum
- type AdaptedInteger
- type AdaptedLong
- type AdaptedShort
- type AdaptedString
- type AdaptedStruct
- type AdaptedStructBuilderdeprecated
- type AdaptedTypedef
- type AdapterService
- type AdapterServiceChannelClient
- func (c *AdapterServiceChannelClient) AdaptedTypes(ctx context.Context, arg *HeapAllocated) (*HeapAllocated, error)
- func (c *AdapterServiceChannelClient) Close() error
- func (c *AdapterServiceChannelClient) Count(ctx context.Context) (*CountingStruct, error)
- func (c *AdapterServiceChannelClient) IsOpen() bool
- func (c *AdapterServiceChannelClient) Open() error
- type AdapterServiceClientdeprecated
- func NewAdapterServiceClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *AdapterServiceClientdeprecated
- func NewAdapterServiceClientFactory(t thrift.Transport, pf thrift.ProtocolFactory) *AdapterServiceClientdeprecated
- func NewAdapterServiceClientProtocol(prot thrift.Protocol) *AdapterServiceClientdeprecated
- func NewAdapterServiceThreadsafeClientProtocol(prot thrift.Protocol) *AdapterServiceClientdeprecated
- type AdapterServiceClientInterfacedeprecated
- 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 AdapterServiceThreadsafeClientdeprecated
- type AlsoMoveOnly
- type AlsoMoveOnlyBuilderdeprecated
- type ApplyAdapter
- type ApplyAdapterBuilderdeprecated
- type B
- type BBuilderdeprecated
- type Bar
- func (x *Bar) GetAdaptedStructField() *DirectlyAdapted
- func (x *Bar) GetOptionalStructField() *Foo
- func (x *Bar) GetOptionalStructListField() []*FooWithAdapter
- func (x *Bar) GetOptionalUnionField() *Baz
- func (x *Bar) GetStructField() *Foo
- func (x *Bar) GetStructListField() []*FooWithAdapter
- func (x *Bar) GetUnionField() *Baz
- func (x *Bar) IsSetAdaptedStructField() bool
- func (x *Bar) IsSetOptionalStructField() bool
- func (x *Bar) IsSetOptionalStructListField() bool
- func (x *Bar) IsSetOptionalUnionField() bool
- func (x *Bar) IsSetStructField() bool
- func (x *Bar) IsSetStructListField() bool
- func (x *Bar) IsSetUnionField() bool
- func (x *Bar) Read(p thrift.Protocol) error
- func (x *Bar) SetAdaptedStructField(value DirectlyAdapted) *Bar
- func (x *Bar) SetOptionalStructField(value Foo) *Bar
- func (x *Bar) SetOptionalStructListField(value []*FooWithAdapter) *Bar
- func (x *Bar) SetOptionalUnionField(value Baz) *Bar
- func (x *Bar) SetStructField(value Foo) *Bar
- func (x *Bar) SetStructListField(value []*FooWithAdapter) *Bar
- func (x *Bar) SetUnionField(value Baz) *Bar
- func (x *Bar) Write(p thrift.Protocol) error
- type BarBuilderdeprecated
- func (x *BarBuilder) AdaptedStructField(value *DirectlyAdapted) *BarBuilder
- func (x *BarBuilder) Emit() *Bar
- func (x *BarBuilder) OptionalStructField(value *Foo) *BarBuilder
- func (x *BarBuilder) OptionalStructListField(value []*FooWithAdapter) *BarBuilder
- func (x *BarBuilder) OptionalUnionField(value *Baz) *BarBuilder
- func (x *BarBuilder) StructField(value *Foo) *BarBuilder
- func (x *BarBuilder) StructListField(value []*FooWithAdapter) *BarBuilder
- func (x *BarBuilder) UnionField(value *Baz) *BarBuilder
- type Baz
- func (x *Baz) GetBinaryField() []byte
- func (x *Baz) GetIntField() *int32
- func (x *Baz) GetLongField() *MyI64
- func (x *Baz) GetMapField() map[string]ListWithElemAdapterWithAdapter
- func (x *Baz) GetSetField() SetWithAdapter
- func (x *Baz) IsSetBinaryField() bool
- func (x *Baz) IsSetIntField() bool
- func (x *Baz) IsSetLongField() bool
- func (x *Baz) IsSetMapField() bool
- func (x *Baz) IsSetSetField() bool
- func (x *Baz) Read(p thrift.Protocol) error
- func (x *Baz) SetBinaryField(value []byte) *Baz
- func (x *Baz) SetIntField(value int32) *Baz
- func (x *Baz) SetLongField(value MyI64) *Baz
- func (x *Baz) SetMapField(value map[string]ListWithElemAdapterWithAdapter) *Baz
- func (x *Baz) SetSetField(value SetWithAdapter) *Baz
- func (x *Baz) Write(p thrift.Protocol) error
- type CircularAdaptee
- type CircularAdapteeBuilderdeprecated
- type CircularStruct
- type CircularStructBuilderdeprecated
- type Color
- func ColorFromString(s string) (Color, error)deprecated
- func ColorPtr(v Color) *Colordeprecated
- type Config
- type ConfigBuilderdeprecated
- type CountingInt
- type CountingStruct
- func (x *CountingStruct) GetCountingInt() *CountingInt
- func (x *CountingStruct) GetRegularInt() *int64
- func (x *CountingStruct) GetRegularString() *string
- func (x *CountingStruct) IsSetCountingInt() bool
- func (x *CountingStruct) IsSetRegularInt() bool
- func (x *CountingStruct) IsSetRegularString() bool
- func (x *CountingStruct) Read(p thrift.Protocol) error
- func (x *CountingStruct) SetCountingInt(value CountingInt) *CountingStruct
- func (x *CountingStruct) SetRegularInt(value int64) *CountingStruct
- func (x *CountingStruct) SetRegularString(value string) *CountingStruct
- func (x *CountingStruct) Write(p thrift.Protocol) error
- type CountingStructBuilderdeprecated
- func (x *CountingStructBuilder) CountingInt(value *CountingInt) *CountingStructBuilder
- func (x *CountingStructBuilder) Emit() *CountingStruct
- func (x *CountingStructBuilder) RegularInt(value *int64) *CountingStructBuilder
- func (x *CountingStructBuilder) RegularString(value *string) *CountingStructBuilder
- type CustomProtocolType
- type DeclaredAfterStruct
- type DeclaredAfterStructBuilderdeprecated
- type DirectlyAdapted
- type DirectlyAdaptedBuilderdeprecated
- type DirectlyAdaptedStruct
- type DirectlyAdaptedStructBuilderdeprecated
- type DoubleTypedefBool
- type DoubleTypedefI64
- type DurationMs
- type Foo
- func (x *Foo) GetAdaptedLongField() MyI64
- func (x *Foo) GetBinaryField() []byte
- func (x *Foo) GetDoubleAdaptedField() DoubleTypedefI64
- func (x *Foo) GetIntField() int32
- func (x *Foo) GetIntFieldWithDefault() int32
- func (x *Foo) GetLongField() MyI64
- func (x *Foo) GetMapField() map[string]ListWithElemAdapterWithAdapter
- func (x *Foo) GetOptionalIntField() *int32
- func (x *Foo) GetOptionalMapField() map[string]ListWithElemAdapterWithAdapter
- func (x *Foo) GetOptionalSetField() SetWithAdapter
- func (x *Foo) GetSetField() SetWithAdapter
- func (x *Foo) IsSetBinaryField() bool
- func (x *Foo) IsSetMapField() bool
- func (x *Foo) IsSetOptionalIntField() bool
- func (x *Foo) IsSetOptionalMapField() bool
- func (x *Foo) IsSetOptionalSetField() bool
- func (x *Foo) IsSetSetField() bool
- func (x *Foo) Read(p thrift.Protocol) error
- func (x *Foo) SetAdaptedLongField(value MyI64) *Foo
- func (x *Foo) SetBinaryField(value []byte) *Foo
- func (x *Foo) SetDoubleAdaptedField(value DoubleTypedefI64) *Foo
- func (x *Foo) SetIntField(value int32) *Foo
- func (x *Foo) SetIntFieldWithDefault(value int32) *Foo
- func (x *Foo) SetLongField(value MyI64) *Foo
- func (x *Foo) SetMapField(value map[string]ListWithElemAdapterWithAdapter) *Foo
- func (x *Foo) SetOptionalIntField(value int32) *Foo
- func (x *Foo) SetOptionalMapField(value map[string]ListWithElemAdapterWithAdapter) *Foo
- func (x *Foo) SetOptionalSetField(value SetWithAdapter) *Foo
- func (x *Foo) SetSetField(value SetWithAdapter) *Foo
- func (x *Foo) Write(p thrift.Protocol) error
- type FooBuilderdeprecated
- func (x *FooBuilder) AdaptedLongField(value MyI64) *FooBuilder
- func (x *FooBuilder) BinaryField(value []byte) *FooBuilder
- func (x *FooBuilder) DoubleAdaptedField(value DoubleTypedefI64) *FooBuilder
- func (x *FooBuilder) Emit() *Foo
- func (x *FooBuilder) IntField(value int32) *FooBuilder
- func (x *FooBuilder) IntFieldWithDefault(value int32) *FooBuilder
- func (x *FooBuilder) LongField(value MyI64) *FooBuilder
- func (x *FooBuilder) MapField(value map[string]ListWithElemAdapterWithAdapter) *FooBuilder
- func (x *FooBuilder) OptionalIntField(value *int32) *FooBuilder
- func (x *FooBuilder) OptionalMapField(value map[string]ListWithElemAdapterWithAdapter) *FooBuilder
- func (x *FooBuilder) OptionalSetField(value SetWithAdapter) *FooBuilder
- func (x *FooBuilder) SetField(value SetWithAdapter) *FooBuilder
- type FooWithAdapter
- type HeapAllocated
- type HeapAllocatedBuilderdeprecated
- type IndependentDirectlyAdapted
- type IndependentDirectlyAdaptedBuilderdeprecated
- type IndirectionString
- type ListWithElemAdapter
- type ListWithElemAdapterWithAdapter
- type MoveOnly
- type MoveOnlyBuilderdeprecated
- type MyAnnotation
- func (x *MyAnnotation) GetColor() Color
- func (x *MyAnnotation) GetSignature() string
- func (x *MyAnnotation) Read(p thrift.Protocol) error
- func (x *MyAnnotation) SetColor(value Color) *MyAnnotation
- func (x *MyAnnotation) SetSignature(value string) *MyAnnotation
- func (x *MyAnnotation) Write(p thrift.Protocol) error
- type MyAnnotationBuilderdeprecated
- type MyI32
- type MyI64
- type MyStruct
- func (x *MyStruct) GetField() int32
- func (x *MyStruct) GetSetString() SetWithAdapter
- func (x *MyStruct) IsSetSetString() bool
- func (x *MyStruct) Read(p thrift.Protocol) error
- func (x *MyStruct) SetField(value int32) *MyStruct
- func (x *MyStruct) SetSetString(value SetWithAdapter) *MyStruct
- func (x *MyStruct) Write(p thrift.Protocol) error
- type MyStructBuilderdeprecated
- type Person
- type Person2
- type Person2Builderdeprecated
- type PersonBuilderdeprecated
- type RenamedStruct
- type RenamedStructBuilderdeprecated
- type ReorderedStruct
- func (x *ReorderedStruct) GetReorderedDependentAdapted() *DeclaredAfterStruct
- func (x *ReorderedStruct) IsSetReorderedDependentAdapted() bool
- func (x *ReorderedStruct) Read(p thrift.Protocol) error
- func (x *ReorderedStruct) SetReorderedDependentAdapted(value DeclaredAfterStruct) *ReorderedStruct
- func (x *ReorderedStruct) Write(p thrift.Protocol) error
- type ReorderedStructBuilderdeprecated
- type SameNamespaceStruct
- type SameNamespaceStructBuilderdeprecated
- type Service
- type ServiceChannelClient
- type ServiceClientdeprecated
- func NewServiceClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *ServiceClientdeprecated
- func NewServiceClientFactory(t thrift.Transport, pf thrift.ProtocolFactory) *ServiceClientdeprecated
- func NewServiceClientProtocol(prot thrift.Protocol) *ServiceClientdeprecated
- func NewServiceThreadsafeClientProtocol(prot thrift.Protocol) *ServiceClientdeprecated
- type ServiceClientInterfacedeprecated
- 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 ServiceThreadsafeClientdeprecated
- type SetWithAdapter
- type StringWithAdapter
- type StructFieldAdaptedStruct
- func (x *StructFieldAdaptedStruct) GetAdaptedStruct() *AdaptedStruct
- func (x *StructFieldAdaptedStruct) GetAdaptedTypedef() *AdaptedTypedef
- func (x *StructFieldAdaptedStruct) GetDirectlyAdapted() *DirectlyAdaptedStruct
- func (x *StructFieldAdaptedStruct) GetTypedefOfAdapted() *TypedefOfDirect
- func (x *StructFieldAdaptedStruct) IsSetAdaptedStruct() bool
- func (x *StructFieldAdaptedStruct) IsSetAdaptedTypedef() bool
- func (x *StructFieldAdaptedStruct) IsSetDirectlyAdapted() bool
- func (x *StructFieldAdaptedStruct) IsSetTypedefOfAdapted() bool
- func (x *StructFieldAdaptedStruct) Read(p thrift.Protocol) error
- func (x *StructFieldAdaptedStruct) SetAdaptedStruct(value AdaptedStruct) *StructFieldAdaptedStruct
- func (x *StructFieldAdaptedStruct) SetAdaptedTypedef(value AdaptedTypedef) *StructFieldAdaptedStruct
- func (x *StructFieldAdaptedStruct) SetDirectlyAdapted(value DirectlyAdaptedStruct) *StructFieldAdaptedStruct
- func (x *StructFieldAdaptedStruct) SetTypedefOfAdapted(value TypedefOfDirect) *StructFieldAdaptedStruct
- func (x *StructFieldAdaptedStruct) Write(p thrift.Protocol) error
- type StructFieldAdaptedStructBuilderdeprecated
- func (x *StructFieldAdaptedStructBuilder) AdaptedStruct(value *AdaptedStruct) *StructFieldAdaptedStructBuilder
- func (x *StructFieldAdaptedStructBuilder) AdaptedTypedef(value *AdaptedTypedef) *StructFieldAdaptedStructBuilder
- func (x *StructFieldAdaptedStructBuilder) DirectlyAdapted(value *DirectlyAdaptedStruct) *StructFieldAdaptedStructBuilder
- func (x *StructFieldAdaptedStructBuilder) Emit() *StructFieldAdaptedStruct
- func (x *StructFieldAdaptedStructBuilder) TypedefOfAdapted(value *TypedefOfDirect) *StructFieldAdaptedStructBuilder
- type StructWithAdapter
- type StructWithFieldAdapter
- func (x *StructWithFieldAdapter) GetField() int32
- func (x *StructWithFieldAdapter) GetOptBoxedField() *int32
- func (x *StructWithFieldAdapter) GetOptSharedField() *int32
- func (x *StructWithFieldAdapter) GetSharedField() int32
- func (x *StructWithFieldAdapter) IsSetOptBoxedField() bool
- func (x *StructWithFieldAdapter) IsSetOptSharedField() bool
- func (x *StructWithFieldAdapter) Read(p thrift.Protocol) error
- func (x *StructWithFieldAdapter) SetField(value int32) *StructWithFieldAdapter
- func (x *StructWithFieldAdapter) SetOptBoxedField(value int32) *StructWithFieldAdapter
- func (x *StructWithFieldAdapter) SetOptSharedField(value int32) *StructWithFieldAdapter
- func (x *StructWithFieldAdapter) SetSharedField(value int32) *StructWithFieldAdapter
- func (x *StructWithFieldAdapter) Write(p thrift.Protocol) error
- type StructWithFieldAdapterBuilderdeprecated
- func (x *StructWithFieldAdapterBuilder) Emit() *StructWithFieldAdapter
- func (x *StructWithFieldAdapterBuilder) Field(value int32) *StructWithFieldAdapterBuilder
- func (x *StructWithFieldAdapterBuilder) OptBoxedField(value *int32) *StructWithFieldAdapterBuilder
- func (x *StructWithFieldAdapterBuilder) OptSharedField(value *int32) *StructWithFieldAdapterBuilder
- func (x *StructWithFieldAdapterBuilder) SharedField(value int32) *StructWithFieldAdapterBuilder
- type TerseAdaptedFields
- func (x *TerseAdaptedFields) GetIntField() int32
- func (x *TerseAdaptedFields) GetSetField() []int32
- func (x *TerseAdaptedFields) GetStringField() string
- func (x *TerseAdaptedFields) IsSetSetField() bool
- func (x *TerseAdaptedFields) Read(p thrift.Protocol) error
- func (x *TerseAdaptedFields) SetIntField(value int32) *TerseAdaptedFields
- func (x *TerseAdaptedFields) SetSetField(value []int32) *TerseAdaptedFields
- func (x *TerseAdaptedFields) SetStringField(value string) *TerseAdaptedFields
- func (x *TerseAdaptedFields) Write(p thrift.Protocol) error
- type TerseAdaptedFieldsBuilderdeprecated
- func (x *TerseAdaptedFieldsBuilder) Emit() *TerseAdaptedFields
- func (x *TerseAdaptedFieldsBuilder) IntField(value int32) *TerseAdaptedFieldsBuilder
- func (x *TerseAdaptedFieldsBuilder) SetField(value []int32) *TerseAdaptedFieldsBuilder
- func (x *TerseAdaptedFieldsBuilder) StringField(value string) *TerseAdaptedFieldsBuilder
- type ThriftAdaptedEnum
- type TransitiveAdapted
- type TransitiveAdaptedBuilderdeprecated
- type TypedefOfDirect
- type UnionWithAdapter
Constants ¶
const Msg string = "hello, world"
const MsgNoTransitive string = "hello, world 2"
const Timeout int32 = 42
const TimeoutNoTransitive int32 = 420
const Var1 int32 = 10
const Var2 string = "20"
const Var4 int32 = 40
const Var5 string = "50"
Variables ¶
var ( Color_name = map[Color]string{ Color_UNKNOWN: "UNKNOWN", Color_RED: "RED", Color_GREEN: "GREEN", Color_BLUE: "BLUE", } Color_value = map[string]Color{ "UNKNOWN": Color_UNKNOWN, "RED": Color_RED, "GREEN": Color_GREEN, "BLUE": Color_BLUE, } // Deprecated: Use Color_name instead. ColorToName = Color_name // Deprecated: Use Color_value instead. ColorToValue = Color_value // Deprecated: Use Color_name instead (e.g. `for name, _ := range Color_name {}`). ColorNames = []string{ "UNKNOWN", "RED", "GREEN", "BLUE", } // Deprecated: Use Color_value instead (e.g. `for value, _ := range Color_value {}`). ColorValues = []Color{ 0, 1, 2, 3, } )
Enum value maps for Color
var ( ThriftAdaptedEnum_name = map[ThriftAdaptedEnum]string{ ThriftAdaptedEnum_Zero: "Zero", ThriftAdaptedEnum_One: "One", } ThriftAdaptedEnum_value = map[string]ThriftAdaptedEnum{ "Zero": ThriftAdaptedEnum_Zero, "One": ThriftAdaptedEnum_One, } // Deprecated: Use ThriftAdaptedEnum_name instead. ThriftAdaptedEnumToName = ThriftAdaptedEnum_name // Deprecated: Use ThriftAdaptedEnum_value instead. ThriftAdaptedEnumToValue = ThriftAdaptedEnum_value // Deprecated: Use ThriftAdaptedEnum_name instead (e.g. `for name, _ := range ThriftAdaptedEnum_name {}`). ThriftAdaptedEnumNames = []string{ "Zero", "One", } // Deprecated: Use ThriftAdaptedEnum_value instead (e.g. `for value, _ := range ThriftAdaptedEnum_value {}`). ThriftAdaptedEnumValues = []ThriftAdaptedEnum{ 0, 1, } )
Enum value maps for ThriftAdaptedEnum
var ContainerOfAdapted []AdaptedByte = []AdaptedByte{
1,
2,
3,
}
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type AdaptTemplatedNestedTestStruct ¶
type AdaptTemplatedNestedTestStruct struct {
AdaptedStruct *AdaptTemplatedTestStruct `thrift:"adaptedStruct,1" json:"adaptedStruct" db:"adaptedStruct"`
}
func NewAdaptTemplatedNestedTestStruct ¶
func NewAdaptTemplatedNestedTestStruct() *AdaptTemplatedNestedTestStruct
func (*AdaptTemplatedNestedTestStruct) GetAdaptedStruct ¶
func (x *AdaptTemplatedNestedTestStruct) GetAdaptedStruct() *AdaptTemplatedTestStruct
func (*AdaptTemplatedNestedTestStruct) IsSetAdaptedStruct ¶
func (x *AdaptTemplatedNestedTestStruct) IsSetAdaptedStruct() bool
func (*AdaptTemplatedNestedTestStruct) Read ¶
func (x *AdaptTemplatedNestedTestStruct) Read(p thrift.Protocol) error
func (*AdaptTemplatedNestedTestStruct) SetAdaptedStruct ¶
func (x *AdaptTemplatedNestedTestStruct) SetAdaptedStruct(value AdaptTemplatedTestStruct) *AdaptTemplatedNestedTestStruct
type AdaptTemplatedNestedTestStructBuilder
deprecated
type AdaptTemplatedNestedTestStructBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use AdaptTemplatedNestedTestStruct.Set* methods instead or set the fields directly.
func NewAdaptTemplatedNestedTestStructBuilder ¶
func NewAdaptTemplatedNestedTestStructBuilder() *AdaptTemplatedNestedTestStructBuilder
func (*AdaptTemplatedNestedTestStructBuilder) AdaptedStruct ¶
func (x *AdaptTemplatedNestedTestStructBuilder) AdaptedStruct(value *AdaptTemplatedTestStruct) *AdaptTemplatedNestedTestStructBuilder
func (*AdaptTemplatedNestedTestStructBuilder) Emit ¶
func (x *AdaptTemplatedNestedTestStructBuilder) Emit() *AdaptTemplatedNestedTestStruct
type AdaptTemplatedTestStruct ¶
type AdaptTemplatedTestStruct struct {
AdaptedBool AdaptedBool `thrift:"adaptedBool,1" json:"adaptedBool" db:"adaptedBool"`
AdaptedByte AdaptedByte `thrift:"adaptedByte,2" json:"adaptedByte" db:"adaptedByte"`
AdaptedShort AdaptedShort `thrift:"adaptedShort,3" json:"adaptedShort" db:"adaptedShort"`
AdaptedInteger AdaptedInteger `thrift:"adaptedInteger,4" json:"adaptedInteger" db:"adaptedInteger"`
AdaptedLong AdaptedLong `thrift:"adaptedLong,5" json:"adaptedLong" db:"adaptedLong"`
AdaptedDouble AdaptedDouble `thrift:"adaptedDouble,6" json:"adaptedDouble" db:"adaptedDouble"`
AdaptedString AdaptedString `thrift:"adaptedString,7" json:"adaptedString" db:"adaptedString"`
AdaptedList []int64 `thrift:"adaptedList,8" json:"adaptedList" db:"adaptedList"`
AdaptedSet []int64 `thrift:"adaptedSet,9" json:"adaptedSet" db:"adaptedSet"`
AdaptedMap map[int64]int64 `thrift:"adaptedMap,10" json:"adaptedMap" db:"adaptedMap"`
AdaptedBoolDefault AdaptedBool `thrift:"adaptedBoolDefault,11" json:"adaptedBoolDefault" db:"adaptedBoolDefault"`
AdaptedByteDefault AdaptedByte `thrift:"adaptedByteDefault,12" json:"adaptedByteDefault" db:"adaptedByteDefault"`
AdaptedShortDefault AdaptedShort `thrift:"adaptedShortDefault,13" json:"adaptedShortDefault" db:"adaptedShortDefault"`
AdaptedIntegerDefault AdaptedInteger `thrift:"adaptedIntegerDefault,14" json:"adaptedIntegerDefault" db:"adaptedIntegerDefault"`
AdaptedLongDefault AdaptedLong `thrift:"adaptedLongDefault,15" json:"adaptedLongDefault" db:"adaptedLongDefault"`
AdaptedDoubleDefault AdaptedDouble `thrift:"adaptedDoubleDefault,16" json:"adaptedDoubleDefault" db:"adaptedDoubleDefault"`
AdaptedStringDefault AdaptedString `thrift:"adaptedStringDefault,17" json:"adaptedStringDefault" db:"adaptedStringDefault"`
AdaptedEnum AdaptedEnum `thrift:"adaptedEnum,18" json:"adaptedEnum" db:"adaptedEnum"`
AdaptedListDefault []int64 `thrift:"adaptedListDefault,19" json:"adaptedListDefault" db:"adaptedListDefault"`
AdaptedSetDefault []int64 `thrift:"adaptedSetDefault,20" json:"adaptedSetDefault" db:"adaptedSetDefault"`
AdaptedMapDefault map[int64]int64 `thrift:"adaptedMapDefault,21" json:"adaptedMapDefault" db:"adaptedMapDefault"`
DoubleTypedefBool DoubleTypedefBool `thrift:"doubleTypedefBool,22" json:"doubleTypedefBool" db:"doubleTypedefBool"`
}
func NewAdaptTemplatedTestStruct ¶
func NewAdaptTemplatedTestStruct() *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) GetAdaptedBool ¶
func (x *AdaptTemplatedTestStruct) GetAdaptedBool() AdaptedBool
func (*AdaptTemplatedTestStruct) GetAdaptedBoolDefault ¶
func (x *AdaptTemplatedTestStruct) GetAdaptedBoolDefault() AdaptedBool
func (*AdaptTemplatedTestStruct) GetAdaptedByte ¶
func (x *AdaptTemplatedTestStruct) GetAdaptedByte() AdaptedByte
func (*AdaptTemplatedTestStruct) GetAdaptedByteDefault ¶
func (x *AdaptTemplatedTestStruct) GetAdaptedByteDefault() AdaptedByte
func (*AdaptTemplatedTestStruct) GetAdaptedDouble ¶
func (x *AdaptTemplatedTestStruct) GetAdaptedDouble() AdaptedDouble
func (*AdaptTemplatedTestStruct) GetAdaptedDoubleDefault ¶
func (x *AdaptTemplatedTestStruct) GetAdaptedDoubleDefault() AdaptedDouble
func (*AdaptTemplatedTestStruct) GetAdaptedEnum ¶
func (x *AdaptTemplatedTestStruct) GetAdaptedEnum() AdaptedEnum
func (*AdaptTemplatedTestStruct) GetAdaptedInteger ¶
func (x *AdaptTemplatedTestStruct) GetAdaptedInteger() AdaptedInteger
func (*AdaptTemplatedTestStruct) GetAdaptedIntegerDefault ¶
func (x *AdaptTemplatedTestStruct) GetAdaptedIntegerDefault() AdaptedInteger
func (*AdaptTemplatedTestStruct) GetAdaptedList ¶
func (x *AdaptTemplatedTestStruct) GetAdaptedList() []int64
func (*AdaptTemplatedTestStruct) GetAdaptedListDefault ¶
func (x *AdaptTemplatedTestStruct) GetAdaptedListDefault() []int64
func (*AdaptTemplatedTestStruct) GetAdaptedLong ¶
func (x *AdaptTemplatedTestStruct) GetAdaptedLong() AdaptedLong
func (*AdaptTemplatedTestStruct) GetAdaptedLongDefault ¶
func (x *AdaptTemplatedTestStruct) GetAdaptedLongDefault() AdaptedLong
func (*AdaptTemplatedTestStruct) GetAdaptedMap ¶
func (x *AdaptTemplatedTestStruct) GetAdaptedMap() map[int64]int64
func (*AdaptTemplatedTestStruct) GetAdaptedMapDefault ¶
func (x *AdaptTemplatedTestStruct) GetAdaptedMapDefault() map[int64]int64
func (*AdaptTemplatedTestStruct) GetAdaptedSet ¶
func (x *AdaptTemplatedTestStruct) GetAdaptedSet() []int64
func (*AdaptTemplatedTestStruct) GetAdaptedSetDefault ¶
func (x *AdaptTemplatedTestStruct) GetAdaptedSetDefault() []int64
func (*AdaptTemplatedTestStruct) GetAdaptedShort ¶
func (x *AdaptTemplatedTestStruct) GetAdaptedShort() AdaptedShort
func (*AdaptTemplatedTestStruct) GetAdaptedShortDefault ¶
func (x *AdaptTemplatedTestStruct) GetAdaptedShortDefault() AdaptedShort
func (*AdaptTemplatedTestStruct) GetAdaptedString ¶
func (x *AdaptTemplatedTestStruct) GetAdaptedString() AdaptedString
func (*AdaptTemplatedTestStruct) GetAdaptedStringDefault ¶
func (x *AdaptTemplatedTestStruct) GetAdaptedStringDefault() AdaptedString
func (*AdaptTemplatedTestStruct) GetDoubleTypedefBool ¶
func (x *AdaptTemplatedTestStruct) GetDoubleTypedefBool() DoubleTypedefBool
func (*AdaptTemplatedTestStruct) IsSetAdaptedList ¶
func (x *AdaptTemplatedTestStruct) IsSetAdaptedList() bool
func (*AdaptTemplatedTestStruct) IsSetAdaptedListDefault ¶
func (x *AdaptTemplatedTestStruct) IsSetAdaptedListDefault() bool
func (*AdaptTemplatedTestStruct) IsSetAdaptedMap ¶
func (x *AdaptTemplatedTestStruct) IsSetAdaptedMap() bool
func (*AdaptTemplatedTestStruct) IsSetAdaptedMapDefault ¶
func (x *AdaptTemplatedTestStruct) IsSetAdaptedMapDefault() bool
func (*AdaptTemplatedTestStruct) IsSetAdaptedSet ¶
func (x *AdaptTemplatedTestStruct) IsSetAdaptedSet() bool
func (*AdaptTemplatedTestStruct) IsSetAdaptedSetDefault ¶
func (x *AdaptTemplatedTestStruct) IsSetAdaptedSetDefault() bool
func (*AdaptTemplatedTestStruct) Read ¶
func (x *AdaptTemplatedTestStruct) Read(p thrift.Protocol) error
func (*AdaptTemplatedTestStruct) SetAdaptedBool ¶
func (x *AdaptTemplatedTestStruct) SetAdaptedBool(value AdaptedBool) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedBoolDefault ¶
func (x *AdaptTemplatedTestStruct) SetAdaptedBoolDefault(value AdaptedBool) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedByte ¶
func (x *AdaptTemplatedTestStruct) SetAdaptedByte(value AdaptedByte) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedByteDefault ¶
func (x *AdaptTemplatedTestStruct) SetAdaptedByteDefault(value AdaptedByte) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedDouble ¶
func (x *AdaptTemplatedTestStruct) SetAdaptedDouble(value AdaptedDouble) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedDoubleDefault ¶
func (x *AdaptTemplatedTestStruct) SetAdaptedDoubleDefault(value AdaptedDouble) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedEnum ¶
func (x *AdaptTemplatedTestStruct) SetAdaptedEnum(value AdaptedEnum) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedInteger ¶
func (x *AdaptTemplatedTestStruct) SetAdaptedInteger(value AdaptedInteger) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedIntegerDefault ¶
func (x *AdaptTemplatedTestStruct) SetAdaptedIntegerDefault(value AdaptedInteger) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedList ¶
func (x *AdaptTemplatedTestStruct) SetAdaptedList(value []int64) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedListDefault ¶
func (x *AdaptTemplatedTestStruct) SetAdaptedListDefault(value []int64) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedLong ¶
func (x *AdaptTemplatedTestStruct) SetAdaptedLong(value AdaptedLong) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedLongDefault ¶
func (x *AdaptTemplatedTestStruct) SetAdaptedLongDefault(value AdaptedLong) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedMap ¶
func (x *AdaptTemplatedTestStruct) SetAdaptedMap(value map[int64]int64) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedMapDefault ¶
func (x *AdaptTemplatedTestStruct) SetAdaptedMapDefault(value map[int64]int64) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedSet ¶
func (x *AdaptTemplatedTestStruct) SetAdaptedSet(value []int64) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedSetDefault ¶
func (x *AdaptTemplatedTestStruct) SetAdaptedSetDefault(value []int64) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedShort ¶
func (x *AdaptTemplatedTestStruct) SetAdaptedShort(value AdaptedShort) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedShortDefault ¶
func (x *AdaptTemplatedTestStruct) SetAdaptedShortDefault(value AdaptedShort) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedString ¶
func (x *AdaptTemplatedTestStruct) SetAdaptedString(value AdaptedString) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetAdaptedStringDefault ¶
func (x *AdaptTemplatedTestStruct) SetAdaptedStringDefault(value AdaptedString) *AdaptTemplatedTestStruct
func (*AdaptTemplatedTestStruct) SetDoubleTypedefBool ¶
func (x *AdaptTemplatedTestStruct) SetDoubleTypedefBool(value DoubleTypedefBool) *AdaptTemplatedTestStruct
type AdaptTemplatedTestStructBuilder
deprecated
type AdaptTemplatedTestStructBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use AdaptTemplatedTestStruct.Set* methods instead or set the fields directly.
func NewAdaptTemplatedTestStructBuilder ¶
func NewAdaptTemplatedTestStructBuilder() *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedBool ¶
func (x *AdaptTemplatedTestStructBuilder) AdaptedBool(value AdaptedBool) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedBoolDefault ¶
func (x *AdaptTemplatedTestStructBuilder) AdaptedBoolDefault(value AdaptedBool) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedByte ¶
func (x *AdaptTemplatedTestStructBuilder) AdaptedByte(value AdaptedByte) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedByteDefault ¶
func (x *AdaptTemplatedTestStructBuilder) AdaptedByteDefault(value AdaptedByte) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedDouble ¶
func (x *AdaptTemplatedTestStructBuilder) AdaptedDouble(value AdaptedDouble) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedDoubleDefault ¶
func (x *AdaptTemplatedTestStructBuilder) AdaptedDoubleDefault(value AdaptedDouble) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedEnum ¶
func (x *AdaptTemplatedTestStructBuilder) AdaptedEnum(value AdaptedEnum) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedInteger ¶
func (x *AdaptTemplatedTestStructBuilder) AdaptedInteger(value AdaptedInteger) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedIntegerDefault ¶
func (x *AdaptTemplatedTestStructBuilder) AdaptedIntegerDefault(value AdaptedInteger) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedList ¶
func (x *AdaptTemplatedTestStructBuilder) AdaptedList(value []int64) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedListDefault ¶
func (x *AdaptTemplatedTestStructBuilder) AdaptedListDefault(value []int64) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedLong ¶
func (x *AdaptTemplatedTestStructBuilder) AdaptedLong(value AdaptedLong) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedLongDefault ¶
func (x *AdaptTemplatedTestStructBuilder) AdaptedLongDefault(value AdaptedLong) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedMap ¶
func (x *AdaptTemplatedTestStructBuilder) AdaptedMap(value map[int64]int64) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedMapDefault ¶
func (x *AdaptTemplatedTestStructBuilder) AdaptedMapDefault(value map[int64]int64) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedSet ¶
func (x *AdaptTemplatedTestStructBuilder) AdaptedSet(value []int64) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedSetDefault ¶
func (x *AdaptTemplatedTestStructBuilder) AdaptedSetDefault(value []int64) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedShort ¶
func (x *AdaptTemplatedTestStructBuilder) AdaptedShort(value AdaptedShort) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedShortDefault ¶
func (x *AdaptTemplatedTestStructBuilder) AdaptedShortDefault(value AdaptedShort) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedString ¶
func (x *AdaptTemplatedTestStructBuilder) AdaptedString(value AdaptedString) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) AdaptedStringDefault ¶
func (x *AdaptTemplatedTestStructBuilder) AdaptedStringDefault(value AdaptedString) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) DoubleTypedefBool ¶
func (x *AdaptTemplatedTestStructBuilder) DoubleTypedefBool(value DoubleTypedefBool) *AdaptTemplatedTestStructBuilder
func (*AdaptTemplatedTestStructBuilder) Emit ¶
func (x *AdaptTemplatedTestStructBuilder) Emit() *AdaptTemplatedTestStruct
type AdaptTestStruct ¶
type AdaptTestStruct struct {
Delay DurationMs `thrift:"delay,1" json:"delay" db:"delay"`
Custom CustomProtocolType `thrift:"custom,2" json:"custom" db:"custom"`
Timeout int64 `thrift:"timeout,3" json:"timeout" db:"timeout"`
Data int64 `thrift:"data,4" json:"data" db:"data"`
Meta string `thrift:"meta,5" json:"meta" db:"meta"`
IndirectionString IndirectionString `thrift:"indirectionString,6" json:"indirectionString" db:"indirectionString"`
StringData string `thrift:"string_data,7" json:"string_data" db:"string_data"`
DoubleWrappedBool AdaptedBool `thrift:"double_wrapped_bool,8" json:"double_wrapped_bool" db:"double_wrapped_bool"`
DoubleWrappedInteger AdaptedInteger `thrift:"double_wrapped_integer,9" json:"double_wrapped_integer" db:"double_wrapped_integer"`
BinaryData []byte `thrift:"binary_data,10" json:"binary_data" db:"binary_data"`
}
func NewAdaptTestStruct ¶
func NewAdaptTestStruct() *AdaptTestStruct
func (*AdaptTestStruct) GetBinaryData ¶
func (x *AdaptTestStruct) GetBinaryData() []byte
func (*AdaptTestStruct) GetCustom ¶
func (x *AdaptTestStruct) GetCustom() CustomProtocolType
func (*AdaptTestStruct) GetData ¶
func (x *AdaptTestStruct) GetData() int64
func (*AdaptTestStruct) GetDelay ¶
func (x *AdaptTestStruct) GetDelay() DurationMs
func (*AdaptTestStruct) GetDoubleWrappedBool ¶
func (x *AdaptTestStruct) GetDoubleWrappedBool() AdaptedBool
func (*AdaptTestStruct) GetDoubleWrappedInteger ¶
func (x *AdaptTestStruct) GetDoubleWrappedInteger() AdaptedInteger
func (*AdaptTestStruct) GetIndirectionString ¶
func (x *AdaptTestStruct) GetIndirectionString() IndirectionString
func (*AdaptTestStruct) GetMeta ¶
func (x *AdaptTestStruct) GetMeta() string
func (*AdaptTestStruct) GetStringData ¶
func (x *AdaptTestStruct) GetStringData() string
func (*AdaptTestStruct) GetTimeout ¶
func (x *AdaptTestStruct) GetTimeout() int64
func (*AdaptTestStruct) IsSetBinaryData ¶
func (x *AdaptTestStruct) IsSetBinaryData() bool
func (*AdaptTestStruct) IsSetCustom ¶
func (x *AdaptTestStruct) IsSetCustom() bool
func (*AdaptTestStruct) SetBinaryData ¶
func (x *AdaptTestStruct) SetBinaryData(value []byte) *AdaptTestStruct
func (*AdaptTestStruct) SetCustom ¶
func (x *AdaptTestStruct) SetCustom(value CustomProtocolType) *AdaptTestStruct
func (*AdaptTestStruct) SetData ¶
func (x *AdaptTestStruct) SetData(value int64) *AdaptTestStruct
func (*AdaptTestStruct) SetDelay ¶
func (x *AdaptTestStruct) SetDelay(value DurationMs) *AdaptTestStruct
func (*AdaptTestStruct) SetDoubleWrappedBool ¶
func (x *AdaptTestStruct) SetDoubleWrappedBool(value AdaptedBool) *AdaptTestStruct
func (*AdaptTestStruct) SetDoubleWrappedInteger ¶
func (x *AdaptTestStruct) SetDoubleWrappedInteger(value AdaptedInteger) *AdaptTestStruct
func (*AdaptTestStruct) SetIndirectionString ¶
func (x *AdaptTestStruct) SetIndirectionString(value IndirectionString) *AdaptTestStruct
func (*AdaptTestStruct) SetMeta ¶
func (x *AdaptTestStruct) SetMeta(value string) *AdaptTestStruct
func (*AdaptTestStruct) SetStringData ¶
func (x *AdaptTestStruct) SetStringData(value string) *AdaptTestStruct
func (*AdaptTestStruct) SetTimeout ¶
func (x *AdaptTestStruct) SetTimeout(value int64) *AdaptTestStruct
type AdaptTestStructBuilder
deprecated
type AdaptTestStructBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use AdaptTestStruct.Set* methods instead or set the fields directly.
func NewAdaptTestStructBuilder ¶
func NewAdaptTestStructBuilder() *AdaptTestStructBuilder
func (*AdaptTestStructBuilder) BinaryData ¶
func (x *AdaptTestStructBuilder) BinaryData(value []byte) *AdaptTestStructBuilder
func (*AdaptTestStructBuilder) Custom ¶
func (x *AdaptTestStructBuilder) Custom(value CustomProtocolType) *AdaptTestStructBuilder
func (*AdaptTestStructBuilder) Data ¶
func (x *AdaptTestStructBuilder) Data(value int64) *AdaptTestStructBuilder
func (*AdaptTestStructBuilder) Delay ¶
func (x *AdaptTestStructBuilder) Delay(value DurationMs) *AdaptTestStructBuilder
func (*AdaptTestStructBuilder) DoubleWrappedBool ¶
func (x *AdaptTestStructBuilder) DoubleWrappedBool(value AdaptedBool) *AdaptTestStructBuilder
func (*AdaptTestStructBuilder) DoubleWrappedInteger ¶
func (x *AdaptTestStructBuilder) DoubleWrappedInteger(value AdaptedInteger) *AdaptTestStructBuilder
func (*AdaptTestStructBuilder) Emit ¶
func (x *AdaptTestStructBuilder) Emit() *AdaptTestStruct
func (*AdaptTestStructBuilder) IndirectionString ¶
func (x *AdaptTestStructBuilder) IndirectionString(value IndirectionString) *AdaptTestStructBuilder
func (*AdaptTestStructBuilder) Meta ¶
func (x *AdaptTestStructBuilder) Meta(value string) *AdaptTestStructBuilder
func (*AdaptTestStructBuilder) StringData ¶
func (x *AdaptTestStructBuilder) StringData(value string) *AdaptTestStructBuilder
func (*AdaptTestStructBuilder) Timeout ¶
func (x *AdaptTestStructBuilder) Timeout(value int64) *AdaptTestStructBuilder
type AdaptTestUnion ¶
type AdaptTestUnion struct {
Delay *DurationMs `thrift:"delay,1" json:"delay" db:"delay"`
Custom CustomProtocolType `thrift:"custom,2" json:"custom" db:"custom"`
}
func NewAdaptTestUnion ¶
func NewAdaptTestUnion() *AdaptTestUnion
func (*AdaptTestUnion) GetCustom ¶
func (x *AdaptTestUnion) GetCustom() CustomProtocolType
func (*AdaptTestUnion) GetDelay ¶
func (x *AdaptTestUnion) GetDelay() *DurationMs
func (*AdaptTestUnion) IsSetCustom ¶
func (x *AdaptTestUnion) IsSetCustom() bool
func (*AdaptTestUnion) IsSetDelay ¶
func (x *AdaptTestUnion) IsSetDelay() bool
func (*AdaptTestUnion) SetCustom ¶
func (x *AdaptTestUnion) SetCustom(value CustomProtocolType) *AdaptTestUnion
func (*AdaptTestUnion) SetDelay ¶
func (x *AdaptTestUnion) SetDelay(value DurationMs) *AdaptTestUnion
type AdaptedByte ¶
type AdaptedByte = byte
type AdaptedCircularAdaptee ¶
type AdaptedCircularAdaptee = CircularAdaptee
type AdaptedDouble ¶
type AdaptedDouble = float64
type AdaptedEnum ¶
type AdaptedEnum = ThriftAdaptedEnum
type AdaptedInteger ¶
type AdaptedInteger = int32
type AdaptedLong ¶
type AdaptedLong = int64
type AdaptedShort ¶
type AdaptedShort = int16
type AdaptedString ¶
type AdaptedString = string
type AdaptedStruct ¶
type AdaptedStruct struct {
Data int64 `thrift:"data,1" json:"data" db:"data"`
}
func NewAdaptedStruct ¶
func NewAdaptedStruct() *AdaptedStruct
func (*AdaptedStruct) GetData ¶
func (x *AdaptedStruct) GetData() int64
func (*AdaptedStruct) SetData ¶
func (x *AdaptedStruct) SetData(value int64) *AdaptedStruct
type AdaptedStructBuilder
deprecated
type AdaptedStructBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use AdaptedStruct.Set* methods instead or set the fields directly.
func NewAdaptedStructBuilder ¶
func NewAdaptedStructBuilder() *AdaptedStructBuilder
func (*AdaptedStructBuilder) Data ¶
func (x *AdaptedStructBuilder) Data(value int64) *AdaptedStructBuilder
func (*AdaptedStructBuilder) Emit ¶
func (x *AdaptedStructBuilder) Emit() *AdaptedStruct
type AdaptedTypedef ¶
type AdaptedTypedef = AdaptedStruct
type AdapterService ¶
type AdapterService interface {
Count(ctx context.Context) (*CountingStruct, error)
AdaptedTypes(ctx context.Context, arg *HeapAllocated) (*HeapAllocated, error)
}
type AdapterServiceChannelClient ¶
type AdapterServiceChannelClient struct {
// contains filtered or unexported fields
}
func NewAdapterServiceChannelClient ¶
func NewAdapterServiceChannelClient(channel thrift.RequestChannel) *AdapterServiceChannelClient
func (*AdapterServiceChannelClient) AdaptedTypes ¶
func (c *AdapterServiceChannelClient) AdaptedTypes(ctx context.Context, arg *HeapAllocated) (*HeapAllocated, error)
func (*AdapterServiceChannelClient) Close ¶
func (c *AdapterServiceChannelClient) Close() error
func (*AdapterServiceChannelClient) Count ¶
func (c *AdapterServiceChannelClient) Count(ctx context.Context) (*CountingStruct, error)
func (*AdapterServiceChannelClient) IsOpen ¶
func (c *AdapterServiceChannelClient) IsOpen() bool
func (*AdapterServiceChannelClient) Open ¶
func (c *AdapterServiceChannelClient) Open() error
type AdapterServiceClient
deprecated
type AdapterServiceClient struct {
// contains filtered or unexported fields
}
Deprecated: Use AdapterServiceChannelClient instead.
func NewAdapterServiceClient
deprecated
func NewAdapterServiceClientFactory
deprecated
func NewAdapterServiceClientFactory(t thrift.Transport, pf thrift.ProtocolFactory) *AdapterServiceClient
Deprecated: Use NewAdapterServiceChannelClient() instead.
func NewAdapterServiceClientProtocol
deprecated
func NewAdapterServiceClientProtocol(prot thrift.Protocol) *AdapterServiceClient
Deprecated: Use NewAdapterServiceChannelClient() instead.
func NewAdapterServiceThreadsafeClientProtocol
deprecated
func NewAdapterServiceThreadsafeClientProtocol(prot thrift.Protocol) *AdapterServiceClient
Deprecated: Use NewAdapterServiceChannelClient() instead.
func (*AdapterServiceClient) AdaptedTypes ¶
func (c *AdapterServiceClient) AdaptedTypes(arg *HeapAllocated) (*HeapAllocated, error)
func (*AdapterServiceClient) Close ¶
func (c *AdapterServiceClient) Close() error
func (*AdapterServiceClient) Count ¶
func (c *AdapterServiceClient) Count() (*CountingStruct, error)
func (*AdapterServiceClient) IsOpen ¶
func (c *AdapterServiceClient) IsOpen() bool
func (*AdapterServiceClient) Open ¶
func (c *AdapterServiceClient) Open() error
type AdapterServiceClientInterface
deprecated
type AdapterServiceClientInterface interface {
thrift.ClientInterface
Count() (*CountingStruct, error)
AdaptedTypes(arg *HeapAllocated) (*HeapAllocated, error)
}
Deprecated: Use AdapterService instead.
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
deprecated
type AdapterServiceThreadsafeClient = AdapterServiceClient
Deprecated: Use AdapterServiceChannelClient instead.
func NewAdapterServiceThreadsafeClient
deprecated
func NewAdapterServiceThreadsafeClientFactory
deprecated
func NewAdapterServiceThreadsafeClientFactory(t thrift.Transport, pf thrift.ProtocolFactory) *AdapterServiceThreadsafeClient
Deprecated: Use NewAdapterServiceChannelClient() instead.
type AlsoMoveOnly ¶
type AlsoMoveOnly struct {
Ptr int64 `thrift:"ptr,1" json:"ptr" db:"ptr"`
}
func NewAlsoMoveOnly ¶
func NewAlsoMoveOnly() *AlsoMoveOnly
func (*AlsoMoveOnly) GetPtr ¶
func (x *AlsoMoveOnly) GetPtr() int64
func (*AlsoMoveOnly) SetPtr ¶
func (x *AlsoMoveOnly) SetPtr(value int64) *AlsoMoveOnly
type AlsoMoveOnlyBuilder
deprecated
type AlsoMoveOnlyBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use AlsoMoveOnly.Set* methods instead or set the fields directly.
func NewAlsoMoveOnlyBuilder ¶
func NewAlsoMoveOnlyBuilder() *AlsoMoveOnlyBuilder
func (*AlsoMoveOnlyBuilder) Emit ¶
func (x *AlsoMoveOnlyBuilder) Emit() *AlsoMoveOnly
func (*AlsoMoveOnlyBuilder) Ptr ¶
func (x *AlsoMoveOnlyBuilder) Ptr(value int64) *AlsoMoveOnlyBuilder
type ApplyAdapter ¶
type ApplyAdapter struct {
}
func NewApplyAdapter ¶
func NewApplyAdapter() *ApplyAdapter
type ApplyAdapterBuilder
deprecated
type ApplyAdapterBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use ApplyAdapter.Set* methods instead or set the fields directly.
func NewApplyAdapterBuilder ¶
func NewApplyAdapterBuilder() *ApplyAdapterBuilder
func (*ApplyAdapterBuilder) Emit ¶
func (x *ApplyAdapterBuilder) Emit() *ApplyAdapter
type BBuilder
deprecated
type BBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use B.Set* methods instead or set the fields directly.
func NewBBuilder ¶
func NewBBuilder() *BBuilder
type Bar ¶
type Bar struct {
StructField *Foo `thrift:"structField,1" json:"structField" db:"structField"`
OptionalStructField *Foo `thrift:"optionalStructField,2,optional" json:"optionalStructField,omitempty" db:"optionalStructField"`
StructListField []*FooWithAdapter `thrift:"structListField,3" json:"structListField" db:"structListField"`
OptionalStructListField []*FooWithAdapter `thrift:"optionalStructListField,4,optional" json:"optionalStructListField,omitempty" db:"optionalStructListField"`
UnionField *Baz `thrift:"unionField,5" json:"unionField" db:"unionField"`
OptionalUnionField *Baz `thrift:"optionalUnionField,6,optional" json:"optionalUnionField,omitempty" db:"optionalUnionField"`
AdaptedStructField *DirectlyAdapted `thrift:"adaptedStructField,7" json:"adaptedStructField" db:"adaptedStructField"`
}
func (*Bar) GetAdaptedStructField ¶
func (x *Bar) GetAdaptedStructField() *DirectlyAdapted
func (*Bar) GetOptionalStructField ¶
func (*Bar) GetOptionalStructListField ¶
func (x *Bar) GetOptionalStructListField() []*FooWithAdapter
func (*Bar) GetOptionalUnionField ¶
func (*Bar) GetStructField ¶
func (*Bar) GetStructListField ¶
func (x *Bar) GetStructListField() []*FooWithAdapter
func (*Bar) GetUnionField ¶
func (*Bar) IsSetAdaptedStructField ¶
func (*Bar) IsSetOptionalStructField ¶
func (*Bar) IsSetOptionalStructListField ¶
func (*Bar) IsSetOptionalUnionField ¶
func (*Bar) IsSetStructField ¶
func (*Bar) IsSetStructListField ¶
func (*Bar) IsSetUnionField ¶
func (*Bar) SetAdaptedStructField ¶
func (x *Bar) SetAdaptedStructField(value DirectlyAdapted) *Bar
func (*Bar) SetOptionalStructField ¶
func (*Bar) SetOptionalStructListField ¶
func (x *Bar) SetOptionalStructListField(value []*FooWithAdapter) *Bar
func (*Bar) SetOptionalUnionField ¶
func (*Bar) SetStructField ¶
func (*Bar) SetStructListField ¶
func (x *Bar) SetStructListField(value []*FooWithAdapter) *Bar
func (*Bar) SetUnionField ¶
type BarBuilder
deprecated
type BarBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use Bar.Set* methods instead or set the fields directly.
func NewBarBuilder ¶
func NewBarBuilder() *BarBuilder
func (*BarBuilder) AdaptedStructField ¶
func (x *BarBuilder) AdaptedStructField(value *DirectlyAdapted) *BarBuilder
func (*BarBuilder) Emit ¶
func (x *BarBuilder) Emit() *Bar
func (*BarBuilder) OptionalStructField ¶
func (x *BarBuilder) OptionalStructField(value *Foo) *BarBuilder
func (*BarBuilder) OptionalStructListField ¶
func (x *BarBuilder) OptionalStructListField(value []*FooWithAdapter) *BarBuilder
func (*BarBuilder) OptionalUnionField ¶
func (x *BarBuilder) OptionalUnionField(value *Baz) *BarBuilder
func (*BarBuilder) StructField ¶
func (x *BarBuilder) StructField(value *Foo) *BarBuilder
func (*BarBuilder) StructListField ¶
func (x *BarBuilder) StructListField(value []*FooWithAdapter) *BarBuilder
func (*BarBuilder) UnionField ¶
func (x *BarBuilder) UnionField(value *Baz) *BarBuilder
type Baz ¶
type Baz struct {
IntField *int32 `thrift:"intField,1" json:"intField" db:"intField"`
SetField SetWithAdapter `thrift:"setField,4" json:"setField" db:"setField"`
MapField map[string]ListWithElemAdapterWithAdapter `thrift:"mapField,6" json:"mapField" db:"mapField"`
BinaryField []byte `thrift:"binaryField,8" json:"binaryField" db:"binaryField"`
LongField *MyI64 `thrift:"longField,9" json:"longField" db:"longField"`
}
func (*Baz) GetBinaryField ¶
func (*Baz) GetIntField ¶
func (*Baz) GetLongField ¶
func (*Baz) GetMapField ¶
func (x *Baz) GetMapField() map[string]ListWithElemAdapterWithAdapter
func (*Baz) GetSetField ¶
func (x *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 (x *Baz) SetMapField(value map[string]ListWithElemAdapterWithAdapter) *Baz
func (*Baz) SetSetField ¶
func (x *Baz) SetSetField(value SetWithAdapter) *Baz
type CircularAdaptee ¶
type CircularAdaptee struct {
Field *CircularStruct `thrift:"field,1" json:"field" db:"field"`
}
func NewCircularAdaptee ¶
func NewCircularAdaptee() *CircularAdaptee
func (*CircularAdaptee) GetField ¶
func (x *CircularAdaptee) GetField() *CircularStruct
func (*CircularAdaptee) IsSetField ¶
func (x *CircularAdaptee) IsSetField() bool
func (*CircularAdaptee) SetField ¶
func (x *CircularAdaptee) SetField(value CircularStruct) *CircularAdaptee
type CircularAdapteeBuilder
deprecated
type CircularAdapteeBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use CircularAdaptee.Set* methods instead or set the fields directly.
func NewCircularAdapteeBuilder ¶
func NewCircularAdapteeBuilder() *CircularAdapteeBuilder
func (*CircularAdapteeBuilder) Emit ¶
func (x *CircularAdapteeBuilder) Emit() *CircularAdaptee
func (*CircularAdapteeBuilder) Field ¶
func (x *CircularAdapteeBuilder) Field(value *CircularStruct) *CircularAdapteeBuilder
type CircularStruct ¶
type CircularStruct struct {
Field *AdaptedCircularAdaptee `thrift:"field,1,optional" json:"field,omitempty" db:"field"`
}
func NewCircularStruct ¶
func NewCircularStruct() *CircularStruct
func (*CircularStruct) GetField ¶
func (x *CircularStruct) GetField() *AdaptedCircularAdaptee
func (*CircularStruct) IsSetField ¶
func (x *CircularStruct) IsSetField() bool
func (*CircularStruct) SetField ¶
func (x *CircularStruct) SetField(value AdaptedCircularAdaptee) *CircularStruct
type CircularStructBuilder
deprecated
type CircularStructBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use CircularStruct.Set* methods instead or set the fields directly.
func NewCircularStructBuilder ¶
func NewCircularStructBuilder() *CircularStructBuilder
func (*CircularStructBuilder) Emit ¶
func (x *CircularStructBuilder) Emit() *CircularStruct
func (*CircularStructBuilder) Field ¶
func (x *CircularStructBuilder) Field(value *AdaptedCircularAdaptee) *CircularStructBuilder
type ConfigBuilder
deprecated
type ConfigBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use Config.Set* methods instead or set the fields directly.
func NewConfigBuilder ¶
func NewConfigBuilder() *ConfigBuilder
func (*ConfigBuilder) Emit ¶
func (x *ConfigBuilder) Emit() *Config
func (*ConfigBuilder) Path ¶
func (x *ConfigBuilder) Path(value string) *ConfigBuilder
type CountingInt ¶
type CountingInt = int64
type CountingStruct ¶
type CountingStruct struct {
RegularInt *int64 `thrift:"regularInt,1,optional" json:"regularInt,omitempty" db:"regularInt"`
CountingInt *CountingInt `thrift:"countingInt,2,optional" json:"countingInt,omitempty" db:"countingInt"`
RegularString *string `thrift:"regularString,3,optional" json:"regularString,omitempty" db:"regularString"`
}
func NewCountingStruct ¶
func NewCountingStruct() *CountingStruct
func (*CountingStruct) GetCountingInt ¶
func (x *CountingStruct) GetCountingInt() *CountingInt
func (*CountingStruct) GetRegularInt ¶
func (x *CountingStruct) GetRegularInt() *int64
func (*CountingStruct) GetRegularString ¶
func (x *CountingStruct) GetRegularString() *string
func (*CountingStruct) IsSetCountingInt ¶
func (x *CountingStruct) IsSetCountingInt() bool
func (*CountingStruct) IsSetRegularInt ¶
func (x *CountingStruct) IsSetRegularInt() bool
func (*CountingStruct) IsSetRegularString ¶
func (x *CountingStruct) IsSetRegularString() bool
func (*CountingStruct) SetCountingInt ¶
func (x *CountingStruct) SetCountingInt(value CountingInt) *CountingStruct
func (*CountingStruct) SetRegularInt ¶
func (x *CountingStruct) SetRegularInt(value int64) *CountingStruct
func (*CountingStruct) SetRegularString ¶
func (x *CountingStruct) SetRegularString(value string) *CountingStruct
type CountingStructBuilder
deprecated
type CountingStructBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use CountingStruct.Set* methods instead or set the fields directly.
func NewCountingStructBuilder ¶
func NewCountingStructBuilder() *CountingStructBuilder
func (*CountingStructBuilder) CountingInt ¶
func (x *CountingStructBuilder) CountingInt(value *CountingInt) *CountingStructBuilder
func (*CountingStructBuilder) Emit ¶
func (x *CountingStructBuilder) Emit() *CountingStruct
func (*CountingStructBuilder) RegularInt ¶
func (x *CountingStructBuilder) RegularInt(value *int64) *CountingStructBuilder
func (*CountingStructBuilder) RegularString ¶
func (x *CountingStructBuilder) RegularString(value *string) *CountingStructBuilder
type CustomProtocolType ¶
type CustomProtocolType = []byte
type DeclaredAfterStruct ¶
type DeclaredAfterStruct struct {
}
func NewDeclaredAfterStruct ¶
func NewDeclaredAfterStruct() *DeclaredAfterStruct
type DeclaredAfterStructBuilder
deprecated
type DeclaredAfterStructBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use DeclaredAfterStruct.Set* methods instead or set the fields directly.
func NewDeclaredAfterStructBuilder ¶
func NewDeclaredAfterStructBuilder() *DeclaredAfterStructBuilder
func (*DeclaredAfterStructBuilder) Emit ¶
func (x *DeclaredAfterStructBuilder) Emit() *DeclaredAfterStruct
type DirectlyAdapted ¶
type DirectlyAdapted struct {
Field int32 `thrift:"field,1" json:"field" db:"field"`
}
func NewDirectlyAdapted ¶
func NewDirectlyAdapted() *DirectlyAdapted
func (*DirectlyAdapted) GetField ¶
func (x *DirectlyAdapted) GetField() int32
func (*DirectlyAdapted) SetField ¶
func (x *DirectlyAdapted) SetField(value int32) *DirectlyAdapted
type DirectlyAdaptedBuilder
deprecated
type DirectlyAdaptedBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use DirectlyAdapted.Set* methods instead or set the fields directly.
func NewDirectlyAdaptedBuilder ¶
func NewDirectlyAdaptedBuilder() *DirectlyAdaptedBuilder
func (*DirectlyAdaptedBuilder) Emit ¶
func (x *DirectlyAdaptedBuilder) Emit() *DirectlyAdapted
func (*DirectlyAdaptedBuilder) Field ¶
func (x *DirectlyAdaptedBuilder) Field(value int32) *DirectlyAdaptedBuilder
type DirectlyAdaptedStruct ¶
type DirectlyAdaptedStruct struct {
Data int64 `thrift:"data,1" json:"data" db:"data"`
}
func NewDirectlyAdaptedStruct ¶
func NewDirectlyAdaptedStruct() *DirectlyAdaptedStruct
func (*DirectlyAdaptedStruct) GetData ¶
func (x *DirectlyAdaptedStruct) GetData() int64
func (*DirectlyAdaptedStruct) SetData ¶
func (x *DirectlyAdaptedStruct) SetData(value int64) *DirectlyAdaptedStruct
type DirectlyAdaptedStructBuilder
deprecated
type DirectlyAdaptedStructBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use DirectlyAdaptedStruct.Set* methods instead or set the fields directly.
func NewDirectlyAdaptedStructBuilder ¶
func NewDirectlyAdaptedStructBuilder() *DirectlyAdaptedStructBuilder
func (*DirectlyAdaptedStructBuilder) Data ¶
func (x *DirectlyAdaptedStructBuilder) Data(value int64) *DirectlyAdaptedStructBuilder
func (*DirectlyAdaptedStructBuilder) Emit ¶
func (x *DirectlyAdaptedStructBuilder) Emit() *DirectlyAdaptedStruct
type DoubleTypedefBool ¶
type DoubleTypedefBool = AdaptedBool
type DoubleTypedefI64 ¶
type DoubleTypedefI64 = MyI64
type DurationMs ¶
type DurationMs = int64
type Foo ¶
type Foo struct {
IntField int32 `thrift:"intField,1" json:"intField" db:"intField"`
OptionalIntField *int32 `thrift:"optionalIntField,2,optional" json:"optionalIntField,omitempty" db:"optionalIntField"`
IntFieldWithDefault int32 `thrift:"intFieldWithDefault,3" json:"intFieldWithDefault" db:"intFieldWithDefault"`
SetField SetWithAdapter `thrift:"setField,4" json:"setField" db:"setField"`
OptionalSetField SetWithAdapter `thrift:"optionalSetField,5,optional" json:"optionalSetField,omitempty" db:"optionalSetField"`
MapField map[string]ListWithElemAdapterWithAdapter `thrift:"mapField,6" json:"mapField" db:"mapField"`
OptionalMapField map[string]ListWithElemAdapterWithAdapter `thrift:"optionalMapField,7,optional" json:"optionalMapField,omitempty" db:"optionalMapField"`
BinaryField []byte `thrift:"binaryField,8" json:"binaryField" db:"binaryField"`
LongField MyI64 `thrift:"longField,9" json:"longField" db:"longField"`
AdaptedLongField MyI64 `thrift:"adaptedLongField,10" json:"adaptedLongField" db:"adaptedLongField"`
DoubleAdaptedField DoubleTypedefI64 `thrift:"doubleAdaptedField,11" json:"doubleAdaptedField" db:"doubleAdaptedField"`
}
func (*Foo) GetAdaptedLongField ¶
func (*Foo) GetBinaryField ¶
func (*Foo) GetDoubleAdaptedField ¶
func (x *Foo) GetDoubleAdaptedField() DoubleTypedefI64
func (*Foo) GetIntField ¶
func (*Foo) GetIntFieldWithDefault ¶
func (*Foo) GetLongField ¶
func (*Foo) GetMapField ¶
func (x *Foo) GetMapField() map[string]ListWithElemAdapterWithAdapter
func (*Foo) GetOptionalIntField ¶
func (*Foo) GetOptionalMapField ¶
func (x *Foo) GetOptionalMapField() map[string]ListWithElemAdapterWithAdapter
func (*Foo) GetOptionalSetField ¶
func (x *Foo) GetOptionalSetField() SetWithAdapter
func (*Foo) GetSetField ¶
func (x *Foo) GetSetField() SetWithAdapter
func (*Foo) IsSetBinaryField ¶
func (*Foo) IsSetMapField ¶
func (*Foo) IsSetOptionalIntField ¶
func (*Foo) IsSetOptionalMapField ¶
func (*Foo) IsSetOptionalSetField ¶
func (*Foo) IsSetSetField ¶
func (*Foo) SetAdaptedLongField ¶
func (*Foo) SetBinaryField ¶
func (*Foo) SetDoubleAdaptedField ¶
func (x *Foo) SetDoubleAdaptedField(value DoubleTypedefI64) *Foo
func (*Foo) SetIntField ¶
func (*Foo) SetIntFieldWithDefault ¶
func (*Foo) SetLongField ¶
func (*Foo) SetMapField ¶
func (x *Foo) SetMapField(value map[string]ListWithElemAdapterWithAdapter) *Foo
func (*Foo) SetOptionalIntField ¶
func (*Foo) SetOptionalMapField ¶
func (x *Foo) SetOptionalMapField(value map[string]ListWithElemAdapterWithAdapter) *Foo
func (*Foo) SetOptionalSetField ¶
func (x *Foo) SetOptionalSetField(value SetWithAdapter) *Foo
func (*Foo) SetSetField ¶
func (x *Foo) SetSetField(value SetWithAdapter) *Foo
type FooBuilder
deprecated
type FooBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use Foo.Set* methods instead or set the fields directly.
func NewFooBuilder ¶
func NewFooBuilder() *FooBuilder
func (*FooBuilder) AdaptedLongField ¶
func (x *FooBuilder) AdaptedLongField(value MyI64) *FooBuilder
func (*FooBuilder) BinaryField ¶
func (x *FooBuilder) BinaryField(value []byte) *FooBuilder
func (*FooBuilder) DoubleAdaptedField ¶
func (x *FooBuilder) DoubleAdaptedField(value DoubleTypedefI64) *FooBuilder
func (*FooBuilder) Emit ¶
func (x *FooBuilder) Emit() *Foo
func (*FooBuilder) IntField ¶
func (x *FooBuilder) IntField(value int32) *FooBuilder
func (*FooBuilder) IntFieldWithDefault ¶
func (x *FooBuilder) IntFieldWithDefault(value int32) *FooBuilder
func (*FooBuilder) LongField ¶
func (x *FooBuilder) LongField(value MyI64) *FooBuilder
func (*FooBuilder) MapField ¶
func (x *FooBuilder) MapField(value map[string]ListWithElemAdapterWithAdapter) *FooBuilder
func (*FooBuilder) OptionalIntField ¶
func (x *FooBuilder) OptionalIntField(value *int32) *FooBuilder
func (*FooBuilder) OptionalMapField ¶
func (x *FooBuilder) OptionalMapField(value map[string]ListWithElemAdapterWithAdapter) *FooBuilder
func (*FooBuilder) OptionalSetField ¶
func (x *FooBuilder) OptionalSetField(value SetWithAdapter) *FooBuilder
func (*FooBuilder) SetField ¶
func (x *FooBuilder) SetField(value SetWithAdapter) *FooBuilder
type FooWithAdapter ¶
type FooWithAdapter = Foo
type HeapAllocated ¶
type HeapAllocated struct {
}
func NewHeapAllocated ¶
func NewHeapAllocated() *HeapAllocated
type HeapAllocatedBuilder
deprecated
type HeapAllocatedBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use HeapAllocated.Set* methods instead or set the fields directly.
func NewHeapAllocatedBuilder ¶
func NewHeapAllocatedBuilder() *HeapAllocatedBuilder
func (*HeapAllocatedBuilder) Emit ¶
func (x *HeapAllocatedBuilder) Emit() *HeapAllocated
type IndependentDirectlyAdapted ¶
type IndependentDirectlyAdapted struct {
Field int32 `thrift:"field,1" json:"field" db:"field"`
}
func NewIndependentDirectlyAdapted ¶
func NewIndependentDirectlyAdapted() *IndependentDirectlyAdapted
func (*IndependentDirectlyAdapted) GetField ¶
func (x *IndependentDirectlyAdapted) GetField() int32
func (*IndependentDirectlyAdapted) Read ¶
func (x *IndependentDirectlyAdapted) Read(p thrift.Protocol) error
func (*IndependentDirectlyAdapted) SetField ¶
func (x *IndependentDirectlyAdapted) SetField(value int32) *IndependentDirectlyAdapted
type IndependentDirectlyAdaptedBuilder
deprecated
type IndependentDirectlyAdaptedBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use IndependentDirectlyAdapted.Set* methods instead or set the fields directly.
func NewIndependentDirectlyAdaptedBuilder ¶
func NewIndependentDirectlyAdaptedBuilder() *IndependentDirectlyAdaptedBuilder
func (*IndependentDirectlyAdaptedBuilder) Emit ¶
func (x *IndependentDirectlyAdaptedBuilder) Emit() *IndependentDirectlyAdapted
func (*IndependentDirectlyAdaptedBuilder) Field ¶
func (x *IndependentDirectlyAdaptedBuilder) Field(value int32) *IndependentDirectlyAdaptedBuilder
type IndirectionString ¶
type IndirectionString = string
type ListWithElemAdapter ¶
type ListWithElemAdapter = []StringWithAdapter
type ListWithElemAdapterWithAdapter ¶
type ListWithElemAdapterWithAdapter = ListWithElemAdapter
type MoveOnly ¶
type MoveOnly struct {
Ptr *HeapAllocated `thrift:"ptr,1" json:"ptr" db:"ptr"`
}
var NestedAdapted MoveOnly = *NewMoveOnly(). SetPtr( *NewHeapAllocated(), )
func NewMoveOnly ¶
func NewMoveOnly() *MoveOnly
func (*MoveOnly) GetPtr ¶
func (x *MoveOnly) GetPtr() *HeapAllocated
func (*MoveOnly) SetPtr ¶
func (x *MoveOnly) SetPtr(value HeapAllocated) *MoveOnly
type MoveOnlyBuilder
deprecated
type MoveOnlyBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use MoveOnly.Set* methods instead or set the fields directly.
func NewMoveOnlyBuilder ¶
func NewMoveOnlyBuilder() *MoveOnlyBuilder
func (*MoveOnlyBuilder) Emit ¶
func (x *MoveOnlyBuilder) Emit() *MoveOnly
func (*MoveOnlyBuilder) Ptr ¶
func (x *MoveOnlyBuilder) Ptr(value *HeapAllocated) *MoveOnlyBuilder
type MyAnnotation ¶
type MyAnnotation struct {
Signature string `thrift:"signature,1" json:"signature" db:"signature"`
Color Color `thrift:"color,2" json:"color" db:"color"`
}
func NewMyAnnotation ¶
func NewMyAnnotation() *MyAnnotation
func (*MyAnnotation) GetColor ¶
func (x *MyAnnotation) GetColor() Color
func (*MyAnnotation) GetSignature ¶
func (x *MyAnnotation) GetSignature() string
func (*MyAnnotation) SetColor ¶
func (x *MyAnnotation) SetColor(value Color) *MyAnnotation
func (*MyAnnotation) SetSignature ¶
func (x *MyAnnotation) SetSignature(value string) *MyAnnotation
type MyAnnotationBuilder
deprecated
type MyAnnotationBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use MyAnnotation.Set* methods instead or set the fields directly.
func NewMyAnnotationBuilder ¶
func NewMyAnnotationBuilder() *MyAnnotationBuilder
func (*MyAnnotationBuilder) Color ¶
func (x *MyAnnotationBuilder) Color(value Color) *MyAnnotationBuilder
func (*MyAnnotationBuilder) Emit ¶
func (x *MyAnnotationBuilder) Emit() *MyAnnotation
func (*MyAnnotationBuilder) Signature ¶
func (x *MyAnnotationBuilder) Signature(value string) *MyAnnotationBuilder
type MyStruct ¶
type MyStruct struct {
Field int32 `thrift:"field,1" json:"field" db:"field"`
SetString SetWithAdapter `thrift:"set_string,2" json:"set_string" db:"set_string"`
}
var Var3 MyStruct = *NewMyStruct(). SetField(30). SetSetString( []string{ "10", "20", }, )
var Var6 MyStruct = *NewMyStruct(). SetField(60). SetSetString( []string{ "30", "40", }, )
func NewMyStruct ¶
func NewMyStruct() *MyStruct
func (*MyStruct) GetSetString ¶
func (x *MyStruct) GetSetString() SetWithAdapter
func (*MyStruct) IsSetSetString ¶
func (*MyStruct) SetSetString ¶
func (x *MyStruct) SetSetString(value SetWithAdapter) *MyStruct
type MyStructBuilder
deprecated
type MyStructBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use MyStruct.Set* methods instead or set the fields directly.
func NewMyStructBuilder ¶
func NewMyStructBuilder() *MyStructBuilder
func (*MyStructBuilder) Emit ¶
func (x *MyStructBuilder) Emit() *MyStruct
func (*MyStructBuilder) Field ¶
func (x *MyStructBuilder) Field(value int32) *MyStructBuilder
func (*MyStructBuilder) SetString ¶
func (x *MyStructBuilder) SetString(value SetWithAdapter) *MyStructBuilder
type Person2 ¶
type Person2 struct {
Name string `thrift:"name,1" json:"name" db:"name"`
}
var Person Person2 = *NewPerson2().
SetName("DefaultName")
var PersonNoTransitive Person2 = *NewPerson2().
SetName("DefaultName 2")
func NewPerson2 ¶
func NewPerson2() *Person2
type Person2Builder
deprecated
type Person2Builder struct {
// contains filtered or unexported fields
}
Deprecated: Use Person2.Set* methods instead or set the fields directly.
func NewPerson2Builder ¶
func NewPerson2Builder() *Person2Builder
func (*Person2Builder) Emit ¶
func (x *Person2Builder) Emit() *Person2
func (*Person2Builder) Name ¶
func (x *Person2Builder) Name(value string) *Person2Builder
type PersonBuilder
deprecated
type PersonBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use Person.Set* methods instead or set the fields directly.
func NewPersonBuilder ¶
func NewPersonBuilder() *PersonBuilder
func (*PersonBuilder) Emit ¶
func (x *PersonBuilder) Emit() *Person
func (*PersonBuilder) Name ¶
func (x *PersonBuilder) Name(value string) *PersonBuilder
type RenamedStruct ¶
type RenamedStruct struct {
Data int64 `thrift:"data,1" json:"data" db:"data"`
}
func NewRenamedStruct ¶
func NewRenamedStruct() *RenamedStruct
func (*RenamedStruct) GetData ¶
func (x *RenamedStruct) GetData() int64
func (*RenamedStruct) SetData ¶
func (x *RenamedStruct) SetData(value int64) *RenamedStruct
type RenamedStructBuilder
deprecated
type RenamedStructBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use RenamedStruct.Set* methods instead or set the fields directly.
func NewRenamedStructBuilder ¶
func NewRenamedStructBuilder() *RenamedStructBuilder
func (*RenamedStructBuilder) Data ¶
func (x *RenamedStructBuilder) Data(value int64) *RenamedStructBuilder
func (*RenamedStructBuilder) Emit ¶
func (x *RenamedStructBuilder) Emit() *RenamedStruct
type ReorderedStruct ¶
type ReorderedStruct struct {
ReorderedDependentAdapted *DeclaredAfterStruct `thrift:"reordered_dependent_adapted,1" json:"reordered_dependent_adapted" db:"reordered_dependent_adapted"`
}
func NewReorderedStruct ¶
func NewReorderedStruct() *ReorderedStruct
func (*ReorderedStruct) GetReorderedDependentAdapted ¶
func (x *ReorderedStruct) GetReorderedDependentAdapted() *DeclaredAfterStruct
func (*ReorderedStruct) IsSetReorderedDependentAdapted ¶
func (x *ReorderedStruct) IsSetReorderedDependentAdapted() bool
func (*ReorderedStruct) SetReorderedDependentAdapted ¶
func (x *ReorderedStruct) SetReorderedDependentAdapted(value DeclaredAfterStruct) *ReorderedStruct
type ReorderedStructBuilder
deprecated
type ReorderedStructBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use ReorderedStruct.Set* methods instead or set the fields directly.
func NewReorderedStructBuilder ¶
func NewReorderedStructBuilder() *ReorderedStructBuilder
func (*ReorderedStructBuilder) Emit ¶
func (x *ReorderedStructBuilder) Emit() *ReorderedStruct
func (*ReorderedStructBuilder) ReorderedDependentAdapted ¶
func (x *ReorderedStructBuilder) ReorderedDependentAdapted(value *DeclaredAfterStruct) *ReorderedStructBuilder
type SameNamespaceStruct ¶
type SameNamespaceStruct struct {
Data int64 `thrift:"data,1" json:"data" db:"data"`
}
func NewSameNamespaceStruct ¶
func NewSameNamespaceStruct() *SameNamespaceStruct
func (*SameNamespaceStruct) GetData ¶
func (x *SameNamespaceStruct) GetData() int64
func (*SameNamespaceStruct) SetData ¶
func (x *SameNamespaceStruct) SetData(value int64) *SameNamespaceStruct
type SameNamespaceStructBuilder
deprecated
type SameNamespaceStructBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use SameNamespaceStruct.Set* methods instead or set the fields directly.
func NewSameNamespaceStructBuilder ¶
func NewSameNamespaceStructBuilder() *SameNamespaceStructBuilder
func (*SameNamespaceStructBuilder) Data ¶
func (x *SameNamespaceStructBuilder) Data(value int64) *SameNamespaceStructBuilder
func (*SameNamespaceStructBuilder) Emit ¶
func (x *SameNamespaceStructBuilder) Emit() *SameNamespaceStruct
type ServiceChannelClient ¶
type ServiceChannelClient struct {
// contains filtered or unexported fields
}
func NewServiceChannelClient ¶
func NewServiceChannelClient(channel thrift.RequestChannel) *ServiceChannelClient
func (*ServiceChannelClient) Close ¶
func (c *ServiceChannelClient) Close() error
func (*ServiceChannelClient) Func ¶
func (c *ServiceChannelClient) Func(ctx context.Context, arg1 StringWithAdapter, arg2 string, arg3 *Foo) (MyI32, error)
func (*ServiceChannelClient) IsOpen ¶
func (c *ServiceChannelClient) IsOpen() bool
func (*ServiceChannelClient) Open ¶
func (c *ServiceChannelClient) Open() error
type ServiceClient
deprecated
type ServiceClient struct {
// contains filtered or unexported fields
}
Deprecated: Use ServiceChannelClient instead.
func NewServiceClient
deprecated
func NewServiceClientFactory
deprecated
func NewServiceClientFactory(t thrift.Transport, pf thrift.ProtocolFactory) *ServiceClient
Deprecated: Use NewServiceChannelClient() instead.
func NewServiceClientProtocol
deprecated
func NewServiceClientProtocol(prot thrift.Protocol) *ServiceClient
Deprecated: Use NewServiceChannelClient() instead.
func NewServiceThreadsafeClientProtocol
deprecated
func NewServiceThreadsafeClientProtocol(prot thrift.Protocol) *ServiceClient
Deprecated: Use NewServiceChannelClient() instead.
func (*ServiceClient) Close ¶
func (c *ServiceClient) Close() error
func (*ServiceClient) Func ¶
func (c *ServiceClient) Func(arg1 StringWithAdapter, arg2 string, arg3 *Foo) (MyI32, error)
func (*ServiceClient) IsOpen ¶
func (c *ServiceClient) IsOpen() bool
func (*ServiceClient) Open ¶
func (c *ServiceClient) Open() error
type ServiceClientInterface
deprecated
type ServiceClientInterface interface {
thrift.ClientInterface
Func(arg1 StringWithAdapter, arg2 string, arg3 *Foo) (MyI32, error)
}
Deprecated: Use Service instead.
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
deprecated
type ServiceThreadsafeClient = ServiceClient
Deprecated: Use ServiceChannelClient instead.
func NewServiceThreadsafeClient
deprecated
func NewServiceThreadsafeClientFactory
deprecated
func NewServiceThreadsafeClientFactory(t thrift.Transport, pf thrift.ProtocolFactory) *ServiceThreadsafeClient
Deprecated: Use NewServiceChannelClient() instead.
type SetWithAdapter ¶
type SetWithAdapter = []string
type StringWithAdapter ¶
type StringWithAdapter = string
type StructFieldAdaptedStruct ¶
type StructFieldAdaptedStruct struct {
AdaptedStruct *AdaptedStruct `thrift:"adaptedStruct,1" json:"adaptedStruct" db:"adaptedStruct"`
AdaptedTypedef *AdaptedTypedef `thrift:"adaptedTypedef,2" json:"adaptedTypedef" db:"adaptedTypedef"`
DirectlyAdapted *DirectlyAdaptedStruct `thrift:"directlyAdapted,3" json:"directlyAdapted" db:"directlyAdapted"`
TypedefOfAdapted *TypedefOfDirect `thrift:"typedefOfAdapted,4" json:"typedefOfAdapted" db:"typedefOfAdapted"`
}
func NewStructFieldAdaptedStruct ¶
func NewStructFieldAdaptedStruct() *StructFieldAdaptedStruct
func (*StructFieldAdaptedStruct) GetAdaptedStruct ¶
func (x *StructFieldAdaptedStruct) GetAdaptedStruct() *AdaptedStruct
func (*StructFieldAdaptedStruct) GetAdaptedTypedef ¶
func (x *StructFieldAdaptedStruct) GetAdaptedTypedef() *AdaptedTypedef
func (*StructFieldAdaptedStruct) GetDirectlyAdapted ¶
func (x *StructFieldAdaptedStruct) GetDirectlyAdapted() *DirectlyAdaptedStruct
func (*StructFieldAdaptedStruct) GetTypedefOfAdapted ¶
func (x *StructFieldAdaptedStruct) GetTypedefOfAdapted() *TypedefOfDirect
func (*StructFieldAdaptedStruct) IsSetAdaptedStruct ¶
func (x *StructFieldAdaptedStruct) IsSetAdaptedStruct() bool
func (*StructFieldAdaptedStruct) IsSetAdaptedTypedef ¶
func (x *StructFieldAdaptedStruct) IsSetAdaptedTypedef() bool
func (*StructFieldAdaptedStruct) IsSetDirectlyAdapted ¶
func (x *StructFieldAdaptedStruct) IsSetDirectlyAdapted() bool
func (*StructFieldAdaptedStruct) IsSetTypedefOfAdapted ¶
func (x *StructFieldAdaptedStruct) IsSetTypedefOfAdapted() bool
func (*StructFieldAdaptedStruct) Read ¶
func (x *StructFieldAdaptedStruct) Read(p thrift.Protocol) error
func (*StructFieldAdaptedStruct) SetAdaptedStruct ¶
func (x *StructFieldAdaptedStruct) SetAdaptedStruct(value AdaptedStruct) *StructFieldAdaptedStruct
func (*StructFieldAdaptedStruct) SetAdaptedTypedef ¶
func (x *StructFieldAdaptedStruct) SetAdaptedTypedef(value AdaptedTypedef) *StructFieldAdaptedStruct
func (*StructFieldAdaptedStruct) SetDirectlyAdapted ¶
func (x *StructFieldAdaptedStruct) SetDirectlyAdapted(value DirectlyAdaptedStruct) *StructFieldAdaptedStruct
func (*StructFieldAdaptedStruct) SetTypedefOfAdapted ¶
func (x *StructFieldAdaptedStruct) SetTypedefOfAdapted(value TypedefOfDirect) *StructFieldAdaptedStruct
type StructFieldAdaptedStructBuilder
deprecated
type StructFieldAdaptedStructBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use StructFieldAdaptedStruct.Set* methods instead or set the fields directly.
func NewStructFieldAdaptedStructBuilder ¶
func NewStructFieldAdaptedStructBuilder() *StructFieldAdaptedStructBuilder
func (*StructFieldAdaptedStructBuilder) AdaptedStruct ¶
func (x *StructFieldAdaptedStructBuilder) AdaptedStruct(value *AdaptedStruct) *StructFieldAdaptedStructBuilder
func (*StructFieldAdaptedStructBuilder) AdaptedTypedef ¶
func (x *StructFieldAdaptedStructBuilder) AdaptedTypedef(value *AdaptedTypedef) *StructFieldAdaptedStructBuilder
func (*StructFieldAdaptedStructBuilder) DirectlyAdapted ¶
func (x *StructFieldAdaptedStructBuilder) DirectlyAdapted(value *DirectlyAdaptedStruct) *StructFieldAdaptedStructBuilder
func (*StructFieldAdaptedStructBuilder) Emit ¶
func (x *StructFieldAdaptedStructBuilder) Emit() *StructFieldAdaptedStruct
func (*StructFieldAdaptedStructBuilder) TypedefOfAdapted ¶
func (x *StructFieldAdaptedStructBuilder) TypedefOfAdapted(value *TypedefOfDirect) *StructFieldAdaptedStructBuilder
type StructWithAdapter ¶
type StructWithAdapter = Bar
type StructWithFieldAdapter ¶
type StructWithFieldAdapter struct {
Field int32 `thrift:"field,1" json:"field" db:"field"`
OptBoxedField *int32 `thrift:"opt_boxed_field,4,optional" json:"opt_boxed_field,omitempty" db:"opt_boxed_field"`
}
func NewStructWithFieldAdapter ¶
func NewStructWithFieldAdapter() *StructWithFieldAdapter
func (*StructWithFieldAdapter) GetField ¶
func (x *StructWithFieldAdapter) GetField() int32
func (*StructWithFieldAdapter) GetOptBoxedField ¶
func (x *StructWithFieldAdapter) GetOptBoxedField() *int32
func (*StructWithFieldAdapter) GetOptSharedField ¶
func (x *StructWithFieldAdapter) GetOptSharedField() *int32
func (*StructWithFieldAdapter) GetSharedField ¶
func (x *StructWithFieldAdapter) GetSharedField() int32
func (*StructWithFieldAdapter) IsSetOptBoxedField ¶
func (x *StructWithFieldAdapter) IsSetOptBoxedField() bool
func (*StructWithFieldAdapter) IsSetOptSharedField ¶
func (x *StructWithFieldAdapter) IsSetOptSharedField() bool
func (*StructWithFieldAdapter) Read ¶
func (x *StructWithFieldAdapter) Read(p thrift.Protocol) error
func (*StructWithFieldAdapter) SetField ¶
func (x *StructWithFieldAdapter) SetField(value int32) *StructWithFieldAdapter
func (*StructWithFieldAdapter) SetOptBoxedField ¶
func (x *StructWithFieldAdapter) SetOptBoxedField(value int32) *StructWithFieldAdapter
func (*StructWithFieldAdapter) SetOptSharedField ¶
func (x *StructWithFieldAdapter) SetOptSharedField(value int32) *StructWithFieldAdapter
func (*StructWithFieldAdapter) SetSharedField ¶
func (x *StructWithFieldAdapter) SetSharedField(value int32) *StructWithFieldAdapter
type StructWithFieldAdapterBuilder
deprecated
type StructWithFieldAdapterBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use StructWithFieldAdapter.Set* methods instead or set the fields directly.
func NewStructWithFieldAdapterBuilder ¶
func NewStructWithFieldAdapterBuilder() *StructWithFieldAdapterBuilder
func (*StructWithFieldAdapterBuilder) Emit ¶
func (x *StructWithFieldAdapterBuilder) Emit() *StructWithFieldAdapter
func (*StructWithFieldAdapterBuilder) Field ¶
func (x *StructWithFieldAdapterBuilder) Field(value int32) *StructWithFieldAdapterBuilder
func (*StructWithFieldAdapterBuilder) OptBoxedField ¶
func (x *StructWithFieldAdapterBuilder) OptBoxedField(value *int32) *StructWithFieldAdapterBuilder
func (*StructWithFieldAdapterBuilder) OptSharedField ¶
func (x *StructWithFieldAdapterBuilder) OptSharedField(value *int32) *StructWithFieldAdapterBuilder
func (*StructWithFieldAdapterBuilder) SharedField ¶
func (x *StructWithFieldAdapterBuilder) SharedField(value int32) *StructWithFieldAdapterBuilder
type TerseAdaptedFields ¶
type TerseAdaptedFields struct {
IntField int32 `thrift:"int_field,1" json:"int_field" db:"int_field"`
StringField string `thrift:"string_field,2" json:"string_field" db:"string_field"`
SetField []int32 `thrift:"set_field,3" json:"set_field" db:"set_field"`
}
func NewTerseAdaptedFields ¶
func NewTerseAdaptedFields() *TerseAdaptedFields
func (*TerseAdaptedFields) GetIntField ¶
func (x *TerseAdaptedFields) GetIntField() int32
func (*TerseAdaptedFields) GetSetField ¶
func (x *TerseAdaptedFields) GetSetField() []int32
func (*TerseAdaptedFields) GetStringField ¶
func (x *TerseAdaptedFields) GetStringField() string
func (*TerseAdaptedFields) IsSetSetField ¶
func (x *TerseAdaptedFields) IsSetSetField() bool
func (*TerseAdaptedFields) SetIntField ¶
func (x *TerseAdaptedFields) SetIntField(value int32) *TerseAdaptedFields
func (*TerseAdaptedFields) SetSetField ¶
func (x *TerseAdaptedFields) SetSetField(value []int32) *TerseAdaptedFields
func (*TerseAdaptedFields) SetStringField ¶
func (x *TerseAdaptedFields) SetStringField(value string) *TerseAdaptedFields
type TerseAdaptedFieldsBuilder
deprecated
type TerseAdaptedFieldsBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use TerseAdaptedFields.Set* methods instead or set the fields directly.
func NewTerseAdaptedFieldsBuilder ¶
func NewTerseAdaptedFieldsBuilder() *TerseAdaptedFieldsBuilder
func (*TerseAdaptedFieldsBuilder) Emit ¶
func (x *TerseAdaptedFieldsBuilder) Emit() *TerseAdaptedFields
func (*TerseAdaptedFieldsBuilder) IntField ¶
func (x *TerseAdaptedFieldsBuilder) IntField(value int32) *TerseAdaptedFieldsBuilder
func (*TerseAdaptedFieldsBuilder) SetField ¶
func (x *TerseAdaptedFieldsBuilder) SetField(value []int32) *TerseAdaptedFieldsBuilder
func (*TerseAdaptedFieldsBuilder) StringField ¶
func (x *TerseAdaptedFieldsBuilder) StringField(value string) *TerseAdaptedFieldsBuilder
type ThriftAdaptedEnum ¶
type ThriftAdaptedEnum int32
const ( ThriftAdaptedEnum_Zero ThriftAdaptedEnum = 0 ThriftAdaptedEnum_One ThriftAdaptedEnum = 1 )
func ThriftAdaptedEnumFromString
deprecated
func ThriftAdaptedEnumFromString(s string) (ThriftAdaptedEnum, error)
Deprecated: Use ThriftAdaptedEnum_value instead (e.g. `x, ok := ThriftAdaptedEnum_value["name"]`).
func ThriftAdaptedEnumPtr
deprecated
func ThriftAdaptedEnumPtr(v ThriftAdaptedEnum) *ThriftAdaptedEnum
Deprecated: Use ThriftAdaptedEnum.Ptr() instead.
func (ThriftAdaptedEnum) Ptr ¶
func (x ThriftAdaptedEnum) Ptr() *ThriftAdaptedEnum
func (ThriftAdaptedEnum) String ¶
func (x ThriftAdaptedEnum) String() string
type TransitiveAdapted ¶
type TransitiveAdapted struct {
}
func NewTransitiveAdapted ¶
func NewTransitiveAdapted() *TransitiveAdapted
type TransitiveAdaptedBuilder
deprecated
type TransitiveAdaptedBuilder struct {
// contains filtered or unexported fields
}
Deprecated: Use TransitiveAdapted.Set* methods instead or set the fields directly.
func NewTransitiveAdaptedBuilder ¶
func NewTransitiveAdaptedBuilder() *TransitiveAdaptedBuilder
func (*TransitiveAdaptedBuilder) Emit ¶
func (x *TransitiveAdaptedBuilder) Emit() *TransitiveAdapted
type TypedefOfDirect ¶
type TypedefOfDirect = DirectlyAdaptedStruct
type UnionWithAdapter ¶
type UnionWithAdapter = Baz