module

package
v0.0.0-...-7428086 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const Msg = "hello, world"
View Source
const MsgNoTransitive = "hello, world 2"
View Source
const Timeout = 42
View Source
const TimeoutNoTransitive = 420
View Source
const Var1 = 10
View Source
const Var2 = "20"
View Source
const Var4 = 40
View Source
const Var5 = "50"

Variables

View Source
var Bar_OptionalStructListField_DEFAULT []*FooWithAdapter
View Source
var Baz_BinaryField_DEFAULT []byte
View Source
var Baz_IntField_DEFAULT int32
View Source
var Baz_MapField_DEFAULT map[string]ListWithElemAdapterWithAdapter
View Source
var ColorNames = []string{
	"UNKNOWN",
	"RED",
	"GREEN",
	"BLUE",
}
View Source
var ColorToName = map[Color]string{
	Color_UNKNOWN: "UNKNOWN",
	Color_RED:     "RED",
	Color_GREEN:   "GREEN",
	Color_BLUE:    "BLUE",
}
View Source
var ColorToValue = map[string]Color{
	"UNKNOWN": Color_UNKNOWN,
	"RED":     Color_RED,
	"GREEN":   Color_GREEN,
	"BLUE":    Color_BLUE,
}
View Source
var ContainerOfAdapted []AdaptedByte
View Source
var CountingStruct_RegularInt_DEFAULT int64
View Source
var CountingStruct_RegularString_DEFAULT string
View Source
var Foo_OptionalIntField_DEFAULT int32
View Source
var Foo_OptionalMapField_DEFAULT map[string]ListWithElemAdapterWithAdapter
View Source
var GoUnusedProtection__ int
View Source
var StructWithFieldAdapter_OptBoxedField_DEFAULT int32
View Source
var StructWithFieldAdapter_OptSharedField_DEFAULT int32
View Source
var ThriftAdaptedEnumNames = []string{
	"Zero",
	"One",
}
View Source
var ThriftAdaptedEnumToName = map[ThriftAdaptedEnum]string{
	ThriftAdaptedEnum_Zero: "Zero",
	ThriftAdaptedEnum_One:  "One",
}
View Source
var ThriftAdaptedEnumToValue = map[string]ThriftAdaptedEnum{
	"Zero": ThriftAdaptedEnum_Zero,
	"One":  ThriftAdaptedEnum_One,
}

Functions

This section is empty.

Types

type A

type A struct {
}
var B_A_DEFAULT *A

func NewA

func NewA() *A

func (*A) Read

func (p *A) Read(iprot thrift.Protocol) error

func (*A) String

func (p *A) String() string

func (*A) Write

func (p *A) Write(oprot thrift.Protocol) error

type ABuilder

type ABuilder struct {
	// contains filtered or unexported fields
}

func NewABuilder

func NewABuilder() *ABuilder

func (ABuilder) Emit

func (p ABuilder) Emit() *A

type AdaptTemplatedNestedTestStruct

type AdaptTemplatedNestedTestStruct struct {
	AdaptedStruct *AdaptTemplatedTestStruct `thrift:"adaptedStruct,1" db:"adaptedStruct" json:"adaptedStruct"`
}

Attributes:

  • AdaptedStruct

func NewAdaptTemplatedNestedTestStruct

func NewAdaptTemplatedNestedTestStruct() *AdaptTemplatedNestedTestStruct

func (*AdaptTemplatedNestedTestStruct) DefaultGetAdaptedStruct

func (p *AdaptTemplatedNestedTestStruct) DefaultGetAdaptedStruct() *AdaptTemplatedTestStruct

func (*AdaptTemplatedNestedTestStruct) GetAdaptedStruct

func (*AdaptTemplatedNestedTestStruct) IsSetAdaptedStruct

func (p *AdaptTemplatedNestedTestStruct) IsSetAdaptedStruct() bool

func (*AdaptTemplatedNestedTestStruct) Read

func (*AdaptTemplatedNestedTestStruct) ReadField1

func (p *AdaptTemplatedNestedTestStruct) ReadField1(iprot thrift.Protocol) error

func (*AdaptTemplatedNestedTestStruct) SetAdaptedStruct

func (*AdaptTemplatedNestedTestStruct) String

func (*AdaptTemplatedNestedTestStruct) Write

type AdaptTemplatedNestedTestStructBuilder

type AdaptTemplatedNestedTestStructBuilder struct {
	// contains filtered or unexported fields
}

func NewAdaptTemplatedNestedTestStructBuilder

func NewAdaptTemplatedNestedTestStructBuilder() *AdaptTemplatedNestedTestStructBuilder

func (*AdaptTemplatedNestedTestStructBuilder) AdaptedStruct

func (AdaptTemplatedNestedTestStructBuilder) Emit

type AdaptTemplatedTestStruct

type AdaptTemplatedTestStruct struct {
	AdaptedBool           AdaptedBool       `thrift:"adaptedBool,1" db:"adaptedBool" json:"adaptedBool"`
	AdaptedByte           AdaptedByte       `thrift:"adaptedByte,2" db:"adaptedByte" json:"adaptedByte"`
	AdaptedShort          AdaptedShort      `thrift:"adaptedShort,3" db:"adaptedShort" json:"adaptedShort"`
	AdaptedInteger        AdaptedInteger    `thrift:"adaptedInteger,4" db:"adaptedInteger" json:"adaptedInteger"`
	AdaptedLong           AdaptedLong       `thrift:"adaptedLong,5" db:"adaptedLong" json:"adaptedLong"`
	AdaptedDouble         AdaptedDouble     `thrift:"adaptedDouble,6" db:"adaptedDouble" json:"adaptedDouble"`
	AdaptedString         AdaptedString     `thrift:"adaptedString,7" db:"adaptedString" json:"adaptedString"`
	AdaptedList           []int64           `thrift:"adaptedList,8" db:"adaptedList" json:"adaptedList"`
	AdaptedSet            []int64           `thrift:"adaptedSet,9" db:"adaptedSet" json:"adaptedSet"`
	AdaptedMap            map[int64]int64   `thrift:"adaptedMap,10" db:"adaptedMap" json:"adaptedMap"`
	AdaptedBoolDefault    AdaptedBool       `thrift:"adaptedBoolDefault,11" db:"adaptedBoolDefault" json:"adaptedBoolDefault"`
	AdaptedByteDefault    AdaptedByte       `thrift:"adaptedByteDefault,12" db:"adaptedByteDefault" json:"adaptedByteDefault"`
	AdaptedShortDefault   AdaptedShort      `thrift:"adaptedShortDefault,13" db:"adaptedShortDefault" json:"adaptedShortDefault"`
	AdaptedIntegerDefault AdaptedInteger    `thrift:"adaptedIntegerDefault,14" db:"adaptedIntegerDefault" json:"adaptedIntegerDefault"`
	AdaptedLongDefault    AdaptedLong       `thrift:"adaptedLongDefault,15" db:"adaptedLongDefault" json:"adaptedLongDefault"`
	AdaptedDoubleDefault  AdaptedDouble     `thrift:"adaptedDoubleDefault,16" db:"adaptedDoubleDefault" json:"adaptedDoubleDefault"`
	AdaptedStringDefault  AdaptedString     `thrift:"adaptedStringDefault,17" db:"adaptedStringDefault" json:"adaptedStringDefault"`
	AdaptedEnum           AdaptedEnum       `thrift:"adaptedEnum,18" db:"adaptedEnum" json:"adaptedEnum"`
	AdaptedListDefault    []int64           `thrift:"adaptedListDefault,19" db:"adaptedListDefault" json:"adaptedListDefault"`
	AdaptedSetDefault     []int64           `thrift:"adaptedSetDefault,20" db:"adaptedSetDefault" json:"adaptedSetDefault"`
	AdaptedMapDefault     map[int64]int64   `thrift:"adaptedMapDefault,21" db:"adaptedMapDefault" json:"adaptedMapDefault"`
	DoubleTypedefBool     DoubleTypedefBool `thrift:"doubleTypedefBool,22" db:"doubleTypedefBool" json:"doubleTypedefBool"`
}

Attributes:

  • AdaptedBool
  • AdaptedByte
  • AdaptedShort
  • AdaptedInteger
  • AdaptedLong
  • AdaptedDouble
  • AdaptedString
  • AdaptedList
  • AdaptedSet
  • AdaptedMap
  • AdaptedBoolDefault
  • AdaptedByteDefault
  • AdaptedShortDefault
  • AdaptedIntegerDefault
  • AdaptedLongDefault
  • AdaptedDoubleDefault
  • AdaptedStringDefault
  • AdaptedEnum
  • AdaptedListDefault
  • AdaptedSetDefault
  • AdaptedMapDefault
  • DoubleTypedefBool
var AdaptTemplatedNestedTestStruct_AdaptedStruct_DEFAULT *AdaptTemplatedTestStruct

func NewAdaptTemplatedTestStruct

func NewAdaptTemplatedTestStruct() *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) GetAdaptedBool

func (p *AdaptTemplatedTestStruct) GetAdaptedBool() AdaptedBool

func (*AdaptTemplatedTestStruct) GetAdaptedBoolDefault

func (p *AdaptTemplatedTestStruct) GetAdaptedBoolDefault() AdaptedBool

func (*AdaptTemplatedTestStruct) GetAdaptedByte

func (p *AdaptTemplatedTestStruct) GetAdaptedByte() AdaptedByte

func (*AdaptTemplatedTestStruct) GetAdaptedByteDefault

func (p *AdaptTemplatedTestStruct) GetAdaptedByteDefault() AdaptedByte

func (*AdaptTemplatedTestStruct) GetAdaptedDouble

func (p *AdaptTemplatedTestStruct) GetAdaptedDouble() AdaptedDouble

func (*AdaptTemplatedTestStruct) GetAdaptedDoubleDefault

func (p *AdaptTemplatedTestStruct) GetAdaptedDoubleDefault() AdaptedDouble

func (*AdaptTemplatedTestStruct) GetAdaptedEnum

func (p *AdaptTemplatedTestStruct) GetAdaptedEnum() AdaptedEnum

func (*AdaptTemplatedTestStruct) GetAdaptedInteger

func (p *AdaptTemplatedTestStruct) GetAdaptedInteger() AdaptedInteger

func (*AdaptTemplatedTestStruct) GetAdaptedIntegerDefault

func (p *AdaptTemplatedTestStruct) GetAdaptedIntegerDefault() AdaptedInteger

func (*AdaptTemplatedTestStruct) GetAdaptedList

func (p *AdaptTemplatedTestStruct) GetAdaptedList() []int64

func (*AdaptTemplatedTestStruct) GetAdaptedListDefault

func (p *AdaptTemplatedTestStruct) GetAdaptedListDefault() []int64

func (*AdaptTemplatedTestStruct) GetAdaptedLong

func (p *AdaptTemplatedTestStruct) GetAdaptedLong() AdaptedLong

func (*AdaptTemplatedTestStruct) GetAdaptedLongDefault

func (p *AdaptTemplatedTestStruct) GetAdaptedLongDefault() AdaptedLong

func (*AdaptTemplatedTestStruct) GetAdaptedMap

func (p *AdaptTemplatedTestStruct) GetAdaptedMap() map[int64]int64

func (*AdaptTemplatedTestStruct) GetAdaptedMapDefault

func (p *AdaptTemplatedTestStruct) GetAdaptedMapDefault() map[int64]int64

func (*AdaptTemplatedTestStruct) GetAdaptedSet

func (p *AdaptTemplatedTestStruct) GetAdaptedSet() []int64

func (*AdaptTemplatedTestStruct) GetAdaptedSetDefault

func (p *AdaptTemplatedTestStruct) GetAdaptedSetDefault() []int64

func (*AdaptTemplatedTestStruct) GetAdaptedShort

func (p *AdaptTemplatedTestStruct) GetAdaptedShort() AdaptedShort

func (*AdaptTemplatedTestStruct) GetAdaptedShortDefault

func (p *AdaptTemplatedTestStruct) GetAdaptedShortDefault() AdaptedShort

func (*AdaptTemplatedTestStruct) GetAdaptedString

func (p *AdaptTemplatedTestStruct) GetAdaptedString() AdaptedString

func (*AdaptTemplatedTestStruct) GetAdaptedStringDefault

func (p *AdaptTemplatedTestStruct) GetAdaptedStringDefault() AdaptedString

func (*AdaptTemplatedTestStruct) GetDoubleTypedefBool

func (p *AdaptTemplatedTestStruct) GetDoubleTypedefBool() DoubleTypedefBool

func (*AdaptTemplatedTestStruct) Read

func (*AdaptTemplatedTestStruct) ReadField1

func (p *AdaptTemplatedTestStruct) ReadField1(iprot thrift.Protocol) error

func (*AdaptTemplatedTestStruct) ReadField10

func (p *AdaptTemplatedTestStruct) ReadField10(iprot thrift.Protocol) error

func (*AdaptTemplatedTestStruct) ReadField11

func (p *AdaptTemplatedTestStruct) ReadField11(iprot thrift.Protocol) error

func (*AdaptTemplatedTestStruct) ReadField12

func (p *AdaptTemplatedTestStruct) ReadField12(iprot thrift.Protocol) error

func (*AdaptTemplatedTestStruct) ReadField13

func (p *AdaptTemplatedTestStruct) ReadField13(iprot thrift.Protocol) error

func (*AdaptTemplatedTestStruct) ReadField14

func (p *AdaptTemplatedTestStruct) ReadField14(iprot thrift.Protocol) error

func (*AdaptTemplatedTestStruct) ReadField15

func (p *AdaptTemplatedTestStruct) ReadField15(iprot thrift.Protocol) error

func (*AdaptTemplatedTestStruct) ReadField16

func (p *AdaptTemplatedTestStruct) ReadField16(iprot thrift.Protocol) error

func (*AdaptTemplatedTestStruct) ReadField17

func (p *AdaptTemplatedTestStruct) ReadField17(iprot thrift.Protocol) error

func (*AdaptTemplatedTestStruct) ReadField18

func (p *AdaptTemplatedTestStruct) ReadField18(iprot thrift.Protocol) error

func (*AdaptTemplatedTestStruct) ReadField19

func (p *AdaptTemplatedTestStruct) ReadField19(iprot thrift.Protocol) error

func (*AdaptTemplatedTestStruct) ReadField2

func (p *AdaptTemplatedTestStruct) ReadField2(iprot thrift.Protocol) error

func (*AdaptTemplatedTestStruct) ReadField20

func (p *AdaptTemplatedTestStruct) ReadField20(iprot thrift.Protocol) error

func (*AdaptTemplatedTestStruct) ReadField21

func (p *AdaptTemplatedTestStruct) ReadField21(iprot thrift.Protocol) error

func (*AdaptTemplatedTestStruct) ReadField22

func (p *AdaptTemplatedTestStruct) ReadField22(iprot thrift.Protocol) error

func (*AdaptTemplatedTestStruct) ReadField3

func (p *AdaptTemplatedTestStruct) ReadField3(iprot thrift.Protocol) error

func (*AdaptTemplatedTestStruct) ReadField4

func (p *AdaptTemplatedTestStruct) ReadField4(iprot thrift.Protocol) error

func (*AdaptTemplatedTestStruct) ReadField5

func (p *AdaptTemplatedTestStruct) ReadField5(iprot thrift.Protocol) error

func (*AdaptTemplatedTestStruct) ReadField6

func (p *AdaptTemplatedTestStruct) ReadField6(iprot thrift.Protocol) error

func (*AdaptTemplatedTestStruct) ReadField7

func (p *AdaptTemplatedTestStruct) ReadField7(iprot thrift.Protocol) error

func (*AdaptTemplatedTestStruct) ReadField8

func (p *AdaptTemplatedTestStruct) ReadField8(iprot thrift.Protocol) error

func (*AdaptTemplatedTestStruct) ReadField9

func (p *AdaptTemplatedTestStruct) ReadField9(iprot thrift.Protocol) error

func (*AdaptTemplatedTestStruct) SetAdaptedBool

func (a *AdaptTemplatedTestStruct) SetAdaptedBool(adaptedBool AdaptedBool) *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) SetAdaptedBoolDefault

func (a *AdaptTemplatedTestStruct) SetAdaptedBoolDefault(adaptedBoolDefault AdaptedBool) *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) SetAdaptedByte

func (a *AdaptTemplatedTestStruct) SetAdaptedByte(adaptedByte AdaptedByte) *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) SetAdaptedByteDefault

func (a *AdaptTemplatedTestStruct) SetAdaptedByteDefault(adaptedByteDefault AdaptedByte) *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) SetAdaptedDouble

func (a *AdaptTemplatedTestStruct) SetAdaptedDouble(adaptedDouble AdaptedDouble) *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) SetAdaptedDoubleDefault

func (a *AdaptTemplatedTestStruct) SetAdaptedDoubleDefault(adaptedDoubleDefault AdaptedDouble) *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) SetAdaptedEnum

func (a *AdaptTemplatedTestStruct) SetAdaptedEnum(adaptedEnum AdaptedEnum) *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) SetAdaptedInteger

func (a *AdaptTemplatedTestStruct) SetAdaptedInteger(adaptedInteger AdaptedInteger) *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) SetAdaptedIntegerDefault

func (a *AdaptTemplatedTestStruct) SetAdaptedIntegerDefault(adaptedIntegerDefault AdaptedInteger) *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) SetAdaptedList

func (a *AdaptTemplatedTestStruct) SetAdaptedList(adaptedList []int64) *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) SetAdaptedListDefault

func (a *AdaptTemplatedTestStruct) SetAdaptedListDefault(adaptedListDefault []int64) *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) SetAdaptedLong

func (a *AdaptTemplatedTestStruct) SetAdaptedLong(adaptedLong AdaptedLong) *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) SetAdaptedLongDefault

func (a *AdaptTemplatedTestStruct) SetAdaptedLongDefault(adaptedLongDefault AdaptedLong) *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) SetAdaptedMap

func (a *AdaptTemplatedTestStruct) SetAdaptedMap(adaptedMap map[int64]int64) *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) SetAdaptedMapDefault

func (a *AdaptTemplatedTestStruct) SetAdaptedMapDefault(adaptedMapDefault map[int64]int64) *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) SetAdaptedSet

func (a *AdaptTemplatedTestStruct) SetAdaptedSet(adaptedSet []int64) *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) SetAdaptedSetDefault

func (a *AdaptTemplatedTestStruct) SetAdaptedSetDefault(adaptedSetDefault []int64) *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) SetAdaptedShort

func (a *AdaptTemplatedTestStruct) SetAdaptedShort(adaptedShort AdaptedShort) *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) SetAdaptedShortDefault

func (a *AdaptTemplatedTestStruct) SetAdaptedShortDefault(adaptedShortDefault AdaptedShort) *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) SetAdaptedString

func (a *AdaptTemplatedTestStruct) SetAdaptedString(adaptedString AdaptedString) *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) SetAdaptedStringDefault

func (a *AdaptTemplatedTestStruct) SetAdaptedStringDefault(adaptedStringDefault AdaptedString) *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) SetDoubleTypedefBool

func (a *AdaptTemplatedTestStruct) SetDoubleTypedefBool(doubleTypedefBool DoubleTypedefBool) *AdaptTemplatedTestStruct

func (*AdaptTemplatedTestStruct) String

func (p *AdaptTemplatedTestStruct) String() string

func (*AdaptTemplatedTestStruct) Write

type AdaptTemplatedTestStructBuilder

type AdaptTemplatedTestStructBuilder struct {
	// contains filtered or unexported fields
}

func NewAdaptTemplatedTestStructBuilder

func NewAdaptTemplatedTestStructBuilder() *AdaptTemplatedTestStructBuilder

func (*AdaptTemplatedTestStructBuilder) AdaptedBool

func (*AdaptTemplatedTestStructBuilder) AdaptedBoolDefault

func (a *AdaptTemplatedTestStructBuilder) AdaptedBoolDefault(adaptedBoolDefault AdaptedBool) *AdaptTemplatedTestStructBuilder

func (*AdaptTemplatedTestStructBuilder) AdaptedByte

func (*AdaptTemplatedTestStructBuilder) AdaptedByteDefault

func (a *AdaptTemplatedTestStructBuilder) AdaptedByteDefault(adaptedByteDefault AdaptedByte) *AdaptTemplatedTestStructBuilder

func (*AdaptTemplatedTestStructBuilder) AdaptedDouble

func (*AdaptTemplatedTestStructBuilder) AdaptedDoubleDefault

func (a *AdaptTemplatedTestStructBuilder) AdaptedDoubleDefault(adaptedDoubleDefault AdaptedDouble) *AdaptTemplatedTestStructBuilder

func (*AdaptTemplatedTestStructBuilder) AdaptedEnum

func (*AdaptTemplatedTestStructBuilder) AdaptedInteger

func (*AdaptTemplatedTestStructBuilder) AdaptedIntegerDefault

func (a *AdaptTemplatedTestStructBuilder) AdaptedIntegerDefault(adaptedIntegerDefault AdaptedInteger) *AdaptTemplatedTestStructBuilder

func (*AdaptTemplatedTestStructBuilder) AdaptedList

func (*AdaptTemplatedTestStructBuilder) AdaptedListDefault

func (a *AdaptTemplatedTestStructBuilder) AdaptedListDefault(adaptedListDefault []int64) *AdaptTemplatedTestStructBuilder

func (*AdaptTemplatedTestStructBuilder) AdaptedLong

func (*AdaptTemplatedTestStructBuilder) AdaptedLongDefault

func (a *AdaptTemplatedTestStructBuilder) AdaptedLongDefault(adaptedLongDefault AdaptedLong) *AdaptTemplatedTestStructBuilder

func (*AdaptTemplatedTestStructBuilder) AdaptedMap

func (*AdaptTemplatedTestStructBuilder) AdaptedMapDefault

func (a *AdaptTemplatedTestStructBuilder) AdaptedMapDefault(adaptedMapDefault map[int64]int64) *AdaptTemplatedTestStructBuilder

func (*AdaptTemplatedTestStructBuilder) AdaptedSet

func (*AdaptTemplatedTestStructBuilder) AdaptedSetDefault

func (a *AdaptTemplatedTestStructBuilder) AdaptedSetDefault(adaptedSetDefault []int64) *AdaptTemplatedTestStructBuilder

func (*AdaptTemplatedTestStructBuilder) AdaptedShort

func (*AdaptTemplatedTestStructBuilder) AdaptedShortDefault

func (a *AdaptTemplatedTestStructBuilder) AdaptedShortDefault(adaptedShortDefault AdaptedShort) *AdaptTemplatedTestStructBuilder

func (*AdaptTemplatedTestStructBuilder) AdaptedString

func (*AdaptTemplatedTestStructBuilder) AdaptedStringDefault

func (a *AdaptTemplatedTestStructBuilder) AdaptedStringDefault(adaptedStringDefault AdaptedString) *AdaptTemplatedTestStructBuilder

func (*AdaptTemplatedTestStructBuilder) DoubleTypedefBool

func (AdaptTemplatedTestStructBuilder) Emit

type AdaptTestStruct

type AdaptTestStruct struct {
	Delay                DurationMs         `thrift:"delay,1" db:"delay" json:"delay"`
	Custom               CustomProtocolType `thrift:"custom,2" db:"custom" json:"custom"`
	Timeout              int64              `thrift:"timeout,3" db:"timeout" json:"timeout"`
	Data                 int64              `thrift:"data,4" db:"data" json:"data"`
	Meta                 string             `thrift:"meta,5" db:"meta" json:"meta"`
	IndirectionString    IndirectionString  `thrift:"indirectionString,6" db:"indirectionString" json:"indirectionString"`
	StringData           string             `thrift:"string_data,7" db:"string_data" json:"string_data"`
	DoubleWrappedBool    AdaptedBool        `thrift:"double_wrapped_bool,8" db:"double_wrapped_bool" json:"double_wrapped_bool"`
	DoubleWrappedInteger AdaptedInteger     `thrift:"double_wrapped_integer,9" db:"double_wrapped_integer" json:"double_wrapped_integer"`
	BinaryData           []byte             `thrift:"binary_data,10" db:"binary_data" json:"binary_data"`
}

Attributes:

  • Delay
  • Custom
  • Timeout
  • Data
  • Meta
  • IndirectionString
  • StringData
  • DoubleWrappedBool
  • DoubleWrappedInteger
  • BinaryData

func NewAdaptTestStruct

func NewAdaptTestStruct() *AdaptTestStruct

func (*AdaptTestStruct) GetBinaryData

func (p *AdaptTestStruct) GetBinaryData() []byte

func (*AdaptTestStruct) GetCustom

func (p *AdaptTestStruct) GetCustom() CustomProtocolType

func (*AdaptTestStruct) GetData

func (p *AdaptTestStruct) GetData() int64

func (*AdaptTestStruct) GetDelay

func (p *AdaptTestStruct) GetDelay() DurationMs

func (*AdaptTestStruct) GetDoubleWrappedBool

func (p *AdaptTestStruct) GetDoubleWrappedBool() AdaptedBool

func (*AdaptTestStruct) GetDoubleWrappedInteger

func (p *AdaptTestStruct) GetDoubleWrappedInteger() AdaptedInteger

func (*AdaptTestStruct) GetIndirectionString

func (p *AdaptTestStruct) GetIndirectionString() IndirectionString

func (*AdaptTestStruct) GetMeta

func (p *AdaptTestStruct) GetMeta() string

func (*AdaptTestStruct) GetStringData

func (p *AdaptTestStruct) GetStringData() string

func (*AdaptTestStruct) GetTimeout

func (p *AdaptTestStruct) GetTimeout() int64

func (*AdaptTestStruct) Read

func (p *AdaptTestStruct) Read(iprot thrift.Protocol) error

func (*AdaptTestStruct) ReadField1

func (p *AdaptTestStruct) ReadField1(iprot thrift.Protocol) error

func (*AdaptTestStruct) ReadField10

func (p *AdaptTestStruct) ReadField10(iprot thrift.Protocol) error

func (*AdaptTestStruct) ReadField2

func (p *AdaptTestStruct) ReadField2(iprot thrift.Protocol) error

func (*AdaptTestStruct) ReadField3

func (p *AdaptTestStruct) ReadField3(iprot thrift.Protocol) error

func (*AdaptTestStruct) ReadField4

func (p *AdaptTestStruct) ReadField4(iprot thrift.Protocol) error

func (*AdaptTestStruct) ReadField5

func (p *AdaptTestStruct) ReadField5(iprot thrift.Protocol) error

func (*AdaptTestStruct) ReadField6

func (p *AdaptTestStruct) ReadField6(iprot thrift.Protocol) error

func (*AdaptTestStruct) ReadField7

func (p *AdaptTestStruct) ReadField7(iprot thrift.Protocol) error

func (*AdaptTestStruct) ReadField8

func (p *AdaptTestStruct) ReadField8(iprot thrift.Protocol) error

func (*AdaptTestStruct) ReadField9

func (p *AdaptTestStruct) ReadField9(iprot thrift.Protocol) error

func (*AdaptTestStruct) SetBinaryData

func (a *AdaptTestStruct) SetBinaryData(binaryData []byte) *AdaptTestStruct

func (*AdaptTestStruct) SetCustom

func (a *AdaptTestStruct) SetCustom(custom CustomProtocolType) *AdaptTestStruct

func (*AdaptTestStruct) SetData

func (a *AdaptTestStruct) SetData(data int64) *AdaptTestStruct

func (*AdaptTestStruct) SetDelay

func (a *AdaptTestStruct) SetDelay(delay DurationMs) *AdaptTestStruct

func (*AdaptTestStruct) SetDoubleWrappedBool

func (a *AdaptTestStruct) SetDoubleWrappedBool(doubleWrappedBool AdaptedBool) *AdaptTestStruct

func (*AdaptTestStruct) SetDoubleWrappedInteger

func (a *AdaptTestStruct) SetDoubleWrappedInteger(doubleWrappedInteger AdaptedInteger) *AdaptTestStruct

func (*AdaptTestStruct) SetIndirectionString

func (a *AdaptTestStruct) SetIndirectionString(indirectionString IndirectionString) *AdaptTestStruct

func (*AdaptTestStruct) SetMeta

func (a *AdaptTestStruct) SetMeta(meta string) *AdaptTestStruct

func (*AdaptTestStruct) SetStringData

func (a *AdaptTestStruct) SetStringData(stringData string) *AdaptTestStruct

func (*AdaptTestStruct) SetTimeout

func (a *AdaptTestStruct) SetTimeout(timeout int64) *AdaptTestStruct

func (*AdaptTestStruct) String

func (p *AdaptTestStruct) String() string

func (*AdaptTestStruct) Write

func (p *AdaptTestStruct) Write(oprot thrift.Protocol) error

type AdaptTestStructBuilder

type AdaptTestStructBuilder struct {
	// contains filtered or unexported fields
}

func NewAdaptTestStructBuilder

func NewAdaptTestStructBuilder() *AdaptTestStructBuilder

func (*AdaptTestStructBuilder) BinaryData

func (a *AdaptTestStructBuilder) BinaryData(binaryData []byte) *AdaptTestStructBuilder

func (*AdaptTestStructBuilder) Custom

func (*AdaptTestStructBuilder) Data

func (*AdaptTestStructBuilder) Delay

func (*AdaptTestStructBuilder) DoubleWrappedBool

func (a *AdaptTestStructBuilder) DoubleWrappedBool(doubleWrappedBool AdaptedBool) *AdaptTestStructBuilder

func (*AdaptTestStructBuilder) DoubleWrappedInteger

func (a *AdaptTestStructBuilder) DoubleWrappedInteger(doubleWrappedInteger AdaptedInteger) *AdaptTestStructBuilder

func (AdaptTestStructBuilder) Emit

func (*AdaptTestStructBuilder) IndirectionString

func (a *AdaptTestStructBuilder) IndirectionString(indirectionString IndirectionString) *AdaptTestStructBuilder

func (*AdaptTestStructBuilder) Meta

func (*AdaptTestStructBuilder) StringData

func (a *AdaptTestStructBuilder) StringData(stringData string) *AdaptTestStructBuilder

func (*AdaptTestStructBuilder) Timeout

type AdaptTestUnion

type AdaptTestUnion struct {
	Delay  *DurationMs        `thrift:"delay,1,optional" db:"delay" json:"delay,omitempty"`
	Custom CustomProtocolType `thrift:"custom,2,optional" db:"custom" json:"custom,omitempty"`
}

Attributes:

  • Delay
  • Custom

func NewAdaptTestUnion

func NewAdaptTestUnion() *AdaptTestUnion

func (*AdaptTestUnion) CountSetFieldsAdaptTestUnion

func (p *AdaptTestUnion) CountSetFieldsAdaptTestUnion() int

func (*AdaptTestUnion) GetCustom

func (p *AdaptTestUnion) GetCustom() CustomProtocolType

func (*AdaptTestUnion) GetDelay

func (p *AdaptTestUnion) GetDelay() DurationMs

func (*AdaptTestUnion) IsSetCustom

func (p *AdaptTestUnion) IsSetCustom() bool

func (*AdaptTestUnion) IsSetDelay

func (p *AdaptTestUnion) IsSetDelay() bool

func (*AdaptTestUnion) Read

func (p *AdaptTestUnion) Read(iprot thrift.Protocol) error

func (*AdaptTestUnion) ReadField1

func (p *AdaptTestUnion) ReadField1(iprot thrift.Protocol) error

func (*AdaptTestUnion) ReadField2

func (p *AdaptTestUnion) ReadField2(iprot thrift.Protocol) error

func (*AdaptTestUnion) SetCustom

func (a *AdaptTestUnion) SetCustom(custom CustomProtocolType) *AdaptTestUnion

func (*AdaptTestUnion) SetDelay

func (a *AdaptTestUnion) SetDelay(delay *DurationMs) *AdaptTestUnion

func (*AdaptTestUnion) String

func (p *AdaptTestUnion) String() string

func (*AdaptTestUnion) Write

func (p *AdaptTestUnion) Write(oprot thrift.Protocol) error

type AdaptTestUnionBuilder

type AdaptTestUnionBuilder struct {
	// contains filtered or unexported fields
}

func NewAdaptTestUnionBuilder

func NewAdaptTestUnionBuilder() *AdaptTestUnionBuilder

func (*AdaptTestUnionBuilder) Custom

func (*AdaptTestUnionBuilder) Delay

func (AdaptTestUnionBuilder) Emit

type AdaptedA

type AdaptedA = A

func AdaptedAPtr

func AdaptedAPtr(v AdaptedA) *AdaptedA

func NewAdaptedA

func NewAdaptedA() *AdaptedA

type AdaptedBool

type AdaptedBool = bool
var TypeAdapted AdaptedBool

func AdaptedBoolPtr

func AdaptedBoolPtr(v AdaptedBool) *AdaptedBool

type AdaptedByte

type AdaptedByte = int8

func AdaptedBytePtr

func AdaptedBytePtr(v AdaptedByte) *AdaptedByte

type AdaptedCircularAdaptee

type AdaptedCircularAdaptee = CircularAdaptee

func NewAdaptedCircularAdaptee

func NewAdaptedCircularAdaptee() *AdaptedCircularAdaptee

type AdaptedDouble

type AdaptedDouble = float64

func AdaptedDoublePtr

func AdaptedDoublePtr(v AdaptedDouble) *AdaptedDouble

type AdaptedEnum

type AdaptedEnum = ThriftAdaptedEnum

func AdaptedEnumPtr

func AdaptedEnumPtr(v AdaptedEnum) *AdaptedEnum

type AdaptedInteger

type AdaptedInteger = int32

func AdaptedIntegerPtr

func AdaptedIntegerPtr(v AdaptedInteger) *AdaptedInteger

type AdaptedLong

type AdaptedLong = int64

func AdaptedLongPtr

func AdaptedLongPtr(v AdaptedLong) *AdaptedLong

type AdaptedShort

type AdaptedShort = int16

func AdaptedShortPtr

func AdaptedShortPtr(v AdaptedShort) *AdaptedShort

type AdaptedString

type AdaptedString = string

func AdaptedStringPtr

func AdaptedStringPtr(v AdaptedString) *AdaptedString

type AdaptedStruct

type AdaptedStruct struct {
	Data int64 `thrift:"data,1" db:"data" json:"data"`
}

Attributes:

  • Data
var StructFieldAdaptedStruct_AdaptedStruct_DEFAULT *AdaptedStruct

func NewAdaptedStruct

func NewAdaptedStruct() *AdaptedStruct

func (*AdaptedStruct) GetData

func (p *AdaptedStruct) GetData() int64

func (*AdaptedStruct) Read

func (p *AdaptedStruct) Read(iprot thrift.Protocol) error

func (*AdaptedStruct) ReadField1

func (p *AdaptedStruct) ReadField1(iprot thrift.Protocol) error

func (*AdaptedStruct) SetData

func (a *AdaptedStruct) SetData(data int64) *AdaptedStruct

func (*AdaptedStruct) String

func (p *AdaptedStruct) String() string

func (*AdaptedStruct) Write

func (p *AdaptedStruct) Write(oprot thrift.Protocol) error

type AdaptedStructBuilder

type AdaptedStructBuilder struct {
	// contains filtered or unexported fields
}

func NewAdaptedStructBuilder

func NewAdaptedStructBuilder() *AdaptedStructBuilder

func (*AdaptedStructBuilder) Data

func (AdaptedStructBuilder) Emit

type AdaptedTypedef

type AdaptedTypedef = AdaptedStruct
var StructFieldAdaptedStruct_AdaptedTypedef_DEFAULT *AdaptedTypedef

func AdaptedTypedefPtr

func AdaptedTypedefPtr(v AdaptedTypedef) *AdaptedTypedef

func NewAdaptedTypedef

func NewAdaptedTypedef() *AdaptedTypedef

type AdapterService

type AdapterService interface {
	Count() (_r *CountingStruct, err error)
	// Parameters:
	//  - Arg
	AdaptedTypes(arg *HeapAllocated) (_r *HeapAllocated, err error)
}

type AdapterServiceAdaptedTypesArgs

type AdapterServiceAdaptedTypesArgs struct {
	thrift.IRequest
	Arg *HeapAllocated `thrift:"arg,1" db:"arg" json:"arg"`
}

Attributes:

  • Arg

func NewAdapterServiceAdaptedTypesArgs

func NewAdapterServiceAdaptedTypesArgs() *AdapterServiceAdaptedTypesArgs

func (*AdapterServiceAdaptedTypesArgs) DefaultGetArg

func (p *AdapterServiceAdaptedTypesArgs) DefaultGetArg() *HeapAllocated

func (*AdapterServiceAdaptedTypesArgs) GetArg

func (*AdapterServiceAdaptedTypesArgs) IsSetArg

func (p *AdapterServiceAdaptedTypesArgs) IsSetArg() bool

func (*AdapterServiceAdaptedTypesArgs) Read

func (*AdapterServiceAdaptedTypesArgs) ReadField1

func (p *AdapterServiceAdaptedTypesArgs) ReadField1(iprot thrift.Protocol) error

func (*AdapterServiceAdaptedTypesArgs) SetArg

func (*AdapterServiceAdaptedTypesArgs) String

func (*AdapterServiceAdaptedTypesArgs) Write

type AdapterServiceAdaptedTypesArgsBuilder

type AdapterServiceAdaptedTypesArgsBuilder struct {
	// contains filtered or unexported fields
}

func NewAdapterServiceAdaptedTypesArgsBuilder

func NewAdapterServiceAdaptedTypesArgsBuilder() *AdapterServiceAdaptedTypesArgsBuilder

func (*AdapterServiceAdaptedTypesArgsBuilder) Arg

func (AdapterServiceAdaptedTypesArgsBuilder) Emit

type AdapterServiceAdaptedTypesResult

type AdapterServiceAdaptedTypesResult struct {
	thrift.IResponse
	Success *HeapAllocated `thrift:"success,0,optional" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewAdapterServiceAdaptedTypesResult

func NewAdapterServiceAdaptedTypesResult() *AdapterServiceAdaptedTypesResult

func (*AdapterServiceAdaptedTypesResult) DefaultGetSuccess

func (p *AdapterServiceAdaptedTypesResult) DefaultGetSuccess() *HeapAllocated

func (*AdapterServiceAdaptedTypesResult) Exception

func (*AdapterServiceAdaptedTypesResult) GetSuccess

func (*AdapterServiceAdaptedTypesResult) IsSetSuccess

func (p *AdapterServiceAdaptedTypesResult) IsSetSuccess() bool

func (*AdapterServiceAdaptedTypesResult) Read

func (*AdapterServiceAdaptedTypesResult) ReadField0

func (*AdapterServiceAdaptedTypesResult) SetSuccess

func (*AdapterServiceAdaptedTypesResult) String

func (*AdapterServiceAdaptedTypesResult) Write

type AdapterServiceAdaptedTypesResultBuilder

type AdapterServiceAdaptedTypesResultBuilder struct {
	// contains filtered or unexported fields
}

func NewAdapterServiceAdaptedTypesResultBuilder

func NewAdapterServiceAdaptedTypesResultBuilder() *AdapterServiceAdaptedTypesResultBuilder

func (AdapterServiceAdaptedTypesResultBuilder) Emit

func (*AdapterServiceAdaptedTypesResultBuilder) Success

type AdapterServiceChannelClient

type AdapterServiceChannelClient struct {
	RequestChannel thrift.RequestChannel
}

func NewAdapterServiceChannelClient

func NewAdapterServiceChannelClient(channel thrift.RequestChannel) *AdapterServiceChannelClient

func (*AdapterServiceChannelClient) AdaptedTypes

func (p *AdapterServiceChannelClient) AdaptedTypes(ctx context.Context, arg *HeapAllocated) (_r *HeapAllocated, err error)

Parameters:

  • Arg

func (*AdapterServiceChannelClient) Close

func (*AdapterServiceChannelClient) Count

func (*AdapterServiceChannelClient) IsOpen

func (c *AdapterServiceChannelClient) IsOpen() bool

func (*AdapterServiceChannelClient) Open

type AdapterServiceClient

type AdapterServiceClient struct {
	AdapterServiceClientInterface
	CC thrift.ClientConn
}

func NewAdapterServiceClient

func NewAdapterServiceClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *AdapterServiceClient

func NewAdapterServiceClientProtocol

func NewAdapterServiceClientProtocol(prot thrift.Protocol) *AdapterServiceClient

func (*AdapterServiceClient) AdaptedTypes

func (p *AdapterServiceClient) AdaptedTypes(arg *HeapAllocated) (_r *HeapAllocated, err error)

Parameters:

  • Arg

func (*AdapterServiceClient) Close

func (client *AdapterServiceClient) Close() error

func (*AdapterServiceClient) Count

func (p *AdapterServiceClient) Count() (_r *CountingStruct, err error)

func (*AdapterServiceClient) IsOpen

func (client *AdapterServiceClient) IsOpen() bool

func (*AdapterServiceClient) Open

func (client *AdapterServiceClient) Open() error

type AdapterServiceClientInterface

type AdapterServiceClientInterface interface {
	thrift.ClientInterface
	Count() (_r *CountingStruct, err error)
	// Parameters:
	//  - Arg
	AdaptedTypes(arg *HeapAllocated) (_r *HeapAllocated, err error)
}

type AdapterServiceCountArgs

type AdapterServiceCountArgs struct {
	thrift.IRequest
}

func NewAdapterServiceCountArgs

func NewAdapterServiceCountArgs() *AdapterServiceCountArgs

func (*AdapterServiceCountArgs) Read

func (*AdapterServiceCountArgs) String

func (p *AdapterServiceCountArgs) String() string

func (*AdapterServiceCountArgs) Write

func (p *AdapterServiceCountArgs) Write(oprot thrift.Protocol) error

type AdapterServiceCountArgsBuilder

type AdapterServiceCountArgsBuilder struct {
	// contains filtered or unexported fields
}

func NewAdapterServiceCountArgsBuilder

func NewAdapterServiceCountArgsBuilder() *AdapterServiceCountArgsBuilder

func (AdapterServiceCountArgsBuilder) Emit

type AdapterServiceCountResult

type AdapterServiceCountResult struct {
	thrift.IResponse
	Success *CountingStruct `thrift:"success,0,optional" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewAdapterServiceCountResult

func NewAdapterServiceCountResult() *AdapterServiceCountResult

func (*AdapterServiceCountResult) DefaultGetSuccess

func (p *AdapterServiceCountResult) DefaultGetSuccess() *CountingStruct

func (*AdapterServiceCountResult) Exception

func (*AdapterServiceCountResult) GetSuccess

func (p *AdapterServiceCountResult) GetSuccess() *CountingStruct

func (*AdapterServiceCountResult) IsSetSuccess

func (p *AdapterServiceCountResult) IsSetSuccess() bool

func (*AdapterServiceCountResult) Read

func (*AdapterServiceCountResult) ReadField0

func (p *AdapterServiceCountResult) ReadField0(iprot thrift.Protocol) error

func (*AdapterServiceCountResult) SetSuccess

func (*AdapterServiceCountResult) String

func (p *AdapterServiceCountResult) String() string

func (*AdapterServiceCountResult) Write

type AdapterServiceCountResultBuilder

type AdapterServiceCountResultBuilder struct {
	// contains filtered or unexported fields
}

func NewAdapterServiceCountResultBuilder

func NewAdapterServiceCountResultBuilder() *AdapterServiceCountResultBuilder

func (AdapterServiceCountResultBuilder) Emit

func (*AdapterServiceCountResultBuilder) Success

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

type AdapterServiceThreadsafeClient

type AdapterServiceThreadsafeClient struct {
	AdapterServiceClientInterface
	CC thrift.ClientConn
	Mu sync.Mutex
}

func NewAdapterServiceThreadsafeClient

func NewAdapterServiceThreadsafeClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *AdapterServiceThreadsafeClient

func NewAdapterServiceThreadsafeClientProtocol

func NewAdapterServiceThreadsafeClientProtocol(prot thrift.Protocol) *AdapterServiceThreadsafeClient

func (*AdapterServiceThreadsafeClient) AdaptedTypes

func (p *AdapterServiceThreadsafeClient) AdaptedTypes(arg *HeapAllocated) (_r *HeapAllocated, err error)

Parameters:

  • Arg

func (*AdapterServiceThreadsafeClient) Close

func (client *AdapterServiceThreadsafeClient) Close() error

func (*AdapterServiceThreadsafeClient) Count

func (p *AdapterServiceThreadsafeClient) Count() (_r *CountingStruct, err error)

func (*AdapterServiceThreadsafeClient) IsOpen

func (client *AdapterServiceThreadsafeClient) IsOpen() bool

func (*AdapterServiceThreadsafeClient) Open

func (client *AdapterServiceThreadsafeClient) Open() error

type AlsoMoveOnly

type AlsoMoveOnly struct {
	Ptr int64 `thrift:"ptr,1" db:"ptr" json:"ptr"`
}

Attributes:

  • Ptr

func NewAlsoMoveOnly

func NewAlsoMoveOnly() *AlsoMoveOnly

func (*AlsoMoveOnly) GetPtr

func (p *AlsoMoveOnly) GetPtr() int64

func (*AlsoMoveOnly) Read

func (p *AlsoMoveOnly) Read(iprot thrift.Protocol) error

func (*AlsoMoveOnly) ReadField1

func (p *AlsoMoveOnly) ReadField1(iprot thrift.Protocol) error

func (*AlsoMoveOnly) SetPtr

func (a *AlsoMoveOnly) SetPtr(ptr int64) *AlsoMoveOnly

func (*AlsoMoveOnly) String

func (p *AlsoMoveOnly) String() string

func (*AlsoMoveOnly) Write

func (p *AlsoMoveOnly) Write(oprot thrift.Protocol) error

type AlsoMoveOnlyBuilder

type AlsoMoveOnlyBuilder struct {
	// contains filtered or unexported fields
}

func NewAlsoMoveOnlyBuilder

func NewAlsoMoveOnlyBuilder() *AlsoMoveOnlyBuilder

func (AlsoMoveOnlyBuilder) Emit

func (*AlsoMoveOnlyBuilder) Ptr

type ApplyAdapter

type ApplyAdapter struct {
}

func NewApplyAdapter

func NewApplyAdapter() *ApplyAdapter

func (*ApplyAdapter) Read

func (p *ApplyAdapter) Read(iprot thrift.Protocol) error

func (*ApplyAdapter) String

func (p *ApplyAdapter) String() string

func (*ApplyAdapter) Write

func (p *ApplyAdapter) Write(oprot thrift.Protocol) error

type ApplyAdapterBuilder

type ApplyAdapterBuilder struct {
	// contains filtered or unexported fields
}

func NewApplyAdapterBuilder

func NewApplyAdapterBuilder() *ApplyAdapterBuilder

func (ApplyAdapterBuilder) Emit

type B

type B struct {
	A *A `thrift:"a,1" db:"a" json:"a"`
}

Attributes:

  • A

func NewB

func NewB() *B

func (*B) GetA

func (p *B) GetA() *A

func (*B) IsSetA

func (p *B) IsSetA() bool

func (*B) Read

func (p *B) Read(iprot thrift.Protocol) error

func (*B) ReadField1

func (p *B) ReadField1(iprot thrift.Protocol) error

func (*B) SetA

func (b *B) SetA(a *A) *B

func (*B) String

func (p *B) String() string

func (*B) Write

func (p *B) Write(oprot thrift.Protocol) error

type BBuilder

type BBuilder struct {
	// contains filtered or unexported fields
}

func NewBBuilder

func NewBBuilder() *BBuilder

func (*BBuilder) A

func (b *BBuilder) A(a *A) *BBuilder

func (BBuilder) Emit

func (p BBuilder) Emit() *B

type Bar

type Bar struct {
	StructField             *Foo              `thrift:"structField,1" db:"structField" json:"structField"`
	OptionalStructField     *Foo              `thrift:"optionalStructField,2,optional" db:"optionalStructField" json:"optionalStructField,omitempty"`
	StructListField         []*FooWithAdapter `thrift:"structListField,3" db:"structListField" json:"structListField"`
	OptionalStructListField []*FooWithAdapter `thrift:"optionalStructListField,4,optional" db:"optionalStructListField" json:"optionalStructListField,omitempty"`
	UnionField              *Baz              `thrift:"unionField,5" db:"unionField" json:"unionField"`
	OptionalUnionField      *Baz              `thrift:"optionalUnionField,6,optional" db:"optionalUnionField" json:"optionalUnionField,omitempty"`
	AdaptedStructField      *DirectlyAdapted  `thrift:"adaptedStructField,7" db:"adaptedStructField" json:"adaptedStructField"`
}

Attributes:

  • StructField
  • OptionalStructField
  • StructListField
  • OptionalStructListField
  • UnionField
  • OptionalUnionField
  • AdaptedStructField

func NewBar

func NewBar() *Bar

func (*Bar) GetAdaptedStructField

func (p *Bar) GetAdaptedStructField() *DirectlyAdapted

func (*Bar) GetOptionalStructField

func (p *Bar) GetOptionalStructField() *Foo

func (*Bar) GetOptionalStructListField

func (p *Bar) GetOptionalStructListField() []*FooWithAdapter

func (*Bar) GetOptionalUnionField

func (p *Bar) GetOptionalUnionField() *Baz

func (*Bar) GetStructField

func (p *Bar) GetStructField() *Foo

func (*Bar) GetStructListField

func (p *Bar) GetStructListField() []*FooWithAdapter

func (*Bar) GetUnionField

func (p *Bar) GetUnionField() *Baz

func (*Bar) IsSetAdaptedStructField

func (p *Bar) IsSetAdaptedStructField() bool

func (*Bar) IsSetOptionalStructField

func (p *Bar) IsSetOptionalStructField() bool

func (*Bar) IsSetOptionalStructListField

func (p *Bar) IsSetOptionalStructListField() bool

func (*Bar) IsSetOptionalUnionField

func (p *Bar) IsSetOptionalUnionField() bool

func (*Bar) IsSetStructField

func (p *Bar) IsSetStructField() bool

func (*Bar) IsSetUnionField

func (p *Bar) IsSetUnionField() bool

func (*Bar) Read

func (p *Bar) Read(iprot thrift.Protocol) error

func (*Bar) ReadField1

func (p *Bar) ReadField1(iprot thrift.Protocol) error

func (*Bar) ReadField2

func (p *Bar) ReadField2(iprot thrift.Protocol) error

func (*Bar) ReadField3

func (p *Bar) ReadField3(iprot thrift.Protocol) error

func (*Bar) ReadField4

func (p *Bar) ReadField4(iprot thrift.Protocol) error

func (*Bar) ReadField5

func (p *Bar) ReadField5(iprot thrift.Protocol) error

func (*Bar) ReadField6

func (p *Bar) ReadField6(iprot thrift.Protocol) error

func (*Bar) ReadField7

func (p *Bar) ReadField7(iprot thrift.Protocol) error

func (*Bar) SetAdaptedStructField

func (b *Bar) SetAdaptedStructField(adaptedStructField *DirectlyAdapted) *Bar

func (*Bar) SetOptionalStructField

func (b *Bar) SetOptionalStructField(optionalStructField *Foo) *Bar

func (*Bar) SetOptionalStructListField

func (b *Bar) SetOptionalStructListField(optionalStructListField []*FooWithAdapter) *Bar

func (*Bar) SetOptionalUnionField

func (b *Bar) SetOptionalUnionField(optionalUnionField *Baz) *Bar

func (*Bar) SetStructField

func (b *Bar) SetStructField(structField *Foo) *Bar

func (*Bar) SetStructListField

func (b *Bar) SetStructListField(structListField []*FooWithAdapter) *Bar

func (*Bar) SetUnionField

func (b *Bar) SetUnionField(unionField *Baz) *Bar

func (*Bar) String

func (p *Bar) String() string

func (*Bar) Write

func (p *Bar) Write(oprot thrift.Protocol) error

type BarBuilder

type BarBuilder struct {
	// contains filtered or unexported fields
}

func NewBarBuilder

func NewBarBuilder() *BarBuilder

func (*BarBuilder) AdaptedStructField

func (b *BarBuilder) AdaptedStructField(adaptedStructField *DirectlyAdapted) *BarBuilder

func (BarBuilder) Emit

func (p BarBuilder) Emit() *Bar

func (*BarBuilder) OptionalStructField

func (b *BarBuilder) OptionalStructField(optionalStructField *Foo) *BarBuilder

func (*BarBuilder) OptionalStructListField

func (b *BarBuilder) OptionalStructListField(optionalStructListField []*FooWithAdapter) *BarBuilder

func (*BarBuilder) OptionalUnionField

func (b *BarBuilder) OptionalUnionField(optionalUnionField *Baz) *BarBuilder

func (*BarBuilder) StructField

func (b *BarBuilder) StructField(structField *Foo) *BarBuilder

func (*BarBuilder) StructListField

func (b *BarBuilder) StructListField(structListField []*FooWithAdapter) *BarBuilder

func (*BarBuilder) UnionField

func (b *BarBuilder) UnionField(unionField *Baz) *BarBuilder

type Baz

type Baz struct {
	IntField *int32 `thrift:"intField,1,optional" db:"intField" json:"intField,omitempty"`
	// unused fields # 2 to 3
	SetField SetWithAdapter `thrift:"setField,4,optional" db:"setField" json:"setField,omitempty"`
	// unused field # 5
	MapField map[string]ListWithElemAdapterWithAdapter `thrift:"mapField,6,optional" db:"mapField" json:"mapField,omitempty"`
	// unused field # 7
	BinaryField []byte `thrift:"binaryField,8,optional" db:"binaryField" json:"binaryField,omitempty"`
	LongField   *MyI64 `thrift:"longField,9,optional" db:"longField" json:"longField,omitempty"`
}

Attributes:

  • IntField
  • SetField
  • MapField
  • BinaryField
  • LongField
var Bar_OptionalUnionField_DEFAULT *Baz
var Bar_UnionField_DEFAULT *Baz

func NewBaz

func NewBaz() *Baz

func (*Baz) CountSetFieldsBaz

func (p *Baz) CountSetFieldsBaz() int

func (*Baz) GetBinaryField

func (p *Baz) GetBinaryField() []byte

func (*Baz) GetIntField

func (p *Baz) GetIntField() int32

func (*Baz) GetLongField

func (p *Baz) GetLongField() MyI64

func (*Baz) GetMapField

func (p *Baz) GetMapField() map[string]ListWithElemAdapterWithAdapter

func (*Baz) GetSetField

func (p *Baz) GetSetField() SetWithAdapter

func (*Baz) IsSetBinaryField

func (p *Baz) IsSetBinaryField() bool

func (*Baz) IsSetIntField

func (p *Baz) IsSetIntField() bool

func (*Baz) IsSetLongField

func (p *Baz) IsSetLongField() bool

func (*Baz) IsSetMapField

func (p *Baz) IsSetMapField() bool

func (*Baz) IsSetSetField

func (p *Baz) IsSetSetField() bool

func (*Baz) Read

func (p *Baz) Read(iprot thrift.Protocol) error

func (*Baz) ReadField1

func (p *Baz) ReadField1(iprot thrift.Protocol) error

func (*Baz) ReadField4

func (p *Baz) ReadField4(iprot thrift.Protocol) error

func (*Baz) ReadField6

func (p *Baz) ReadField6(iprot thrift.Protocol) error

func (*Baz) ReadField8

func (p *Baz) ReadField8(iprot thrift.Protocol) error

func (*Baz) ReadField9

func (p *Baz) ReadField9(iprot thrift.Protocol) error

func (*Baz) SetBinaryField

func (b *Baz) SetBinaryField(binaryField []byte) *Baz

func (*Baz) SetIntField

func (b *Baz) SetIntField(intField *int32) *Baz

func (*Baz) SetLongField

func (b *Baz) SetLongField(longField *MyI64) *Baz

func (*Baz) SetMapField

func (b *Baz) SetMapField(mapField map[string]ListWithElemAdapterWithAdapter) *Baz

func (*Baz) SetSetField

func (b *Baz) SetSetField(setField SetWithAdapter) *Baz

func (*Baz) String

func (p *Baz) String() string

func (*Baz) Write

func (p *Baz) Write(oprot thrift.Protocol) error

type BazBuilder

type BazBuilder struct {
	// contains filtered or unexported fields
}

func NewBazBuilder

func NewBazBuilder() *BazBuilder

func (*BazBuilder) BinaryField

func (b *BazBuilder) BinaryField(binaryField []byte) *BazBuilder

func (BazBuilder) Emit

func (p BazBuilder) Emit() *Baz

func (*BazBuilder) IntField

func (b *BazBuilder) IntField(intField *int32) *BazBuilder

func (*BazBuilder) LongField

func (b *BazBuilder) LongField(longField *MyI64) *BazBuilder

func (*BazBuilder) MapField

func (b *BazBuilder) MapField(mapField map[string]ListWithElemAdapterWithAdapter) *BazBuilder

func (*BazBuilder) SetField

func (b *BazBuilder) SetField(setField SetWithAdapter) *BazBuilder

type CircularAdaptee

type CircularAdaptee struct {
	Field *CircularStruct `thrift:"field,1" db:"field" json:"field"`
}

Attributes:

  • Field
var CircularStruct_Field_DEFAULT *CircularAdaptee

func NewCircularAdaptee

func NewCircularAdaptee() *CircularAdaptee

func (*CircularAdaptee) GetField

func (p *CircularAdaptee) GetField() *CircularStruct

func (*CircularAdaptee) IsSetField

func (p *CircularAdaptee) IsSetField() bool

func (*CircularAdaptee) Read

func (p *CircularAdaptee) Read(iprot thrift.Protocol) error

func (*CircularAdaptee) ReadField1

func (p *CircularAdaptee) ReadField1(iprot thrift.Protocol) error

func (*CircularAdaptee) SetField

func (c *CircularAdaptee) SetField(field *CircularStruct) *CircularAdaptee

func (*CircularAdaptee) String

func (p *CircularAdaptee) String() string

func (*CircularAdaptee) Write

func (p *CircularAdaptee) Write(oprot thrift.Protocol) error

type CircularAdapteeBuilder

type CircularAdapteeBuilder struct {
	// contains filtered or unexported fields
}

func NewCircularAdapteeBuilder

func NewCircularAdapteeBuilder() *CircularAdapteeBuilder

func (CircularAdapteeBuilder) Emit

func (*CircularAdapteeBuilder) Field

type CircularStruct

type CircularStruct struct {
	Field *CircularAdaptee `thrift:"field,1,optional" db:"field" json:"field,omitempty"`
}

Attributes:

  • Field
var CircularAdaptee_Field_DEFAULT *CircularStruct

func NewCircularStruct

func NewCircularStruct() *CircularStruct

func (*CircularStruct) GetField

func (p *CircularStruct) GetField() *CircularAdaptee

func (*CircularStruct) IsSetField

func (p *CircularStruct) IsSetField() bool

func (*CircularStruct) Read

func (p *CircularStruct) Read(iprot thrift.Protocol) error

func (*CircularStruct) ReadField1

func (p *CircularStruct) ReadField1(iprot thrift.Protocol) error

func (*CircularStruct) SetField

func (c *CircularStruct) SetField(field *CircularAdaptee) *CircularStruct

func (*CircularStruct) String

func (p *CircularStruct) String() string

func (*CircularStruct) Write

func (p *CircularStruct) Write(oprot thrift.Protocol) error

type CircularStructBuilder

type CircularStructBuilder struct {
	// contains filtered or unexported fields
}

func NewCircularStructBuilder

func NewCircularStructBuilder() *CircularStructBuilder

func (CircularStructBuilder) Emit

func (*CircularStructBuilder) Field

type Color

type Color int64
const (
	Color_UNKNOWN Color = 0
	Color_RED     Color = 1
	Color_GREEN   Color = 2
	Color_BLUE    Color = 3
)

func ColorFromString

func ColorFromString(s string) (Color, error)

func ColorPtr

func ColorPtr(v Color) *Color

func (Color) String

func (p Color) String() string

type Config

type Config struct {
	Path string `thrift:"path,1" db:"path" json:"path"`
}

Attributes:

  • Path

func NewConfig

func NewConfig() *Config

func (*Config) GetPath

func (p *Config) GetPath() string

func (*Config) Read

func (p *Config) Read(iprot thrift.Protocol) error

func (*Config) ReadField1

func (p *Config) ReadField1(iprot thrift.Protocol) error

func (*Config) SetPath

func (c *Config) SetPath(path string) *Config

func (*Config) String

func (p *Config) String() string

func (*Config) Write

func (p *Config) Write(oprot thrift.Protocol) error

type ConfigBuilder

type ConfigBuilder struct {
	// contains filtered or unexported fields
}

func NewConfigBuilder

func NewConfigBuilder() *ConfigBuilder

func (ConfigBuilder) Emit

func (p ConfigBuilder) Emit() *Config

func (*ConfigBuilder) Path

func (c *ConfigBuilder) Path(path string) *ConfigBuilder

type CountingInt

type CountingInt = int64
var CountingStruct_CountingInt_DEFAULT CountingInt

func CountingIntPtr

func CountingIntPtr(v CountingInt) *CountingInt

type CountingStruct

type CountingStruct struct {
	RegularInt    *int64       `thrift:"regularInt,1,optional" db:"regularInt" json:"regularInt,omitempty"`
	CountingInt   *CountingInt `thrift:"countingInt,2,optional" db:"countingInt" json:"countingInt,omitempty"`
	RegularString *string      `thrift:"regularString,3,optional" db:"regularString" json:"regularString,omitempty"`
}

Attributes:

  • RegularInt
  • CountingInt
  • RegularString
var AdapterServiceCountResult_Success_DEFAULT *CountingStruct

func NewCountingStruct

func NewCountingStruct() *CountingStruct

func (*CountingStruct) GetCountingInt

func (p *CountingStruct) GetCountingInt() CountingInt

func (*CountingStruct) GetRegularInt

func (p *CountingStruct) GetRegularInt() int64

func (*CountingStruct) GetRegularString

func (p *CountingStruct) GetRegularString() string

func (*CountingStruct) IsSetCountingInt

func (p *CountingStruct) IsSetCountingInt() bool

func (*CountingStruct) IsSetRegularInt

func (p *CountingStruct) IsSetRegularInt() bool

func (*CountingStruct) IsSetRegularString

func (p *CountingStruct) IsSetRegularString() bool

func (*CountingStruct) Read

func (p *CountingStruct) Read(iprot thrift.Protocol) error

func (*CountingStruct) ReadField1

func (p *CountingStruct) ReadField1(iprot thrift.Protocol) error

func (*CountingStruct) ReadField2

func (p *CountingStruct) ReadField2(iprot thrift.Protocol) error

func (*CountingStruct) ReadField3

func (p *CountingStruct) ReadField3(iprot thrift.Protocol) error

func (*CountingStruct) SetCountingInt

func (c *CountingStruct) SetCountingInt(countingInt *CountingInt) *CountingStruct

func (*CountingStruct) SetRegularInt

func (c *CountingStruct) SetRegularInt(regularInt *int64) *CountingStruct

func (*CountingStruct) SetRegularString

func (c *CountingStruct) SetRegularString(regularString *string) *CountingStruct

func (*CountingStruct) String

func (p *CountingStruct) String() string

func (*CountingStruct) Write

func (p *CountingStruct) Write(oprot thrift.Protocol) error

type CountingStructBuilder

type CountingStructBuilder struct {
	// contains filtered or unexported fields
}

func NewCountingStructBuilder

func NewCountingStructBuilder() *CountingStructBuilder

func (*CountingStructBuilder) CountingInt

func (c *CountingStructBuilder) CountingInt(countingInt *CountingInt) *CountingStructBuilder

func (CountingStructBuilder) Emit

func (*CountingStructBuilder) RegularInt

func (c *CountingStructBuilder) RegularInt(regularInt *int64) *CountingStructBuilder

func (*CountingStructBuilder) RegularString

func (c *CountingStructBuilder) RegularString(regularString *string) *CountingStructBuilder

type CustomProtocolType

type CustomProtocolType = []byte
var AdaptTestUnion_Custom_DEFAULT CustomProtocolType

func CustomProtocolTypePtr

func CustomProtocolTypePtr(v CustomProtocolType) *CustomProtocolType

type DeclaredAfterStruct

type DeclaredAfterStruct struct {
}
var ReorderedStruct_ReorderedDependentAdapted_DEFAULT *DeclaredAfterStruct

func NewDeclaredAfterStruct

func NewDeclaredAfterStruct() *DeclaredAfterStruct

func (*DeclaredAfterStruct) Read

func (p *DeclaredAfterStruct) Read(iprot thrift.Protocol) error

func (*DeclaredAfterStruct) String

func (p *DeclaredAfterStruct) String() string

func (*DeclaredAfterStruct) Write

func (p *DeclaredAfterStruct) Write(oprot thrift.Protocol) error

type DeclaredAfterStructBuilder

type DeclaredAfterStructBuilder struct {
	// contains filtered or unexported fields
}

func NewDeclaredAfterStructBuilder

func NewDeclaredAfterStructBuilder() *DeclaredAfterStructBuilder

func (DeclaredAfterStructBuilder) Emit

type DirectlyAdapted

type DirectlyAdapted struct {
	Field int32 `thrift:"field,1" db:"field" json:"field"`
}

Attributes:

  • Field
var Bar_AdaptedStructField_DEFAULT *DirectlyAdapted

func NewDirectlyAdapted

func NewDirectlyAdapted() *DirectlyAdapted

func (*DirectlyAdapted) GetField

func (p *DirectlyAdapted) GetField() int32

func (*DirectlyAdapted) Read

func (p *DirectlyAdapted) Read(iprot thrift.Protocol) error

func (*DirectlyAdapted) ReadField1

func (p *DirectlyAdapted) ReadField1(iprot thrift.Protocol) error

func (*DirectlyAdapted) SetField

func (d *DirectlyAdapted) SetField(field int32) *DirectlyAdapted

func (*DirectlyAdapted) String

func (p *DirectlyAdapted) String() string

func (*DirectlyAdapted) Write

func (p *DirectlyAdapted) Write(oprot thrift.Protocol) error

type DirectlyAdaptedBuilder

type DirectlyAdaptedBuilder struct {
	// contains filtered or unexported fields
}

func NewDirectlyAdaptedBuilder

func NewDirectlyAdaptedBuilder() *DirectlyAdaptedBuilder

func (DirectlyAdaptedBuilder) Emit

func (*DirectlyAdaptedBuilder) Field

type DirectlyAdaptedStruct

type DirectlyAdaptedStruct struct {
	Data int64 `thrift:"data,1" db:"data" json:"data"`
}

Attributes:

  • Data
var StructFieldAdaptedStruct_DirectlyAdapted_DEFAULT *DirectlyAdaptedStruct

func NewDirectlyAdaptedStruct

func NewDirectlyAdaptedStruct() *DirectlyAdaptedStruct

func (*DirectlyAdaptedStruct) GetData

func (p *DirectlyAdaptedStruct) GetData() int64

func (*DirectlyAdaptedStruct) Read

func (p *DirectlyAdaptedStruct) Read(iprot thrift.Protocol) error

func (*DirectlyAdaptedStruct) ReadField1

func (p *DirectlyAdaptedStruct) ReadField1(iprot thrift.Protocol) error

func (*DirectlyAdaptedStruct) SetData

func (*DirectlyAdaptedStruct) String

func (p *DirectlyAdaptedStruct) String() string

func (*DirectlyAdaptedStruct) Write

func (p *DirectlyAdaptedStruct) Write(oprot thrift.Protocol) error

type DirectlyAdaptedStructBuilder

type DirectlyAdaptedStructBuilder struct {
	// contains filtered or unexported fields
}

func NewDirectlyAdaptedStructBuilder

func NewDirectlyAdaptedStructBuilder() *DirectlyAdaptedStructBuilder

func (*DirectlyAdaptedStructBuilder) Data

func (DirectlyAdaptedStructBuilder) Emit

type DoubleTypedefBool

type DoubleTypedefBool = AdaptedBool

func DoubleTypedefBoolPtr

func DoubleTypedefBoolPtr(v DoubleTypedefBool) *DoubleTypedefBool

type DoubleTypedefI64

type DoubleTypedefI64 = MyI64

func DoubleTypedefI64Ptr

func DoubleTypedefI64Ptr(v DoubleTypedefI64) *DoubleTypedefI64

type DurationMs

type DurationMs = int64
var AdaptTestUnion_Delay_DEFAULT DurationMs

func DurationMsPtr

func DurationMsPtr(v DurationMs) *DurationMs

type Foo

type Foo struct {
	IntField            int32                                     `thrift:"intField,1" db:"intField" json:"intField"`
	OptionalIntField    *int32                                    `thrift:"optionalIntField,2,optional" db:"optionalIntField" json:"optionalIntField,omitempty"`
	IntFieldWithDefault int32                                     `thrift:"intFieldWithDefault,3" db:"intFieldWithDefault" json:"intFieldWithDefault"`
	SetField            SetWithAdapter                            `thrift:"setField,4" db:"setField" json:"setField"`
	OptionalSetField    SetWithAdapter                            `thrift:"optionalSetField,5,optional" db:"optionalSetField" json:"optionalSetField,omitempty"`
	MapField            map[string]ListWithElemAdapterWithAdapter `thrift:"mapField,6" db:"mapField" json:"mapField"`
	OptionalMapField    map[string]ListWithElemAdapterWithAdapter `thrift:"optionalMapField,7,optional" db:"optionalMapField" json:"optionalMapField,omitempty"`
	BinaryField         []byte                                    `thrift:"binaryField,8" db:"binaryField" json:"binaryField"`
	LongField           MyI64                                     `thrift:"longField,9" db:"longField" json:"longField"`
	AdaptedLongField    MyI64                                     `thrift:"adaptedLongField,10" db:"adaptedLongField" json:"adaptedLongField"`
	DoubleAdaptedField  DoubleTypedefI64                          `thrift:"doubleAdaptedField,11" db:"doubleAdaptedField" json:"doubleAdaptedField"`
}

Attributes:

  • IntField
  • OptionalIntField
  • IntFieldWithDefault
  • SetField
  • OptionalSetField
  • MapField
  • OptionalMapField
  • BinaryField
  • LongField
  • AdaptedLongField
  • DoubleAdaptedField
var Bar_OptionalStructField_DEFAULT *Foo
var Bar_StructField_DEFAULT *Foo
var ServiceFuncArgs_Arg3_DEFAULT *Foo

func NewFoo

func NewFoo() *Foo

func (*Foo) GetAdaptedLongField

func (p *Foo) GetAdaptedLongField() MyI64

func (*Foo) GetBinaryField

func (p *Foo) GetBinaryField() []byte

func (*Foo) GetDoubleAdaptedField

func (p *Foo) GetDoubleAdaptedField() DoubleTypedefI64

func (*Foo) GetIntField

func (p *Foo) GetIntField() int32

func (*Foo) GetIntFieldWithDefault

func (p *Foo) GetIntFieldWithDefault() int32

func (*Foo) GetLongField

func (p *Foo) GetLongField() MyI64

func (*Foo) GetMapField

func (p *Foo) GetMapField() map[string]ListWithElemAdapterWithAdapter

func (*Foo) GetOptionalIntField

func (p *Foo) GetOptionalIntField() int32

func (*Foo) GetOptionalMapField

func (p *Foo) GetOptionalMapField() map[string]ListWithElemAdapterWithAdapter

func (*Foo) GetOptionalSetField

func (p *Foo) GetOptionalSetField() SetWithAdapter

func (*Foo) GetSetField

func (p *Foo) GetSetField() SetWithAdapter

func (*Foo) IsSetOptionalIntField

func (p *Foo) IsSetOptionalIntField() bool

func (*Foo) IsSetOptionalMapField

func (p *Foo) IsSetOptionalMapField() bool

func (*Foo) IsSetOptionalSetField

func (p *Foo) IsSetOptionalSetField() bool

func (*Foo) Read

func (p *Foo) Read(iprot thrift.Protocol) error

func (*Foo) ReadField1

func (p *Foo) ReadField1(iprot thrift.Protocol) error

func (*Foo) ReadField10

func (p *Foo) ReadField10(iprot thrift.Protocol) error

func (*Foo) ReadField11

func (p *Foo) ReadField11(iprot thrift.Protocol) error

func (*Foo) ReadField2

func (p *Foo) ReadField2(iprot thrift.Protocol) error

func (*Foo) ReadField3

func (p *Foo) ReadField3(iprot thrift.Protocol) error

func (*Foo) ReadField4

func (p *Foo) ReadField4(iprot thrift.Protocol) error

func (*Foo) ReadField5

func (p *Foo) ReadField5(iprot thrift.Protocol) error

func (*Foo) ReadField6

func (p *Foo) ReadField6(iprot thrift.Protocol) error

func (*Foo) ReadField7

func (p *Foo) ReadField7(iprot thrift.Protocol) error

func (*Foo) ReadField8

func (p *Foo) ReadField8(iprot thrift.Protocol) error

func (*Foo) ReadField9

func (p *Foo) ReadField9(iprot thrift.Protocol) error

func (*Foo) SetAdaptedLongField

func (f *Foo) SetAdaptedLongField(adaptedLongField MyI64) *Foo

func (*Foo) SetBinaryField

func (f *Foo) SetBinaryField(binaryField []byte) *Foo

func (*Foo) SetDoubleAdaptedField

func (f *Foo) SetDoubleAdaptedField(doubleAdaptedField DoubleTypedefI64) *Foo

func (*Foo) SetIntField

func (f *Foo) SetIntField(intField int32) *Foo

func (*Foo) SetIntFieldWithDefault

func (f *Foo) SetIntFieldWithDefault(intFieldWithDefault int32) *Foo

func (*Foo) SetLongField

func (f *Foo) SetLongField(longField MyI64) *Foo

func (*Foo) SetMapField

func (f *Foo) SetMapField(mapField map[string]ListWithElemAdapterWithAdapter) *Foo

func (*Foo) SetOptionalIntField

func (f *Foo) SetOptionalIntField(optionalIntField *int32) *Foo

func (*Foo) SetOptionalMapField

func (f *Foo) SetOptionalMapField(optionalMapField map[string]ListWithElemAdapterWithAdapter) *Foo

func (*Foo) SetOptionalSetField

func (f *Foo) SetOptionalSetField(optionalSetField SetWithAdapter) *Foo

func (*Foo) SetSetField

func (f *Foo) SetSetField(setField SetWithAdapter) *Foo

func (*Foo) String

func (p *Foo) String() string

func (*Foo) Write

func (p *Foo) Write(oprot thrift.Protocol) error

type FooBuilder

type FooBuilder struct {
	// contains filtered or unexported fields
}

func NewFooBuilder

func NewFooBuilder() *FooBuilder

func (*FooBuilder) AdaptedLongField

func (f *FooBuilder) AdaptedLongField(adaptedLongField MyI64) *FooBuilder

func (*FooBuilder) BinaryField

func (f *FooBuilder) BinaryField(binaryField []byte) *FooBuilder

func (*FooBuilder) DoubleAdaptedField

func (f *FooBuilder) DoubleAdaptedField(doubleAdaptedField DoubleTypedefI64) *FooBuilder

func (FooBuilder) Emit

func (p FooBuilder) Emit() *Foo

func (*FooBuilder) IntField

func (f *FooBuilder) IntField(intField int32) *FooBuilder

func (*FooBuilder) IntFieldWithDefault

func (f *FooBuilder) IntFieldWithDefault(intFieldWithDefault int32) *FooBuilder

func (*FooBuilder) LongField

func (f *FooBuilder) LongField(longField MyI64) *FooBuilder

func (*FooBuilder) MapField

func (f *FooBuilder) MapField(mapField map[string]ListWithElemAdapterWithAdapter) *FooBuilder

func (*FooBuilder) OptionalIntField

func (f *FooBuilder) OptionalIntField(optionalIntField *int32) *FooBuilder

func (*FooBuilder) OptionalMapField

func (f *FooBuilder) OptionalMapField(optionalMapField map[string]ListWithElemAdapterWithAdapter) *FooBuilder

func (*FooBuilder) OptionalSetField

func (f *FooBuilder) OptionalSetField(optionalSetField SetWithAdapter) *FooBuilder

func (*FooBuilder) SetField

func (f *FooBuilder) SetField(setField SetWithAdapter) *FooBuilder

type FooWithAdapter

type FooWithAdapter = Foo

func FooWithAdapterPtr

func FooWithAdapterPtr(v FooWithAdapter) *FooWithAdapter

func NewFooWithAdapter

func NewFooWithAdapter() *FooWithAdapter

type HeapAllocated

type HeapAllocated struct {
}
var AdapterServiceAdaptedTypesArgs_Arg_DEFAULT *HeapAllocated
var AdapterServiceAdaptedTypesResult_Success_DEFAULT *HeapAllocated
var MoveOnly_Ptr_DEFAULT *HeapAllocated

func NewHeapAllocated

func NewHeapAllocated() *HeapAllocated

func (*HeapAllocated) Read

func (p *HeapAllocated) Read(iprot thrift.Protocol) error

func (*HeapAllocated) String

func (p *HeapAllocated) String() string

func (*HeapAllocated) Write

func (p *HeapAllocated) Write(oprot thrift.Protocol) error

type HeapAllocatedBuilder

type HeapAllocatedBuilder struct {
	// contains filtered or unexported fields
}

func NewHeapAllocatedBuilder

func NewHeapAllocatedBuilder() *HeapAllocatedBuilder

func (HeapAllocatedBuilder) Emit

type IndependentDirectlyAdapted

type IndependentDirectlyAdapted struct {
	Field int32 `thrift:"field,1" db:"field" json:"field"`
}

Attributes:

  • Field

func NewIndependentDirectlyAdapted

func NewIndependentDirectlyAdapted() *IndependentDirectlyAdapted

func (*IndependentDirectlyAdapted) GetField

func (p *IndependentDirectlyAdapted) GetField() int32

func (*IndependentDirectlyAdapted) Read

func (*IndependentDirectlyAdapted) ReadField1

func (p *IndependentDirectlyAdapted) ReadField1(iprot thrift.Protocol) error

func (*IndependentDirectlyAdapted) SetField

func (*IndependentDirectlyAdapted) String

func (p *IndependentDirectlyAdapted) String() string

func (*IndependentDirectlyAdapted) Write

type IndependentDirectlyAdaptedBuilder

type IndependentDirectlyAdaptedBuilder struct {
	// contains filtered or unexported fields
}

func NewIndependentDirectlyAdaptedBuilder

func NewIndependentDirectlyAdaptedBuilder() *IndependentDirectlyAdaptedBuilder

func (IndependentDirectlyAdaptedBuilder) Emit

func (*IndependentDirectlyAdaptedBuilder) Field

type IndirectionString

type IndirectionString = string

func IndirectionStringPtr

func IndirectionStringPtr(v IndirectionString) *IndirectionString

type ListWithElemAdapter

type ListWithElemAdapter = []StringWithAdapter

func ListWithElemAdapterPtr

func ListWithElemAdapterPtr(v ListWithElemAdapter) *ListWithElemAdapter

type ListWithElemAdapterWithAdapter

type ListWithElemAdapterWithAdapter = ListWithElemAdapter

type MoveOnly

type MoveOnly struct {
	Ptr *HeapAllocated `thrift:"ptr,1" db:"ptr" json:"ptr"`
}

Attributes:

  • Ptr
var NestedAdapted *MoveOnly

func NewMoveOnly

func NewMoveOnly() *MoveOnly

func (*MoveOnly) DefaultGetPtr

func (p *MoveOnly) DefaultGetPtr() *HeapAllocated

func (*MoveOnly) GetPtr

func (p *MoveOnly) GetPtr() *HeapAllocated

func (*MoveOnly) IsSetPtr

func (p *MoveOnly) IsSetPtr() bool

func (*MoveOnly) Read

func (p *MoveOnly) Read(iprot thrift.Protocol) error

func (*MoveOnly) ReadField1

func (p *MoveOnly) ReadField1(iprot thrift.Protocol) error

func (*MoveOnly) SetPtr

func (m *MoveOnly) SetPtr(ptr *HeapAllocated) *MoveOnly

func (*MoveOnly) String

func (p *MoveOnly) String() string

func (*MoveOnly) Write

func (p *MoveOnly) Write(oprot thrift.Protocol) error

type MoveOnlyBuilder

type MoveOnlyBuilder struct {
	// contains filtered or unexported fields
}

func NewMoveOnlyBuilder

func NewMoveOnlyBuilder() *MoveOnlyBuilder

func (MoveOnlyBuilder) Emit

func (p MoveOnlyBuilder) Emit() *MoveOnly

func (*MoveOnlyBuilder) Ptr

type MyAnnotation

type MyAnnotation struct {
	Signature string `thrift:"signature,1" db:"signature" json:"signature"`
	Color     Color  `thrift:"color,2" db:"color" json:"color"`
}

Attributes:

  • Signature
  • Color

func NewMyAnnotation

func NewMyAnnotation() *MyAnnotation

func (*MyAnnotation) GetColor

func (p *MyAnnotation) GetColor() Color

func (*MyAnnotation) GetSignature

func (p *MyAnnotation) GetSignature() string

func (*MyAnnotation) Read

func (p *MyAnnotation) Read(iprot thrift.Protocol) error

func (*MyAnnotation) ReadField1

func (p *MyAnnotation) ReadField1(iprot thrift.Protocol) error

func (*MyAnnotation) ReadField2

func (p *MyAnnotation) ReadField2(iprot thrift.Protocol) error

func (*MyAnnotation) SetColor

func (m *MyAnnotation) SetColor(color Color) *MyAnnotation

func (*MyAnnotation) SetSignature

func (m *MyAnnotation) SetSignature(signature string) *MyAnnotation

func (*MyAnnotation) String

func (p *MyAnnotation) String() string

func (*MyAnnotation) Write

func (p *MyAnnotation) Write(oprot thrift.Protocol) error

type MyAnnotationBuilder

type MyAnnotationBuilder struct {
	// contains filtered or unexported fields
}

func NewMyAnnotationBuilder

func NewMyAnnotationBuilder() *MyAnnotationBuilder

func (*MyAnnotationBuilder) Color

func (MyAnnotationBuilder) Emit

func (*MyAnnotationBuilder) Signature

func (m *MyAnnotationBuilder) Signature(signature string) *MyAnnotationBuilder

type MyI32

type MyI32 = int32
var ServiceFuncResult_Success_DEFAULT MyI32

func MyI32Ptr

func MyI32Ptr(v MyI32) *MyI32

type MyI64

type MyI64 = int64
var Baz_LongField_DEFAULT MyI64

func MyI64Ptr

func MyI64Ptr(v MyI64) *MyI64

type MyStruct

type MyStruct struct {
	Field     int32          `thrift:"field,1" db:"field" json:"field"`
	SetString SetWithAdapter `thrift:"set_string,2" db:"set_string" json:"set_string"`
}

Attributes:

  • Field
  • SetString
var Var3 *MyStruct
var Var6 *MyStruct

func NewMyStruct

func NewMyStruct() *MyStruct

func (*MyStruct) GetField

func (p *MyStruct) GetField() int32

func (*MyStruct) GetSetString

func (p *MyStruct) GetSetString() SetWithAdapter

func (*MyStruct) Read

func (p *MyStruct) Read(iprot thrift.Protocol) error

func (*MyStruct) ReadField1

func (p *MyStruct) ReadField1(iprot thrift.Protocol) error

func (*MyStruct) ReadField2

func (p *MyStruct) ReadField2(iprot thrift.Protocol) error

func (*MyStruct) SetField

func (m *MyStruct) SetField(field int32) *MyStruct

func (*MyStruct) SetSetString

func (m *MyStruct) SetSetString(setString SetWithAdapter) *MyStruct

func (*MyStruct) String

func (p *MyStruct) String() string

func (*MyStruct) Write

func (p *MyStruct) Write(oprot thrift.Protocol) error

type MyStructBuilder

type MyStructBuilder struct {
	// contains filtered or unexported fields
}

func NewMyStructBuilder

func NewMyStructBuilder() *MyStructBuilder

func (MyStructBuilder) Emit

func (p MyStructBuilder) Emit() *MyStruct

func (*MyStructBuilder) Field

func (m *MyStructBuilder) Field(field int32) *MyStructBuilder

func (*MyStructBuilder) SetString

func (m *MyStructBuilder) SetString(setString SetWithAdapter) *MyStructBuilder

type Person

type Person struct {
	Name string `thrift:"name,1" db:"name" json:"name"`
}

Attributes:

  • Name

func NewPerson

func NewPerson() *Person

func (*Person) GetName

func (p *Person) GetName() string

func (*Person) Read

func (p *Person) Read(iprot thrift.Protocol) error

func (*Person) ReadField1

func (p *Person) ReadField1(iprot thrift.Protocol) error

func (*Person) SetName

func (p *Person) SetName(name string) *Person

func (*Person) String

func (p *Person) String() string

func (*Person) Write

func (p *Person) Write(oprot thrift.Protocol) error

type Person2

type Person2 struct {
	Name string `thrift:"name,1" db:"name" json:"name"`
}

Attributes:

  • Name
var Person *Person2
var PersonNoTransitive *Person2

func NewPerson2

func NewPerson2() *Person2

func (*Person2) GetName

func (p *Person2) GetName() string

func (*Person2) Read

func (p *Person2) Read(iprot thrift.Protocol) error

func (*Person2) ReadField1

func (p *Person2) ReadField1(iprot thrift.Protocol) error

func (*Person2) SetName

func (p *Person2) SetName(name string) *Person2

func (*Person2) String

func (p *Person2) String() string

func (*Person2) Write

func (p *Person2) Write(oprot thrift.Protocol) error

type Person2Builder

type Person2Builder struct {
	// contains filtered or unexported fields
}

func NewPerson2Builder

func NewPerson2Builder() *Person2Builder

func (Person2Builder) Emit

func (p Person2Builder) Emit() *Person2

func (*Person2Builder) Name

func (p *Person2Builder) Name(name string) *Person2Builder

type PersonBuilder

type PersonBuilder struct {
	// contains filtered or unexported fields
}

func NewPersonBuilder

func NewPersonBuilder() *PersonBuilder

func (PersonBuilder) Emit

func (p PersonBuilder) Emit() *Person

func (*PersonBuilder) Name

func (p *PersonBuilder) Name(name string) *PersonBuilder

type RenamedStruct

type RenamedStruct struct {
	Data int64 `thrift:"data,1" db:"data" json:"data"`
}

Attributes:

  • Data

func NewRenamedStruct

func NewRenamedStruct() *RenamedStruct

func (*RenamedStruct) GetData

func (p *RenamedStruct) GetData() int64

func (*RenamedStruct) Read

func (p *RenamedStruct) Read(iprot thrift.Protocol) error

func (*RenamedStruct) ReadField1

func (p *RenamedStruct) ReadField1(iprot thrift.Protocol) error

func (*RenamedStruct) SetData

func (r *RenamedStruct) SetData(data int64) *RenamedStruct

func (*RenamedStruct) String

func (p *RenamedStruct) String() string

func (*RenamedStruct) Write

func (p *RenamedStruct) Write(oprot thrift.Protocol) error

type RenamedStructBuilder

type RenamedStructBuilder struct {
	// contains filtered or unexported fields
}

func NewRenamedStructBuilder

func NewRenamedStructBuilder() *RenamedStructBuilder

func (*RenamedStructBuilder) Data

func (RenamedStructBuilder) Emit

type ReorderedStruct

type ReorderedStruct struct {
	ReorderedDependentAdapted *DeclaredAfterStruct `thrift:"reordered_dependent_adapted,1" db:"reordered_dependent_adapted" json:"reordered_dependent_adapted"`
}

Attributes:

  • ReorderedDependentAdapted

func NewReorderedStruct

func NewReorderedStruct() *ReorderedStruct

func (*ReorderedStruct) GetReorderedDependentAdapted

func (p *ReorderedStruct) GetReorderedDependentAdapted() *DeclaredAfterStruct

func (*ReorderedStruct) IsSetReorderedDependentAdapted

func (p *ReorderedStruct) IsSetReorderedDependentAdapted() bool

func (*ReorderedStruct) Read

func (p *ReorderedStruct) Read(iprot thrift.Protocol) error

func (*ReorderedStruct) ReadField1

func (p *ReorderedStruct) ReadField1(iprot thrift.Protocol) error

func (*ReorderedStruct) SetReorderedDependentAdapted

func (r *ReorderedStruct) SetReorderedDependentAdapted(reorderedDependentAdapted *DeclaredAfterStruct) *ReorderedStruct

func (*ReorderedStruct) String

func (p *ReorderedStruct) String() string

func (*ReorderedStruct) Write

func (p *ReorderedStruct) Write(oprot thrift.Protocol) error

type ReorderedStructBuilder

type ReorderedStructBuilder struct {
	// contains filtered or unexported fields
}

func NewReorderedStructBuilder

func NewReorderedStructBuilder() *ReorderedStructBuilder

func (ReorderedStructBuilder) Emit

func (*ReorderedStructBuilder) ReorderedDependentAdapted

func (r *ReorderedStructBuilder) ReorderedDependentAdapted(reorderedDependentAdapted *DeclaredAfterStruct) *ReorderedStructBuilder

type SameNamespaceStruct

type SameNamespaceStruct struct {
	Data int64 `thrift:"data,1" db:"data" json:"data"`
}

Attributes:

  • Data

func NewSameNamespaceStruct

func NewSameNamespaceStruct() *SameNamespaceStruct

func (*SameNamespaceStruct) GetData

func (p *SameNamespaceStruct) GetData() int64

func (*SameNamespaceStruct) Read

func (p *SameNamespaceStruct) Read(iprot thrift.Protocol) error

func (*SameNamespaceStruct) ReadField1

func (p *SameNamespaceStruct) ReadField1(iprot thrift.Protocol) error

func (*SameNamespaceStruct) SetData

func (s *SameNamespaceStruct) SetData(data int64) *SameNamespaceStruct

func (*SameNamespaceStruct) String

func (p *SameNamespaceStruct) String() string

func (*SameNamespaceStruct) Write

func (p *SameNamespaceStruct) Write(oprot thrift.Protocol) error

type SameNamespaceStructBuilder

type SameNamespaceStructBuilder struct {
	// contains filtered or unexported fields
}

func NewSameNamespaceStructBuilder

func NewSameNamespaceStructBuilder() *SameNamespaceStructBuilder

func (*SameNamespaceStructBuilder) Data

func (SameNamespaceStructBuilder) Emit

type Service

type Service interface {
	// Parameters:
	//  - Arg1
	//  - Arg2
	//  - Arg3
	Func(arg1 StringWithAdapter, arg2 string, arg3 *Foo) (_r MyI32, err error)
}

type ServiceChannelClient

type ServiceChannelClient struct {
	RequestChannel thrift.RequestChannel
}

func NewServiceChannelClient

func NewServiceChannelClient(channel thrift.RequestChannel) *ServiceChannelClient

func (*ServiceChannelClient) Close

func (c *ServiceChannelClient) Close() error

func (*ServiceChannelClient) Func

func (p *ServiceChannelClient) Func(ctx context.Context, arg1 StringWithAdapter, arg2 string, arg3 *Foo) (_r MyI32, err error)

Parameters:

  • Arg1
  • Arg2
  • Arg3

func (*ServiceChannelClient) IsOpen

func (c *ServiceChannelClient) IsOpen() bool

func (*ServiceChannelClient) Open

func (c *ServiceChannelClient) Open() error

type ServiceClient

type ServiceClient struct {
	ServiceClientInterface
	CC thrift.ClientConn
}

func NewServiceClient

func NewServiceClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *ServiceClient

func NewServiceClientProtocol

func NewServiceClientProtocol(prot thrift.Protocol) *ServiceClient

func (*ServiceClient) Close

func (client *ServiceClient) Close() error

func (*ServiceClient) Func

func (p *ServiceClient) Func(arg1 StringWithAdapter, arg2 string, arg3 *Foo) (_r MyI32, err error)

Parameters:

  • Arg1
  • Arg2
  • Arg3

func (*ServiceClient) IsOpen

func (client *ServiceClient) IsOpen() bool

func (*ServiceClient) Open

func (client *ServiceClient) Open() error

type ServiceClientInterface

type ServiceClientInterface interface {
	thrift.ClientInterface
	// Parameters:
	//  - Arg1
	//  - Arg2
	//  - Arg3
	Func(arg1 StringWithAdapter, arg2 string, arg3 *Foo) (_r MyI32, err error)
}

type ServiceFuncArgs

type ServiceFuncArgs struct {
	thrift.IRequest
	Arg1 StringWithAdapter `thrift:"arg1,1" db:"arg1" json:"arg1"`
	Arg2 string            `thrift:"arg2,2" db:"arg2" json:"arg2"`
	Arg3 *Foo              `thrift:"arg3,3" db:"arg3" json:"arg3"`
}

Attributes:

  • Arg1
  • Arg2
  • Arg3

func NewServiceFuncArgs

func NewServiceFuncArgs() *ServiceFuncArgs

func (*ServiceFuncArgs) DefaultGetArg3

func (p *ServiceFuncArgs) DefaultGetArg3() *Foo

func (*ServiceFuncArgs) GetArg1

func (p *ServiceFuncArgs) GetArg1() StringWithAdapter

func (*ServiceFuncArgs) GetArg2

func (p *ServiceFuncArgs) GetArg2() string

func (*ServiceFuncArgs) GetArg3

func (p *ServiceFuncArgs) GetArg3() *Foo

func (*ServiceFuncArgs) IsSetArg3

func (p *ServiceFuncArgs) IsSetArg3() bool

func (*ServiceFuncArgs) Read

func (p *ServiceFuncArgs) Read(iprot thrift.Protocol) error

func (*ServiceFuncArgs) ReadField1

func (p *ServiceFuncArgs) ReadField1(iprot thrift.Protocol) error

func (*ServiceFuncArgs) ReadField2

func (p *ServiceFuncArgs) ReadField2(iprot thrift.Protocol) error

func (*ServiceFuncArgs) ReadField3

func (p *ServiceFuncArgs) ReadField3(iprot thrift.Protocol) error

func (*ServiceFuncArgs) SetArg1

func (*ServiceFuncArgs) SetArg2

func (s *ServiceFuncArgs) SetArg2(arg2 string) *ServiceFuncArgs

func (*ServiceFuncArgs) SetArg3

func (s *ServiceFuncArgs) SetArg3(arg3 *Foo) *ServiceFuncArgs

func (*ServiceFuncArgs) String

func (p *ServiceFuncArgs) String() string

func (*ServiceFuncArgs) Write

func (p *ServiceFuncArgs) Write(oprot thrift.Protocol) error

type ServiceFuncArgsBuilder

type ServiceFuncArgsBuilder struct {
	// contains filtered or unexported fields
}

func NewServiceFuncArgsBuilder

func NewServiceFuncArgsBuilder() *ServiceFuncArgsBuilder

func (*ServiceFuncArgsBuilder) Arg1

func (*ServiceFuncArgsBuilder) Arg2

func (*ServiceFuncArgsBuilder) Arg3

func (ServiceFuncArgsBuilder) Emit

type ServiceFuncResult

type ServiceFuncResult struct {
	thrift.IResponse
	Success *MyI32 `thrift:"success,0,optional" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewServiceFuncResult

func NewServiceFuncResult() *ServiceFuncResult

func (*ServiceFuncResult) Exception

func (*ServiceFuncResult) GetSuccess

func (p *ServiceFuncResult) GetSuccess() MyI32

func (*ServiceFuncResult) IsSetSuccess

func (p *ServiceFuncResult) IsSetSuccess() bool

func (*ServiceFuncResult) Read

func (p *ServiceFuncResult) Read(iprot thrift.Protocol) error

func (*ServiceFuncResult) ReadField0

func (p *ServiceFuncResult) ReadField0(iprot thrift.Protocol) error

func (*ServiceFuncResult) SetSuccess

func (s *ServiceFuncResult) SetSuccess(success *MyI32) *ServiceFuncResult

func (*ServiceFuncResult) String

func (p *ServiceFuncResult) String() string

func (*ServiceFuncResult) Write

func (p *ServiceFuncResult) Write(oprot thrift.Protocol) error

type ServiceFuncResultBuilder

type ServiceFuncResultBuilder struct {
	// contains filtered or unexported fields
}

func NewServiceFuncResultBuilder

func NewServiceFuncResultBuilder() *ServiceFuncResultBuilder

func (ServiceFuncResultBuilder) Emit

func (*ServiceFuncResultBuilder) Success

type ServiceProcessor

type ServiceProcessor struct {
	// contains filtered or unexported fields
}

func NewServiceProcessor

func NewServiceProcessor(handler Service) *ServiceProcessor

func (*ServiceProcessor) AddToFunctionServiceMap

func (p *ServiceProcessor) AddToFunctionServiceMap(key, service string)

func (*ServiceProcessor) AddToProcessorMap

func (p *ServiceProcessor) AddToProcessorMap(key string, processor thrift.ProcessorFunction)

func (*ServiceProcessor) FunctionServiceMap

func (p *ServiceProcessor) FunctionServiceMap() map[string]string

func (*ServiceProcessor) GetProcessorFunction

func (p *ServiceProcessor) GetProcessorFunction(key string) (processor thrift.ProcessorFunction, err error)

func (*ServiceProcessor) ProcessorMap

func (p *ServiceProcessor) ProcessorMap() map[string]thrift.ProcessorFunction

type ServiceThreadsafeClient

type ServiceThreadsafeClient struct {
	ServiceClientInterface
	CC thrift.ClientConn
	Mu sync.Mutex
}

func NewServiceThreadsafeClient

func NewServiceThreadsafeClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *ServiceThreadsafeClient

func NewServiceThreadsafeClientProtocol

func NewServiceThreadsafeClientProtocol(prot thrift.Protocol) *ServiceThreadsafeClient

func (*ServiceThreadsafeClient) Close

func (client *ServiceThreadsafeClient) Close() error

func (*ServiceThreadsafeClient) Func

func (p *ServiceThreadsafeClient) Func(arg1 StringWithAdapter, arg2 string, arg3 *Foo) (_r MyI32, err error)

Parameters:

  • Arg1
  • Arg2
  • Arg3

func (*ServiceThreadsafeClient) IsOpen

func (client *ServiceThreadsafeClient) IsOpen() bool

func (*ServiceThreadsafeClient) Open

func (client *ServiceThreadsafeClient) Open() error

type SetWithAdapter

type SetWithAdapter = []string
var Baz_SetField_DEFAULT SetWithAdapter
var Foo_OptionalSetField_DEFAULT SetWithAdapter

func SetWithAdapterPtr

func SetWithAdapterPtr(v SetWithAdapter) *SetWithAdapter

type StringWithAdapter

type StringWithAdapter = string

func StringWithAdapterPtr

func StringWithAdapterPtr(v StringWithAdapter) *StringWithAdapter

type StructFieldAdaptedStruct

type StructFieldAdaptedStruct struct {
	AdaptedStruct    *AdaptedStruct         `thrift:"adaptedStruct,1" db:"adaptedStruct" json:"adaptedStruct"`
	AdaptedTypedef   *AdaptedTypedef        `thrift:"adaptedTypedef,2" db:"adaptedTypedef" json:"adaptedTypedef"`
	DirectlyAdapted  *DirectlyAdaptedStruct `thrift:"directlyAdapted,3" db:"directlyAdapted" json:"directlyAdapted"`
	TypedefOfAdapted *TypedefOfDirect       `thrift:"typedefOfAdapted,4" db:"typedefOfAdapted" json:"typedefOfAdapted"`
}

Attributes:

  • AdaptedStruct
  • AdaptedTypedef
  • DirectlyAdapted
  • TypedefOfAdapted

func NewStructFieldAdaptedStruct

func NewStructFieldAdaptedStruct() *StructFieldAdaptedStruct

func (*StructFieldAdaptedStruct) DefaultGetAdaptedStruct

func (p *StructFieldAdaptedStruct) DefaultGetAdaptedStruct() *AdaptedStruct

func (*StructFieldAdaptedStruct) DefaultGetDirectlyAdapted

func (p *StructFieldAdaptedStruct) DefaultGetDirectlyAdapted() *DirectlyAdaptedStruct

func (*StructFieldAdaptedStruct) GetAdaptedStruct

func (p *StructFieldAdaptedStruct) GetAdaptedStruct() *AdaptedStruct

func (*StructFieldAdaptedStruct) GetAdaptedTypedef

func (p *StructFieldAdaptedStruct) GetAdaptedTypedef() *AdaptedTypedef

func (*StructFieldAdaptedStruct) GetDirectlyAdapted

func (p *StructFieldAdaptedStruct) GetDirectlyAdapted() *DirectlyAdaptedStruct

func (*StructFieldAdaptedStruct) GetTypedefOfAdapted

func (p *StructFieldAdaptedStruct) GetTypedefOfAdapted() *TypedefOfDirect

func (*StructFieldAdaptedStruct) IsSetAdaptedStruct

func (p *StructFieldAdaptedStruct) IsSetAdaptedStruct() bool

func (*StructFieldAdaptedStruct) IsSetAdaptedTypedef

func (p *StructFieldAdaptedStruct) IsSetAdaptedTypedef() bool

func (*StructFieldAdaptedStruct) IsSetDirectlyAdapted

func (p *StructFieldAdaptedStruct) IsSetDirectlyAdapted() bool

func (*StructFieldAdaptedStruct) IsSetTypedefOfAdapted

func (p *StructFieldAdaptedStruct) IsSetTypedefOfAdapted() bool

func (*StructFieldAdaptedStruct) Read

func (*StructFieldAdaptedStruct) ReadField1

func (p *StructFieldAdaptedStruct) ReadField1(iprot thrift.Protocol) error

func (*StructFieldAdaptedStruct) ReadField2

func (p *StructFieldAdaptedStruct) ReadField2(iprot thrift.Protocol) error

func (*StructFieldAdaptedStruct) ReadField3

func (p *StructFieldAdaptedStruct) ReadField3(iprot thrift.Protocol) error

func (*StructFieldAdaptedStruct) ReadField4

func (p *StructFieldAdaptedStruct) ReadField4(iprot thrift.Protocol) error

func (*StructFieldAdaptedStruct) SetAdaptedStruct

func (s *StructFieldAdaptedStruct) SetAdaptedStruct(adaptedStruct *AdaptedStruct) *StructFieldAdaptedStruct

func (*StructFieldAdaptedStruct) SetAdaptedTypedef

func (s *StructFieldAdaptedStruct) SetAdaptedTypedef(adaptedTypedef *AdaptedTypedef) *StructFieldAdaptedStruct

func (*StructFieldAdaptedStruct) SetDirectlyAdapted

func (s *StructFieldAdaptedStruct) SetDirectlyAdapted(directlyAdapted *DirectlyAdaptedStruct) *StructFieldAdaptedStruct

func (*StructFieldAdaptedStruct) SetTypedefOfAdapted

func (s *StructFieldAdaptedStruct) SetTypedefOfAdapted(typedefOfAdapted *TypedefOfDirect) *StructFieldAdaptedStruct

func (*StructFieldAdaptedStruct) String

func (p *StructFieldAdaptedStruct) String() string

func (*StructFieldAdaptedStruct) Write

type StructFieldAdaptedStructBuilder

type StructFieldAdaptedStructBuilder struct {
	// contains filtered or unexported fields
}

func NewStructFieldAdaptedStructBuilder

func NewStructFieldAdaptedStructBuilder() *StructFieldAdaptedStructBuilder

func (*StructFieldAdaptedStructBuilder) AdaptedStruct

func (*StructFieldAdaptedStructBuilder) AdaptedTypedef

func (*StructFieldAdaptedStructBuilder) DirectlyAdapted

func (StructFieldAdaptedStructBuilder) Emit

func (*StructFieldAdaptedStructBuilder) TypedefOfAdapted

type StructWithAdapter

type StructWithAdapter = *Bar

func NewStructWithAdapter

func NewStructWithAdapter() StructWithAdapter

func StructWithAdapterPtr

func StructWithAdapterPtr(v StructWithAdapter) *StructWithAdapter

type StructWithFieldAdapter

type StructWithFieldAdapter struct {
	Field          int32  `thrift:"field,1" db:"field" json:"field"`
	SharedField    int32  `thrift:"shared_field,2" db:"shared_field" json:"shared_field"`
	OptSharedField *int32 `thrift:"opt_shared_field,3,optional" db:"opt_shared_field" json:"opt_shared_field,omitempty"`
	OptBoxedField  *int32 `thrift:"opt_boxed_field,4,optional" db:"opt_boxed_field" json:"opt_boxed_field,omitempty"`
}

Attributes:

  • Field
  • SharedField
  • OptSharedField
  • OptBoxedField

func NewStructWithFieldAdapter

func NewStructWithFieldAdapter() *StructWithFieldAdapter

func (*StructWithFieldAdapter) GetField

func (p *StructWithFieldAdapter) GetField() int32

func (*StructWithFieldAdapter) GetOptBoxedField

func (p *StructWithFieldAdapter) GetOptBoxedField() int32

func (*StructWithFieldAdapter) GetOptSharedField

func (p *StructWithFieldAdapter) GetOptSharedField() int32

func (*StructWithFieldAdapter) GetSharedField

func (p *StructWithFieldAdapter) GetSharedField() int32

func (*StructWithFieldAdapter) IsSetOptBoxedField

func (p *StructWithFieldAdapter) IsSetOptBoxedField() bool

func (*StructWithFieldAdapter) IsSetOptSharedField

func (p *StructWithFieldAdapter) IsSetOptSharedField() bool

func (*StructWithFieldAdapter) Read

func (*StructWithFieldAdapter) ReadField1

func (p *StructWithFieldAdapter) ReadField1(iprot thrift.Protocol) error

func (*StructWithFieldAdapter) ReadField2

func (p *StructWithFieldAdapter) ReadField2(iprot thrift.Protocol) error

func (*StructWithFieldAdapter) ReadField3

func (p *StructWithFieldAdapter) ReadField3(iprot thrift.Protocol) error

func (*StructWithFieldAdapter) ReadField4

func (p *StructWithFieldAdapter) ReadField4(iprot thrift.Protocol) error

func (*StructWithFieldAdapter) SetField

func (*StructWithFieldAdapter) SetOptBoxedField

func (s *StructWithFieldAdapter) SetOptBoxedField(optBoxedField *int32) *StructWithFieldAdapter

func (*StructWithFieldAdapter) SetOptSharedField

func (s *StructWithFieldAdapter) SetOptSharedField(optSharedField *int32) *StructWithFieldAdapter

func (*StructWithFieldAdapter) SetSharedField

func (s *StructWithFieldAdapter) SetSharedField(sharedField int32) *StructWithFieldAdapter

func (*StructWithFieldAdapter) String

func (p *StructWithFieldAdapter) String() string

func (*StructWithFieldAdapter) Write

func (p *StructWithFieldAdapter) Write(oprot thrift.Protocol) error

type StructWithFieldAdapterBuilder

type StructWithFieldAdapterBuilder struct {
	// contains filtered or unexported fields
}

func NewStructWithFieldAdapterBuilder

func NewStructWithFieldAdapterBuilder() *StructWithFieldAdapterBuilder

func (StructWithFieldAdapterBuilder) Emit

func (*StructWithFieldAdapterBuilder) Field

func (*StructWithFieldAdapterBuilder) OptBoxedField

func (s *StructWithFieldAdapterBuilder) OptBoxedField(optBoxedField *int32) *StructWithFieldAdapterBuilder

func (*StructWithFieldAdapterBuilder) OptSharedField

func (s *StructWithFieldAdapterBuilder) OptSharedField(optSharedField *int32) *StructWithFieldAdapterBuilder

func (*StructWithFieldAdapterBuilder) SharedField

type TerseAdaptedFields

type TerseAdaptedFields struct {
	IntField    int32   `thrift:"int_field,1" db:"int_field" json:"int_field"`
	StringField string  `thrift:"string_field,2" db:"string_field" json:"string_field"`
	SetField    []int32 `thrift:"set_field,3" db:"set_field" json:"set_field"`
}

Attributes:

  • IntField
  • StringField
  • SetField

func NewTerseAdaptedFields

func NewTerseAdaptedFields() *TerseAdaptedFields

func (*TerseAdaptedFields) GetIntField

func (p *TerseAdaptedFields) GetIntField() int32

func (*TerseAdaptedFields) GetSetField

func (p *TerseAdaptedFields) GetSetField() []int32

func (*TerseAdaptedFields) GetStringField

func (p *TerseAdaptedFields) GetStringField() string

func (*TerseAdaptedFields) Read

func (p *TerseAdaptedFields) Read(iprot thrift.Protocol) error

func (*TerseAdaptedFields) ReadField1

func (p *TerseAdaptedFields) ReadField1(iprot thrift.Protocol) error

func (*TerseAdaptedFields) ReadField2

func (p *TerseAdaptedFields) ReadField2(iprot thrift.Protocol) error

func (*TerseAdaptedFields) ReadField3

func (p *TerseAdaptedFields) ReadField3(iprot thrift.Protocol) error

func (*TerseAdaptedFields) SetIntField

func (t *TerseAdaptedFields) SetIntField(intField int32) *TerseAdaptedFields

func (*TerseAdaptedFields) SetSetField

func (t *TerseAdaptedFields) SetSetField(setField []int32) *TerseAdaptedFields

func (*TerseAdaptedFields) SetStringField

func (t *TerseAdaptedFields) SetStringField(stringField string) *TerseAdaptedFields

func (*TerseAdaptedFields) String

func (p *TerseAdaptedFields) String() string

func (*TerseAdaptedFields) Write

func (p *TerseAdaptedFields) Write(oprot thrift.Protocol) error

type TerseAdaptedFieldsBuilder

type TerseAdaptedFieldsBuilder struct {
	// contains filtered or unexported fields
}

func NewTerseAdaptedFieldsBuilder

func NewTerseAdaptedFieldsBuilder() *TerseAdaptedFieldsBuilder

func (TerseAdaptedFieldsBuilder) Emit

func (*TerseAdaptedFieldsBuilder) IntField

func (*TerseAdaptedFieldsBuilder) SetField

func (*TerseAdaptedFieldsBuilder) StringField

func (t *TerseAdaptedFieldsBuilder) StringField(stringField string) *TerseAdaptedFieldsBuilder

type ThriftAdaptedEnum

type ThriftAdaptedEnum int64
const (
	ThriftAdaptedEnum_Zero ThriftAdaptedEnum = 0
	ThriftAdaptedEnum_One  ThriftAdaptedEnum = 1
)

func ThriftAdaptedEnumFromString

func ThriftAdaptedEnumFromString(s string) (ThriftAdaptedEnum, error)

func ThriftAdaptedEnumPtr

func ThriftAdaptedEnumPtr(v ThriftAdaptedEnum) *ThriftAdaptedEnum

func (ThriftAdaptedEnum) String

func (p ThriftAdaptedEnum) String() string

type TransitiveAdapted

type TransitiveAdapted struct {
}

func NewTransitiveAdapted

func NewTransitiveAdapted() *TransitiveAdapted

func (*TransitiveAdapted) Read

func (p *TransitiveAdapted) Read(iprot thrift.Protocol) error

func (*TransitiveAdapted) String

func (p *TransitiveAdapted) String() string

func (*TransitiveAdapted) Write

func (p *TransitiveAdapted) Write(oprot thrift.Protocol) error

type TransitiveAdaptedBuilder

type TransitiveAdaptedBuilder struct {
	// contains filtered or unexported fields
}

func NewTransitiveAdaptedBuilder

func NewTransitiveAdaptedBuilder() *TransitiveAdaptedBuilder

func (TransitiveAdaptedBuilder) Emit

type TypedefOfDirect

type TypedefOfDirect = DirectlyAdaptedStruct
var StructFieldAdaptedStruct_TypedefOfAdapted_DEFAULT *TypedefOfDirect

func NewTypedefOfDirect

func NewTypedefOfDirect() *TypedefOfDirect

func TypedefOfDirectPtr

func TypedefOfDirectPtr(v TypedefOfDirect) *TypedefOfDirect

type UnionWithAdapter

type UnionWithAdapter = *Baz

func NewUnionWithAdapter

func NewUnionWithAdapter() UnionWithAdapter

func UnionWithAdapterPtr

func UnionWithAdapterPtr(v UnionWithAdapter) *UnionWithAdapter

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL