gauntlet_tchannel

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package gauntlet_tchannel is generated code used to make or handle TChannel calls using Thrift.

Index

Constants

View Source
const MyNumberz = 1

Variables

View Source
var Bonk_Message_DEFAULT string
View Source
var Bonk_Type_DEFAULT int32
View Source
var BoolTest_B_DEFAULT bool = true
View Source
var BoolTest_S_DEFAULT string = "true"
View Source
var Bools_ImFalse_DEFAULT bool
View Source
var Bools_ImTrue_DEFAULT bool
View Source
var CrazyNesting_BinaryField_DEFAULT []byte
View Source
var CrazyNesting_SetField_DEFAULT map[*Insanity]bool
View Source
var CrazyNesting_StringField_DEFAULT string
View Source
var GoUnusedProtection__ int
View Source
var GuessProtocolStruct_MapField_DEFAULT map[string]string
View Source
var Insanity_UserMap_DEFAULT map[Numberz]UserId
View Source
var Insanity_Xtructs_DEFAULT []*Xtruct
View Source
var LargeDeltas_ASet2500_DEFAULT map[string]bool
View Source
var LargeDeltas_BigNumbers_DEFAULT []int32
View Source
var LargeDeltas_CheckFalse_DEFAULT bool
View Source
var LargeDeltas_CheckTrue_DEFAULT bool
View Source
var ListBonks_Bonk_DEFAULT []*Bonk
View Source
var ListTypeVersioningV1_Hello_DEFAULT string
View Source
var ListTypeVersioningV1_Myints_DEFAULT []int32
View Source
var ListTypeVersioningV2_Hello_DEFAULT string
View Source
var ListTypeVersioningV2_Strings_DEFAULT []string
View Source
var NestedListsBonk_Bonk_DEFAULT [][][]*Bonk
View Source
var NestedListsI32x2_Integerlist_DEFAULT [][]int32
View Source
var NestedListsI32x3_Integerlist_DEFAULT [][][]int32
View Source
var NestedMixedx2_IntSetList_DEFAULT []map[int32]bool
View Source
var NestedMixedx2_MapIntStrsetList_DEFAULT []map[int32]map[string]bool
View Source
var NestedMixedx2_MapIntStrset_DEFAULT map[int32]map[string]bool
View Source
var SecondServiceSecondtestStringResult_Success_DEFAULT string
View Source
var ThriftTestTestBinaryResult_Success_DEFAULT []byte
View Source
var ThriftTestTestByteResult_Success_DEFAULT int8
View Source
var ThriftTestTestDoubleResult_Success_DEFAULT float64
View Source
var ThriftTestTestI32Result_Success_DEFAULT int32
View Source
var ThriftTestTestI64Result_Success_DEFAULT int64
View Source
var ThriftTestTestInsanityResult_Success_DEFAULT map[UserId]map[Numberz]*Insanity
View Source
var ThriftTestTestListResult_Success_DEFAULT []int32
View Source
var ThriftTestTestMapMapResult_Success_DEFAULT map[int32]map[int32]int32
View Source
var ThriftTestTestMapResult_Success_DEFAULT map[int32]int32
View Source
var ThriftTestTestSetResult_Success_DEFAULT map[int32]bool
View Source
var ThriftTestTestStringMapResult_Success_DEFAULT map[string]string
View Source
var ThriftTestTestStringResult_Success_DEFAULT string
View Source
var VersioningTestV1_BeginInBoth_DEFAULT int32
View Source
var VersioningTestV1_EndInBoth_DEFAULT int32
View Source
var VersioningTestV1_OldString_DEFAULT string
View Source
var VersioningTestV2_BeginInBoth_DEFAULT int32
View Source
var VersioningTestV2_EndInBoth_DEFAULT int32
View Source
var VersioningTestV2_Newbyte__DEFAULT int8
View Source
var VersioningTestV2_Newdouble__DEFAULT float64
View Source
var VersioningTestV2_Newint__DEFAULT int32
View Source
var VersioningTestV2_Newlist__DEFAULT []int32
View Source
var VersioningTestV2_Newlong__DEFAULT int64
View Source
var VersioningTestV2_Newmap__DEFAULT map[int32]int32
View Source
var VersioningTestV2_Newset__DEFAULT map[int32]bool
View Source
var VersioningTestV2_Newshort__DEFAULT int16
View Source
var VersioningTestV2_Newstring__DEFAULT string
View Source
var Xception2_ErrorCode_DEFAULT int32
View Source
var Xception_ErrorCode_DEFAULT int32
View Source
var Xception_Message_DEFAULT string
View Source
var Xtruct2_ByteThing_DEFAULT int8
View Source
var Xtruct2_I32Thing_DEFAULT int32
View Source
var Xtruct3_Changed_DEFAULT int32
View Source
var Xtruct3_I32Thing_DEFAULT int32
View Source
var Xtruct3_I64Thing_DEFAULT int64
View Source
var Xtruct3_StringThing_DEFAULT string
View Source
var Xtruct_ByteThing_DEFAULT int8
View Source
var Xtruct_I32Thing_DEFAULT int32
View Source
var Xtruct_I64Thing_DEFAULT int64
View Source
var Xtruct_StringThing_DEFAULT string

Functions

func NewTChanSecondServiceInheritedClient

func NewTChanSecondServiceInheritedClient(thriftService string, client thrift.TChanClient) *tchanSecondServiceClient

func NewTChanSecondServiceServer

func NewTChanSecondServiceServer(handler TChanSecondService) thrift.TChanServer

NewTChanSecondServiceServer wraps a handler for TChanSecondService so it can be registered with a thrift.Server.

func NewTChanThriftTestInheritedClient

func NewTChanThriftTestInheritedClient(thriftService string, client thrift.TChanClient) *tchanThriftTestClient

func NewTChanThriftTestServer

func NewTChanThriftTestServer(handler TChanThriftTest) thrift.TChanServer

NewTChanThriftTestServer wraps a handler for TChanThriftTest so it can be registered with a thrift.Server.

Types

type Bonk

type Bonk struct {
	Message *string `thrift:"message,1" db:"message" json:"message,omitempty"`
	Type    *int32  `thrift:"type,2" db:"type" json:"type,omitempty"`
}

Attributes:

  • Message
  • Type
var VersioningTestV2_Newstruct__DEFAULT *Bonk

func NewBonk

func NewBonk() *Bonk

func (*Bonk) GetMessage

func (p *Bonk) GetMessage() string

func (*Bonk) GetType

func (p *Bonk) GetType() int32

func (*Bonk) IsSetMessage

func (p *Bonk) IsSetMessage() bool

func (*Bonk) IsSetType

func (p *Bonk) IsSetType() bool

func (*Bonk) Read

func (p *Bonk) Read(iprot thrift.TProtocol) error

func (*Bonk) ReadField1 added in v1.8.0

func (p *Bonk) ReadField1(iprot thrift.TProtocol) error

func (*Bonk) ReadField2 added in v1.8.0

func (p *Bonk) ReadField2(iprot thrift.TProtocol) error

func (*Bonk) String

func (p *Bonk) String() string

func (*Bonk) Write

func (p *Bonk) Write(oprot thrift.TProtocol) error

type BoolTest

type BoolTest struct {
	B bool   `thrift:"b,1" db:"b" json:"b,omitempty"`
	S string `thrift:"s,2" db:"s" json:"s,omitempty"`
}

Attributes:

  • B
  • S

func NewBoolTest

func NewBoolTest() *BoolTest

func (*BoolTest) GetB

func (p *BoolTest) GetB() bool

func (*BoolTest) GetS

func (p *BoolTest) GetS() string

func (*BoolTest) IsSetB

func (p *BoolTest) IsSetB() bool

func (*BoolTest) IsSetS

func (p *BoolTest) IsSetS() bool

func (*BoolTest) Read

func (p *BoolTest) Read(iprot thrift.TProtocol) error

func (*BoolTest) ReadField1 added in v1.8.0

func (p *BoolTest) ReadField1(iprot thrift.TProtocol) error

func (*BoolTest) ReadField2 added in v1.8.0

func (p *BoolTest) ReadField2(iprot thrift.TProtocol) error

func (*BoolTest) String

func (p *BoolTest) String() string

func (*BoolTest) Write

func (p *BoolTest) Write(oprot thrift.TProtocol) error

type Bools

type Bools struct {
	ImTrue  *bool `thrift:"im_true,1" db:"im_true" json:"im_true,omitempty"`
	ImFalse *bool `thrift:"im_false,2" db:"im_false" json:"im_false,omitempty"`
}

Attributes:

  • ImTrue
  • ImFalse
var LargeDeltas_B1000_DEFAULT *Bools
var LargeDeltas_B100_DEFAULT *Bools
var LargeDeltas_B10_DEFAULT *Bools
var LargeDeltas_B1_DEFAULT *Bools

func NewBools

func NewBools() *Bools

func (*Bools) GetImFalse

func (p *Bools) GetImFalse() bool

func (*Bools) GetImTrue

func (p *Bools) GetImTrue() bool

func (*Bools) IsSetImFalse

func (p *Bools) IsSetImFalse() bool

func (*Bools) IsSetImTrue

func (p *Bools) IsSetImTrue() bool

func (*Bools) Read

func (p *Bools) Read(iprot thrift.TProtocol) error

func (*Bools) ReadField1 added in v1.8.0

func (p *Bools) ReadField1(iprot thrift.TProtocol) error

func (*Bools) ReadField2 added in v1.8.0

func (p *Bools) ReadField2(iprot thrift.TProtocol) error

func (*Bools) String

func (p *Bools) String() string

func (*Bools) Write

func (p *Bools) Write(oprot thrift.TProtocol) error

type CrazyNesting

type CrazyNesting struct {
	StringField *string            `thrift:"string_field,1" db:"string_field" json:"string_field,omitempty"`
	SetField    map[*Insanity]bool `thrift:"set_field,2" db:"set_field" json:"set_field,omitempty"`
	// unused field # 3
	BinaryField []byte `thrift:"binary_field,4" db:"binary_field" json:"binary_field,omitempty"`
}

Attributes:

  • StringField
  • SetField
  • BinaryField

func NewCrazyNesting

func NewCrazyNesting() *CrazyNesting

func (*CrazyNesting) GetBinaryField

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

func (*CrazyNesting) GetSetField

func (p *CrazyNesting) GetSetField() map[*Insanity]bool

func (*CrazyNesting) GetStringField

func (p *CrazyNesting) GetStringField() string

func (*CrazyNesting) IsSetBinaryField

func (p *CrazyNesting) IsSetBinaryField() bool

func (*CrazyNesting) IsSetSetField

func (p *CrazyNesting) IsSetSetField() bool

func (*CrazyNesting) IsSetStringField

func (p *CrazyNesting) IsSetStringField() bool

func (*CrazyNesting) Read

func (p *CrazyNesting) Read(iprot thrift.TProtocol) error

func (*CrazyNesting) ReadField1 added in v1.8.0

func (p *CrazyNesting) ReadField1(iprot thrift.TProtocol) error

func (*CrazyNesting) ReadField2 added in v1.8.0

func (p *CrazyNesting) ReadField2(iprot thrift.TProtocol) error

func (*CrazyNesting) ReadField4 added in v1.8.0

func (p *CrazyNesting) ReadField4(iprot thrift.TProtocol) error

func (*CrazyNesting) String

func (p *CrazyNesting) String() string

func (*CrazyNesting) Write

func (p *CrazyNesting) Write(oprot thrift.TProtocol) error

type EmptyStruct

type EmptyStruct struct {
}
var OneField_Field_DEFAULT *EmptyStruct

func NewEmptyStruct

func NewEmptyStruct() *EmptyStruct

func (*EmptyStruct) Read

func (p *EmptyStruct) Read(iprot thrift.TProtocol) error

func (*EmptyStruct) String

func (p *EmptyStruct) String() string

func (*EmptyStruct) Write

func (p *EmptyStruct) Write(oprot thrift.TProtocol) error

type GuessProtocolStruct

type GuessProtocolStruct struct {
	// unused fields # 1 to 6
	MapField map[string]string `thrift:"map_field,7" db:"map_field" json:"map_field,omitempty"`
}

Attributes:

  • MapField

func NewGuessProtocolStruct

func NewGuessProtocolStruct() *GuessProtocolStruct

func (*GuessProtocolStruct) GetMapField

func (p *GuessProtocolStruct) GetMapField() map[string]string

func (*GuessProtocolStruct) IsSetMapField

func (p *GuessProtocolStruct) IsSetMapField() bool

func (*GuessProtocolStruct) Read

func (p *GuessProtocolStruct) Read(iprot thrift.TProtocol) error

func (*GuessProtocolStruct) ReadField7 added in v1.8.0

func (p *GuessProtocolStruct) ReadField7(iprot thrift.TProtocol) error

func (*GuessProtocolStruct) String

func (p *GuessProtocolStruct) String() string

func (*GuessProtocolStruct) Write

func (p *GuessProtocolStruct) Write(oprot thrift.TProtocol) error

type Insanity

type Insanity struct {
	UserMap map[Numberz]UserId `thrift:"userMap,1" db:"userMap" json:"userMap,omitempty"`
	Xtructs []*Xtruct          `thrift:"xtructs,2" db:"xtructs" json:"xtructs,omitempty"`
}

Attributes:

  • UserMap
  • Xtructs
var ThriftTestTestInsanityArgs_Argument_DEFAULT *Insanity

func NewInsanity

func NewInsanity() *Insanity

func (*Insanity) GetUserMap

func (p *Insanity) GetUserMap() map[Numberz]UserId

func (*Insanity) GetXtructs

func (p *Insanity) GetXtructs() []*Xtruct

func (*Insanity) IsSetUserMap

func (p *Insanity) IsSetUserMap() bool

func (*Insanity) IsSetXtructs

func (p *Insanity) IsSetXtructs() bool

func (*Insanity) Read

func (p *Insanity) Read(iprot thrift.TProtocol) error

func (*Insanity) ReadField1 added in v1.8.0

func (p *Insanity) ReadField1(iprot thrift.TProtocol) error

func (*Insanity) ReadField2 added in v1.8.0

func (p *Insanity) ReadField2(iprot thrift.TProtocol) error

func (*Insanity) String

func (p *Insanity) String() string

func (*Insanity) Write

func (p *Insanity) Write(oprot thrift.TProtocol) error

type LargeDeltas

type LargeDeltas struct {
	B1 *Bools `thrift:"b1,1" db:"b1" json:"b1,omitempty"`
	// unused fields # 2 to 9
	B10 *Bools `thrift:"b10,10" db:"b10" json:"b10,omitempty"`
	// unused fields # 11 to 99
	B100 *Bools `thrift:"b100,100" db:"b100" json:"b100,omitempty"`
	// unused fields # 101 to 499
	CheckTrue *bool `thrift:"check_true,500" db:"check_true" json:"check_true,omitempty"`
	// unused fields # 501 to 999
	B1000 *Bools `thrift:"b1000,1000" db:"b1000" json:"b1000,omitempty"`
	// unused fields # 1001 to 1499
	CheckFalse *bool `thrift:"check_false,1500" db:"check_false" json:"check_false,omitempty"`
	// unused fields # 1501 to 1999
	Vertwo2000 *VersioningTestV2 `thrift:"vertwo2000,2000" db:"vertwo2000" json:"vertwo2000,omitempty"`
	// unused fields # 2001 to 2499
	ASet2500 map[string]bool `thrift:"a_set2500,2500" db:"a_set2500" json:"a_set2500,omitempty"`
	// unused fields # 2501 to 2999
	Vertwo3000 *VersioningTestV2 `thrift:"vertwo3000,3000" db:"vertwo3000" json:"vertwo3000,omitempty"`
	// unused fields # 3001 to 3999
	BigNumbers []int32 `thrift:"big_numbers,4000" db:"big_numbers" json:"big_numbers,omitempty"`
}

Attributes:

  • B1
  • B10
  • B100
  • CheckTrue
  • B1000
  • CheckFalse
  • Vertwo2000
  • ASet2500
  • Vertwo3000
  • BigNumbers

func NewLargeDeltas

func NewLargeDeltas() *LargeDeltas

func (*LargeDeltas) GetASet2500

func (p *LargeDeltas) GetASet2500() map[string]bool

func (*LargeDeltas) GetB1

func (p *LargeDeltas) GetB1() *Bools

func (*LargeDeltas) GetB10

func (p *LargeDeltas) GetB10() *Bools

func (*LargeDeltas) GetB100

func (p *LargeDeltas) GetB100() *Bools

func (*LargeDeltas) GetB1000

func (p *LargeDeltas) GetB1000() *Bools

func (*LargeDeltas) GetBigNumbers

func (p *LargeDeltas) GetBigNumbers() []int32

func (*LargeDeltas) GetCheckFalse

func (p *LargeDeltas) GetCheckFalse() bool

func (*LargeDeltas) GetCheckTrue

func (p *LargeDeltas) GetCheckTrue() bool

func (*LargeDeltas) GetVertwo2000

func (p *LargeDeltas) GetVertwo2000() *VersioningTestV2

func (*LargeDeltas) GetVertwo3000

func (p *LargeDeltas) GetVertwo3000() *VersioningTestV2

func (*LargeDeltas) IsSetASet2500

func (p *LargeDeltas) IsSetASet2500() bool

func (*LargeDeltas) IsSetB1

func (p *LargeDeltas) IsSetB1() bool

func (*LargeDeltas) IsSetB10

func (p *LargeDeltas) IsSetB10() bool

func (*LargeDeltas) IsSetB100

func (p *LargeDeltas) IsSetB100() bool

func (*LargeDeltas) IsSetB1000

func (p *LargeDeltas) IsSetB1000() bool

func (*LargeDeltas) IsSetBigNumbers

func (p *LargeDeltas) IsSetBigNumbers() bool

func (*LargeDeltas) IsSetCheckFalse

func (p *LargeDeltas) IsSetCheckFalse() bool

func (*LargeDeltas) IsSetCheckTrue

func (p *LargeDeltas) IsSetCheckTrue() bool

func (*LargeDeltas) IsSetVertwo2000

func (p *LargeDeltas) IsSetVertwo2000() bool

func (*LargeDeltas) IsSetVertwo3000

func (p *LargeDeltas) IsSetVertwo3000() bool

func (*LargeDeltas) Read

func (p *LargeDeltas) Read(iprot thrift.TProtocol) error

func (*LargeDeltas) ReadField1 added in v1.8.0

func (p *LargeDeltas) ReadField1(iprot thrift.TProtocol) error

func (*LargeDeltas) ReadField10 added in v1.8.0

func (p *LargeDeltas) ReadField10(iprot thrift.TProtocol) error

func (*LargeDeltas) ReadField100 added in v1.8.0

func (p *LargeDeltas) ReadField100(iprot thrift.TProtocol) error

func (*LargeDeltas) ReadField1000 added in v1.8.0

func (p *LargeDeltas) ReadField1000(iprot thrift.TProtocol) error

func (*LargeDeltas) ReadField1500 added in v1.8.0

func (p *LargeDeltas) ReadField1500(iprot thrift.TProtocol) error

func (*LargeDeltas) ReadField2000 added in v1.8.0

func (p *LargeDeltas) ReadField2000(iprot thrift.TProtocol) error

func (*LargeDeltas) ReadField2500 added in v1.8.0

func (p *LargeDeltas) ReadField2500(iprot thrift.TProtocol) error

func (*LargeDeltas) ReadField3000 added in v1.8.0

func (p *LargeDeltas) ReadField3000(iprot thrift.TProtocol) error

func (*LargeDeltas) ReadField4000 added in v1.8.0

func (p *LargeDeltas) ReadField4000(iprot thrift.TProtocol) error

func (*LargeDeltas) ReadField500 added in v1.8.0

func (p *LargeDeltas) ReadField500(iprot thrift.TProtocol) error

func (*LargeDeltas) String

func (p *LargeDeltas) String() string

func (*LargeDeltas) Write

func (p *LargeDeltas) Write(oprot thrift.TProtocol) error

type ListBonks

type ListBonks struct {
	Bonk []*Bonk `thrift:"bonk,1" db:"bonk" json:"bonk,omitempty"`
}

Attributes:

  • Bonk

func NewListBonks

func NewListBonks() *ListBonks

func (*ListBonks) GetBonk

func (p *ListBonks) GetBonk() []*Bonk

func (*ListBonks) IsSetBonk

func (p *ListBonks) IsSetBonk() bool

func (*ListBonks) Read

func (p *ListBonks) Read(iprot thrift.TProtocol) error

func (*ListBonks) ReadField1 added in v1.8.0

func (p *ListBonks) ReadField1(iprot thrift.TProtocol) error

func (*ListBonks) String

func (p *ListBonks) String() string

func (*ListBonks) Write

func (p *ListBonks) Write(oprot thrift.TProtocol) error

type ListTypeVersioningV1

type ListTypeVersioningV1 struct {
	Myints []int32 `thrift:"myints,1" db:"myints" json:"myints,omitempty"`
	Hello  *string `thrift:"hello,2" db:"hello" json:"hello,omitempty"`
}

Attributes:

  • Myints
  • Hello

func NewListTypeVersioningV1

func NewListTypeVersioningV1() *ListTypeVersioningV1

func (*ListTypeVersioningV1) GetHello

func (p *ListTypeVersioningV1) GetHello() string

func (*ListTypeVersioningV1) GetMyints

func (p *ListTypeVersioningV1) GetMyints() []int32

func (*ListTypeVersioningV1) IsSetHello

func (p *ListTypeVersioningV1) IsSetHello() bool

func (*ListTypeVersioningV1) IsSetMyints

func (p *ListTypeVersioningV1) IsSetMyints() bool

func (*ListTypeVersioningV1) Read

func (p *ListTypeVersioningV1) Read(iprot thrift.TProtocol) error

func (*ListTypeVersioningV1) ReadField1 added in v1.8.0

func (p *ListTypeVersioningV1) ReadField1(iprot thrift.TProtocol) error

func (*ListTypeVersioningV1) ReadField2 added in v1.8.0

func (p *ListTypeVersioningV1) ReadField2(iprot thrift.TProtocol) error

func (*ListTypeVersioningV1) String

func (p *ListTypeVersioningV1) String() string

func (*ListTypeVersioningV1) Write

func (p *ListTypeVersioningV1) Write(oprot thrift.TProtocol) error

type ListTypeVersioningV2

type ListTypeVersioningV2 struct {
	Strings []string `thrift:"strings,1" db:"strings" json:"strings,omitempty"`
	Hello   *string  `thrift:"hello,2" db:"hello" json:"hello,omitempty"`
}

Attributes:

  • Strings
  • Hello

func NewListTypeVersioningV2

func NewListTypeVersioningV2() *ListTypeVersioningV2

func (*ListTypeVersioningV2) GetHello

func (p *ListTypeVersioningV2) GetHello() string

func (*ListTypeVersioningV2) GetStrings

func (p *ListTypeVersioningV2) GetStrings() []string

func (*ListTypeVersioningV2) IsSetHello

func (p *ListTypeVersioningV2) IsSetHello() bool

func (*ListTypeVersioningV2) IsSetStrings

func (p *ListTypeVersioningV2) IsSetStrings() bool

func (*ListTypeVersioningV2) Read

func (p *ListTypeVersioningV2) Read(iprot thrift.TProtocol) error

func (*ListTypeVersioningV2) ReadField1 added in v1.8.0

func (p *ListTypeVersioningV2) ReadField1(iprot thrift.TProtocol) error

func (*ListTypeVersioningV2) ReadField2 added in v1.8.0

func (p *ListTypeVersioningV2) ReadField2(iprot thrift.TProtocol) error

func (*ListTypeVersioningV2) String

func (p *ListTypeVersioningV2) String() string

func (*ListTypeVersioningV2) Write

func (p *ListTypeVersioningV2) Write(oprot thrift.TProtocol) error

type MapType

type MapType map[string]*Bonk

func MapTypePtr

func MapTypePtr(v MapType) *MapType

type NestedListsBonk

type NestedListsBonk struct {
	Bonk [][][]*Bonk `thrift:"bonk,1" db:"bonk" json:"bonk,omitempty"`
}

Attributes:

  • Bonk

func NewNestedListsBonk

func NewNestedListsBonk() *NestedListsBonk

func (*NestedListsBonk) GetBonk

func (p *NestedListsBonk) GetBonk() [][][]*Bonk

func (*NestedListsBonk) IsSetBonk

func (p *NestedListsBonk) IsSetBonk() bool

func (*NestedListsBonk) Read

func (p *NestedListsBonk) Read(iprot thrift.TProtocol) error

func (*NestedListsBonk) ReadField1 added in v1.8.0

func (p *NestedListsBonk) ReadField1(iprot thrift.TProtocol) error

func (*NestedListsBonk) String

func (p *NestedListsBonk) String() string

func (*NestedListsBonk) Write

func (p *NestedListsBonk) Write(oprot thrift.TProtocol) error

type NestedListsI32x2

type NestedListsI32x2 struct {
	Integerlist [][]int32 `thrift:"integerlist,1" db:"integerlist" json:"integerlist,omitempty"`
}

Attributes:

  • Integerlist

func NewNestedListsI32x2

func NewNestedListsI32x2() *NestedListsI32x2

func (*NestedListsI32x2) GetIntegerlist

func (p *NestedListsI32x2) GetIntegerlist() [][]int32

func (*NestedListsI32x2) IsSetIntegerlist

func (p *NestedListsI32x2) IsSetIntegerlist() bool

func (*NestedListsI32x2) Read

func (p *NestedListsI32x2) Read(iprot thrift.TProtocol) error

func (*NestedListsI32x2) ReadField1 added in v1.8.0

func (p *NestedListsI32x2) ReadField1(iprot thrift.TProtocol) error

func (*NestedListsI32x2) String

func (p *NestedListsI32x2) String() string

func (*NestedListsI32x2) Write

func (p *NestedListsI32x2) Write(oprot thrift.TProtocol) error

type NestedListsI32x3

type NestedListsI32x3 struct {
	Integerlist [][][]int32 `thrift:"integerlist,1" db:"integerlist" json:"integerlist,omitempty"`
}

Attributes:

  • Integerlist

func NewNestedListsI32x3

func NewNestedListsI32x3() *NestedListsI32x3

func (*NestedListsI32x3) GetIntegerlist

func (p *NestedListsI32x3) GetIntegerlist() [][][]int32

func (*NestedListsI32x3) IsSetIntegerlist

func (p *NestedListsI32x3) IsSetIntegerlist() bool

func (*NestedListsI32x3) Read

func (p *NestedListsI32x3) Read(iprot thrift.TProtocol) error

func (*NestedListsI32x3) ReadField1 added in v1.8.0

func (p *NestedListsI32x3) ReadField1(iprot thrift.TProtocol) error

func (*NestedListsI32x3) String

func (p *NestedListsI32x3) String() string

func (*NestedListsI32x3) Write

func (p *NestedListsI32x3) Write(oprot thrift.TProtocol) error

type NestedMixedx2

type NestedMixedx2 struct {
	IntSetList       []map[int32]bool            `thrift:"int_set_list,1" db:"int_set_list" json:"int_set_list,omitempty"`
	MapIntStrset     map[int32]map[string]bool   `thrift:"map_int_strset,2" db:"map_int_strset" json:"map_int_strset,omitempty"`
	MapIntStrsetList []map[int32]map[string]bool `thrift:"map_int_strset_list,3" db:"map_int_strset_list" json:"map_int_strset_list,omitempty"`
}

Attributes:

  • IntSetList
  • MapIntStrset
  • MapIntStrsetList

func NewNestedMixedx2

func NewNestedMixedx2() *NestedMixedx2

func (*NestedMixedx2) GetIntSetList

func (p *NestedMixedx2) GetIntSetList() []map[int32]bool

func (*NestedMixedx2) GetMapIntStrset

func (p *NestedMixedx2) GetMapIntStrset() map[int32]map[string]bool

func (*NestedMixedx2) GetMapIntStrsetList

func (p *NestedMixedx2) GetMapIntStrsetList() []map[int32]map[string]bool

func (*NestedMixedx2) IsSetIntSetList

func (p *NestedMixedx2) IsSetIntSetList() bool

func (*NestedMixedx2) IsSetMapIntStrset

func (p *NestedMixedx2) IsSetMapIntStrset() bool

func (*NestedMixedx2) IsSetMapIntStrsetList

func (p *NestedMixedx2) IsSetMapIntStrsetList() bool

func (*NestedMixedx2) Read

func (p *NestedMixedx2) Read(iprot thrift.TProtocol) error

func (*NestedMixedx2) ReadField1 added in v1.8.0

func (p *NestedMixedx2) ReadField1(iprot thrift.TProtocol) error

func (*NestedMixedx2) ReadField2 added in v1.8.0

func (p *NestedMixedx2) ReadField2(iprot thrift.TProtocol) error

func (*NestedMixedx2) ReadField3 added in v1.8.0

func (p *NestedMixedx2) ReadField3(iprot thrift.TProtocol) error

func (*NestedMixedx2) String

func (p *NestedMixedx2) String() string

func (*NestedMixedx2) Write

func (p *NestedMixedx2) Write(oprot thrift.TProtocol) error

type Numberz

type Numberz int64

Docstring!

const (
	Numberz_ONE   Numberz = 1
	Numberz_TWO   Numberz = 2
	Numberz_THREE Numberz = 3
	Numberz_FIVE  Numberz = 5
	Numberz_SIX   Numberz = 6
	Numberz_EIGHT Numberz = 8
)
var ThriftTestTestEnumResult_Success_DEFAULT Numberz

func NumberzFromString

func NumberzFromString(s string) (Numberz, error)

func NumberzPtr

func NumberzPtr(v Numberz) *Numberz

func (Numberz) MarshalText

func (p Numberz) MarshalText() ([]byte, error)

func (*Numberz) Scan added in v1.8.0

func (p *Numberz) Scan(value interface{}) error

func (Numberz) String

func (p Numberz) String() string

func (*Numberz) UnmarshalText

func (p *Numberz) UnmarshalText(text []byte) error

func (*Numberz) Value added in v1.8.0

func (p *Numberz) Value() (driver.Value, error)

type OneField

type OneField struct {
	Field *EmptyStruct `thrift:"field,1" db:"field" json:"field,omitempty"`
}

Attributes:

  • Field

func NewOneField

func NewOneField() *OneField

func (*OneField) GetField

func (p *OneField) GetField() *EmptyStruct

func (*OneField) IsSetField

func (p *OneField) IsSetField() bool

func (*OneField) Read

func (p *OneField) Read(iprot thrift.TProtocol) error

func (*OneField) ReadField1 added in v1.8.0

func (p *OneField) ReadField1(iprot thrift.TProtocol) error

func (*OneField) String

func (p *OneField) String() string

func (*OneField) Write

func (p *OneField) Write(oprot thrift.TProtocol) error

type SecondService

type SecondService interface {
	BlahBlah() (err error)
	// Prints 'testString("%s")' with thing as '%s'
	// @param string thing - the string to print
	// @return string - returns the string 'thing'
	//
	// Parameters:
	//  - Thing
	SecondtestString(thing string) (r string, err error)
}

type SecondServiceBlahBlahArgs

type SecondServiceBlahBlahArgs struct {
}

func NewSecondServiceBlahBlahArgs

func NewSecondServiceBlahBlahArgs() *SecondServiceBlahBlahArgs

func (*SecondServiceBlahBlahArgs) Read

func (*SecondServiceBlahBlahArgs) String

func (p *SecondServiceBlahBlahArgs) String() string

func (*SecondServiceBlahBlahArgs) Write

type SecondServiceBlahBlahResult

type SecondServiceBlahBlahResult struct {
}

func NewSecondServiceBlahBlahResult

func NewSecondServiceBlahBlahResult() *SecondServiceBlahBlahResult

func (*SecondServiceBlahBlahResult) Read

func (*SecondServiceBlahBlahResult) String

func (p *SecondServiceBlahBlahResult) String() string

func (*SecondServiceBlahBlahResult) Write

type SecondServiceClient

type SecondServiceClient struct {
	Transport       thrift.TTransport
	ProtocolFactory thrift.TProtocolFactory
	InputProtocol   thrift.TProtocol
	OutputProtocol  thrift.TProtocol
	SeqId           int32
}

Print 'testOneway(%d): Sleeping...' with secondsToSleep as '%d' sleep 'secondsToSleep' Print 'testOneway(%d): done sleeping!' with secondsToSleep as '%d' @param i32 secondsToSleep - the number of seconds to sleep

func NewSecondServiceClientProtocol

func NewSecondServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *SecondServiceClient

func (*SecondServiceClient) BlahBlah

func (p *SecondServiceClient) BlahBlah() (err error)

func (*SecondServiceClient) SecondtestString

func (p *SecondServiceClient) SecondtestString(thing string) (r string, err error)

Prints 'testString("%s")' with thing as '%s' @param string thing - the string to print @return string - returns the string 'thing'

Parameters:

  • Thing

type SecondServiceProcessor

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

func NewSecondServiceProcessor

func NewSecondServiceProcessor(handler SecondService) *SecondServiceProcessor

func (*SecondServiceProcessor) AddToProcessorMap

func (p *SecondServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*SecondServiceProcessor) GetProcessorFunction

func (p *SecondServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*SecondServiceProcessor) Process

func (p *SecondServiceProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*SecondServiceProcessor) ProcessorMap

type SecondServiceSecondtestStringArgs

type SecondServiceSecondtestStringArgs struct {
	Thing string `thrift:"thing,1" db:"thing" json:"thing"`
}

Attributes:

  • Thing

func NewSecondServiceSecondtestStringArgs

func NewSecondServiceSecondtestStringArgs() *SecondServiceSecondtestStringArgs

func (*SecondServiceSecondtestStringArgs) GetThing

func (*SecondServiceSecondtestStringArgs) Read

func (*SecondServiceSecondtestStringArgs) ReadField1 added in v1.8.0

func (*SecondServiceSecondtestStringArgs) String

func (*SecondServiceSecondtestStringArgs) Write

type SecondServiceSecondtestStringResult

type SecondServiceSecondtestStringResult struct {
	Success *string `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewSecondServiceSecondtestStringResult

func NewSecondServiceSecondtestStringResult() *SecondServiceSecondtestStringResult

func (*SecondServiceSecondtestStringResult) GetSuccess

func (*SecondServiceSecondtestStringResult) IsSetSuccess

func (p *SecondServiceSecondtestStringResult) IsSetSuccess() bool

func (*SecondServiceSecondtestStringResult) Read

func (*SecondServiceSecondtestStringResult) ReadField0 added in v1.8.0

func (*SecondServiceSecondtestStringResult) String

func (*SecondServiceSecondtestStringResult) Write

type StructA

type StructA struct {
	S string `thrift:"s,1,required" db:"s" json:"s"`
}

Attributes:

  • S
var StructB_Aa_DEFAULT *StructA
var StructB_Ab_DEFAULT *StructA

func NewStructA

func NewStructA() *StructA

func (*StructA) GetS

func (p *StructA) GetS() string

func (*StructA) Read

func (p *StructA) Read(iprot thrift.TProtocol) error

func (*StructA) ReadField1 added in v1.8.0

func (p *StructA) ReadField1(iprot thrift.TProtocol) error

func (*StructA) String

func (p *StructA) String() string

func (*StructA) Write

func (p *StructA) Write(oprot thrift.TProtocol) error

type StructB

type StructB struct {
	Aa *StructA `thrift:"aa,1" db:"aa" json:"aa,omitempty"`
	Ab *StructA `thrift:"ab,2,required" db:"ab" json:"ab"`
}

Attributes:

  • Aa
  • Ab

func NewStructB

func NewStructB() *StructB

func (*StructB) GetAa

func (p *StructB) GetAa() *StructA

func (*StructB) GetAb

func (p *StructB) GetAb() *StructA

func (*StructB) IsSetAa

func (p *StructB) IsSetAa() bool

func (*StructB) IsSetAb

func (p *StructB) IsSetAb() bool

func (*StructB) Read

func (p *StructB) Read(iprot thrift.TProtocol) error

func (*StructB) ReadField1 added in v1.8.0

func (p *StructB) ReadField1(iprot thrift.TProtocol) error

func (*StructB) ReadField2 added in v1.8.0

func (p *StructB) ReadField2(iprot thrift.TProtocol) error

func (*StructB) String

func (p *StructB) String() string

func (*StructB) Write

func (p *StructB) Write(oprot thrift.TProtocol) error

type TChanSecondService

type TChanSecondService interface {
	BlahBlah(ctx thrift.Context) error
	SecondtestString(ctx thrift.Context, thing string) (string, error)
}

TChanSecondService is the interface that defines the server handler and client interface.

func NewTChanSecondServiceClient

func NewTChanSecondServiceClient(client thrift.TChanClient) TChanSecondService

NewTChanSecondServiceClient creates a client that can be used to make remote calls.

type TChanThriftTest

type TChanThriftTest interface {
	TestBinary(ctx thrift.Context, thing []byte) ([]byte, error)
	TestByte(ctx thrift.Context, thing int8) (int8, error)
	TestDouble(ctx thrift.Context, thing float64) (float64, error)
	TestEnum(ctx thrift.Context, thing Numberz) (Numberz, error)
	TestException(ctx thrift.Context, arg string) error
	TestI32(ctx thrift.Context, thing int32) (int32, error)
	TestI64(ctx thrift.Context, thing int64) (int64, error)
	TestInsanity(ctx thrift.Context, argument *Insanity) (map[UserId]map[Numberz]*Insanity, error)
	TestList(ctx thrift.Context, thing []int32) ([]int32, error)
	TestMap(ctx thrift.Context, thing map[int32]int32) (map[int32]int32, error)
	TestMapMap(ctx thrift.Context, hello int32) (map[int32]map[int32]int32, error)
	TestMulti(ctx thrift.Context, arg0 int8, arg1 int32, arg2 int64, arg3 map[int16]string, arg4 Numberz, arg5 UserId) (*Xtruct, error)
	TestMultiException(ctx thrift.Context, arg0 string, arg1 string) (*Xtruct, error)
	TestNest(ctx thrift.Context, thing *Xtruct2) (*Xtruct2, error)
	TestSet(ctx thrift.Context, thing map[int32]bool) (map[int32]bool, error)
	TestString(ctx thrift.Context, thing string) (string, error)
	TestStringMap(ctx thrift.Context, thing map[string]string) (map[string]string, error)
	TestStruct(ctx thrift.Context, thing *Xtruct) (*Xtruct, error)
	TestTypedef(ctx thrift.Context, thing UserId) (UserId, error)
	TestVoid(ctx thrift.Context) error
}

TChanThriftTest is the interface that defines the server handler and client interface.

func NewTChanThriftTestClient

func NewTChanThriftTestClient(client thrift.TChanClient) TChanThriftTest

NewTChanThriftTestClient creates a client that can be used to make remote calls.

type ThriftTest

type ThriftTest interface {
	// Prints "testVoid()" and returns nothing.
	TestVoid() (err error)
	// Prints 'testString("%s")' with thing as '%s'
	// @param string thing - the string to print
	// @return string - returns the string 'thing'
	//
	// Parameters:
	//  - Thing
	TestString(thing string) (r string, err error)
	// Prints 'testByte("%d")' with thing as '%d'
	// @param byte thing - the byte to print
	// @return byte - returns the byte 'thing'
	//
	// Parameters:
	//  - Thing
	TestByte(thing int8) (r int8, err error)
	// Prints 'testI32("%d")' with thing as '%d'
	// @param i32 thing - the i32 to print
	// @return i32 - returns the i32 'thing'
	//
	// Parameters:
	//  - Thing
	TestI32(thing int32) (r int32, err error)
	// Prints 'testI64("%d")' with thing as '%d'
	// @param i64 thing - the i64 to print
	// @return i64 - returns the i64 'thing'
	//
	// Parameters:
	//  - Thing
	TestI64(thing int64) (r int64, err error)
	// Prints 'testDouble("%f")' with thing as '%f'
	// @param double thing - the double to print
	// @return double - returns the double 'thing'
	//
	// Parameters:
	//  - Thing
	TestDouble(thing float64) (r float64, err error)
	// Prints 'testBinary("%s")' where '%s' is a hex-formatted string of thing's data
	// @param binary  thing - the binary data to print
	// @return binary  - returns the binary 'thing'
	//
	// Parameters:
	//  - Thing
	TestBinary(thing []byte) (r []byte, err error)
	// Prints 'testStruct("{%s}")' where thing has been formatted into a string of comma separated values
	// @param Xtruct thing - the Xtruct to print
	// @return Xtruct - returns the Xtruct 'thing'
	//
	// Parameters:
	//  - Thing
	TestStruct(thing *Xtruct) (r *Xtruct, err error)
	// Prints 'testNest("{%s}")' where thing has been formatted into a string of the nested struct
	// @param Xtruct2 thing - the Xtruct2 to print
	// @return Xtruct2 - returns the Xtruct2 'thing'
	//
	// Parameters:
	//  - Thing
	TestNest(thing *Xtruct2) (r *Xtruct2, err error)
	// Prints 'testMap("{%s")' where thing has been formatted into a string of  'key => value' pairs
	//  separated by commas and new lines
	// @param map<i32,i32> thing - the map<i32,i32> to print
	// @return map<i32,i32> - returns the map<i32,i32> 'thing'
	//
	// Parameters:
	//  - Thing
	TestMap(thing map[int32]int32) (r map[int32]int32, err error)
	// Prints 'testStringMap("{%s}")' where thing has been formatted into a string of  'key => value' pairs
	//  separated by commas and new lines
	// @param map<string,string> thing - the map<string,string> to print
	// @return map<string,string> - returns the map<string,string> 'thing'
	//
	// Parameters:
	//  - Thing
	TestStringMap(thing map[string]string) (r map[string]string, err error)
	// Prints 'testSet("{%s}")' where thing has been formatted into a string of  values
	//  separated by commas and new lines
	// @param set<i32> thing - the set<i32> to print
	// @return set<i32> - returns the set<i32> 'thing'
	//
	// Parameters:
	//  - Thing
	TestSet(thing map[int32]bool) (r map[int32]bool, err error)
	// Prints 'testList("{%s}")' where thing has been formatted into a string of  values
	//  separated by commas and new lines
	// @param list<i32> thing - the list<i32> to print
	// @return list<i32> - returns the list<i32> 'thing'
	//
	// Parameters:
	//  - Thing
	TestList(thing []int32) (r []int32, err error)
	// Prints 'testEnum("%d")' where thing has been formatted into it's numeric value
	// @param Numberz thing - the Numberz to print
	// @return Numberz - returns the Numberz 'thing'
	//
	// Parameters:
	//  - Thing
	TestEnum(thing Numberz) (r Numberz, err error)
	// Prints 'testTypedef("%d")' with thing as '%d'
	// @param UserId thing - the UserId to print
	// @return UserId - returns the UserId 'thing'
	//
	// Parameters:
	//  - Thing
	TestTypedef(thing UserId) (r UserId, err error)
	// Prints 'testMapMap("%d")' with hello as '%d'
	// @param i32 hello - the i32 to print
	// @return map<i32,map<i32,i32>> - returns a dictionary with these values:
	//   {-4 => {-4 => -4, -3 => -3, -2 => -2, -1 => -1, }, 4 => {1 => 1, 2 => 2, 3 => 3, 4 => 4, }, }
	//
	// Parameters:
	//  - Hello
	TestMapMap(hello int32) (r map[int32]map[int32]int32, err error)
	// So you think you've got this all worked, out eh?
	//
	// Creates a the returned map with these values and prints it out:
	//   { 1 => { 2 => argument,
	//            3 => argument,
	//          },
	//     2 => { 6 => <empty Insanity struct>, },
	//   }
	// @return map<UserId, map<Numberz,Insanity>> - a map with the above values
	//
	// Parameters:
	//  - Argument
	TestInsanity(argument *Insanity) (r map[UserId]map[Numberz]*Insanity, err error)
	// Prints 'testMulti()'
	// @param byte arg0 -
	// @param i32 arg1 -
	// @param i64 arg2 -
	// @param map<i16, string> arg3 -
	// @param Numberz arg4 -
	// @param UserId arg5 -
	// @return Xtruct - returns an Xtruct with string_thing = "Hello2, byte_thing = arg0, i32_thing = arg1
	//    and i64_thing = arg2
	//
	// Parameters:
	//  - Arg0
	//  - Arg1
	//  - Arg2
	//  - Arg3
	//  - Arg4
	//  - Arg5
	TestMulti(arg0 int8, arg1 int32, arg2 int64, arg3 map[int16]string, arg4 Numberz, arg5 UserId) (r *Xtruct, err error)
	// Print 'testException(%s)' with arg as '%s'
	// @param string arg - a string indication what type of exception to throw
	// if arg == "Xception" throw Xception with errorCode = 1001 and message = arg
	// elsen if arg == "TException" throw TException
	// else do not throw anything
	//
	// Parameters:
	//  - Arg
	TestException(arg string) (err error)
	// Print 'testMultiException(%s, %s)' with arg0 as '%s' and arg1 as '%s'
	// @param string arg - a string indication what type of exception to throw
	// if arg0 == "Xception" throw Xception with errorCode = 1001 and message = "This is an Xception"
	// elsen if arg0 == "Xception2" throw Xception2 with errorCode = 2002 and message = "This is an Xception2"
	// else do not throw anything
	// @return Xtruct - an Xtruct with string_thing = arg1
	//
	// Parameters:
	//  - Arg0
	//  - Arg1
	TestMultiException(arg0 string, arg1 string) (r *Xtruct, err error)
}

type ThriftTestClient

type ThriftTestClient struct {
	Transport       thrift.TTransport
	ProtocolFactory thrift.TProtocolFactory
	InputProtocol   thrift.TProtocol
	OutputProtocol  thrift.TProtocol
	SeqId           int32
}

func NewThriftTestClientProtocol

func NewThriftTestClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *ThriftTestClient

func (*ThriftTestClient) TestBinary

func (p *ThriftTestClient) TestBinary(thing []byte) (r []byte, err error)

Prints 'testBinary("%s")' where '%s' is a hex-formatted string of thing's data @param binary thing - the binary data to print @return binary - returns the binary 'thing'

Parameters:

  • Thing

func (*ThriftTestClient) TestByte

func (p *ThriftTestClient) TestByte(thing int8) (r int8, err error)

Prints 'testByte("%d")' with thing as '%d' @param byte thing - the byte to print @return byte - returns the byte 'thing'

Parameters:

  • Thing

func (*ThriftTestClient) TestDouble

func (p *ThriftTestClient) TestDouble(thing float64) (r float64, err error)

Prints 'testDouble("%f")' with thing as '%f' @param double thing - the double to print @return double - returns the double 'thing'

Parameters:

  • Thing

func (*ThriftTestClient) TestEnum

func (p *ThriftTestClient) TestEnum(thing Numberz) (r Numberz, err error)

Prints 'testEnum("%d")' where thing has been formatted into it's numeric value @param Numberz thing - the Numberz to print @return Numberz - returns the Numberz 'thing'

Parameters:

  • Thing

func (*ThriftTestClient) TestException

func (p *ThriftTestClient) TestException(arg string) (err error)

Print 'testException(%s)' with arg as '%s' @param string arg - a string indication what type of exception to throw if arg == "Xception" throw Xception with errorCode = 1001 and message = arg elsen if arg == "TException" throw TException else do not throw anything

Parameters:

  • Arg

func (*ThriftTestClient) TestI32

func (p *ThriftTestClient) TestI32(thing int32) (r int32, err error)

Prints 'testI32("%d")' with thing as '%d' @param i32 thing - the i32 to print @return i32 - returns the i32 'thing'

Parameters:

  • Thing

func (*ThriftTestClient) TestI64

func (p *ThriftTestClient) TestI64(thing int64) (r int64, err error)

Prints 'testI64("%d")' with thing as '%d' @param i64 thing - the i64 to print @return i64 - returns the i64 'thing'

Parameters:

  • Thing

func (*ThriftTestClient) TestInsanity

func (p *ThriftTestClient) TestInsanity(argument *Insanity) (r map[UserId]map[Numberz]*Insanity, err error)

So you think you've got this all worked, out eh?

Creates a the returned map with these values and prints it out:

{ 1 => { 2 => argument,
         3 => argument,
       },
  2 => { 6 => <empty Insanity struct>, },
}

@return map<UserId, map<Numberz,Insanity>> - a map with the above values

Parameters:

  • Argument

func (*ThriftTestClient) TestList

func (p *ThriftTestClient) TestList(thing []int32) (r []int32, err error)

Prints 'testList("{%s}")' where thing has been formatted into a string of values

separated by commas and new lines

@param list<i32> thing - the list<i32> to print @return list<i32> - returns the list<i32> 'thing'

Parameters:

  • Thing

func (*ThriftTestClient) TestMap

func (p *ThriftTestClient) TestMap(thing map[int32]int32) (r map[int32]int32, err error)

Prints 'testMap("{%s")' where thing has been formatted into a string of 'key => value' pairs

separated by commas and new lines

@param map<i32,i32> thing - the map<i32,i32> to print @return map<i32,i32> - returns the map<i32,i32> 'thing'

Parameters:

  • Thing

func (*ThriftTestClient) TestMapMap

func (p *ThriftTestClient) TestMapMap(hello int32) (r map[int32]map[int32]int32, err error)

Prints 'testMapMap("%d")' with hello as '%d' @param i32 hello - the i32 to print @return map<i32,map<i32,i32>> - returns a dictionary with these values:

{-4 => {-4 => -4, -3 => -3, -2 => -2, -1 => -1, }, 4 => {1 => 1, 2 => 2, 3 => 3, 4 => 4, }, }

Parameters:

  • Hello

func (*ThriftTestClient) TestMulti

func (p *ThriftTestClient) TestMulti(arg0 int8, arg1 int32, arg2 int64, arg3 map[int16]string, arg4 Numberz, arg5 UserId) (r *Xtruct, err error)

Prints 'testMulti()' @param byte arg0 - @param i32 arg1 - @param i64 arg2 - @param map<i16, string> arg3 - @param Numberz arg4 - @param UserId arg5 - @return Xtruct - returns an Xtruct with string_thing = "Hello2, byte_thing = arg0, i32_thing = arg1

and i64_thing = arg2

Parameters:

  • Arg0
  • Arg1
  • Arg2
  • Arg3
  • Arg4
  • Arg5

func (*ThriftTestClient) TestMultiException

func (p *ThriftTestClient) TestMultiException(arg0 string, arg1 string) (r *Xtruct, err error)

Print 'testMultiException(%s, %s)' with arg0 as '%s' and arg1 as '%s' @param string arg - a string indication what type of exception to throw if arg0 == "Xception" throw Xception with errorCode = 1001 and message = "This is an Xception" elsen if arg0 == "Xception2" throw Xception2 with errorCode = 2002 and message = "This is an Xception2" else do not throw anything @return Xtruct - an Xtruct with string_thing = arg1

Parameters:

  • Arg0
  • Arg1

func (*ThriftTestClient) TestNest

func (p *ThriftTestClient) TestNest(thing *Xtruct2) (r *Xtruct2, err error)

Prints 'testNest("{%s}")' where thing has been formatted into a string of the nested struct @param Xtruct2 thing - the Xtruct2 to print @return Xtruct2 - returns the Xtruct2 'thing'

Parameters:

  • Thing

func (*ThriftTestClient) TestSet

func (p *ThriftTestClient) TestSet(thing map[int32]bool) (r map[int32]bool, err error)

Prints 'testSet("{%s}")' where thing has been formatted into a string of values

separated by commas and new lines

@param set<i32> thing - the set<i32> to print @return set<i32> - returns the set<i32> 'thing'

Parameters:

  • Thing

func (*ThriftTestClient) TestString

func (p *ThriftTestClient) TestString(thing string) (r string, err error)

Prints 'testString("%s")' with thing as '%s' @param string thing - the string to print @return string - returns the string 'thing'

Parameters:

  • Thing

func (*ThriftTestClient) TestStringMap

func (p *ThriftTestClient) TestStringMap(thing map[string]string) (r map[string]string, err error)

Prints 'testStringMap("{%s}")' where thing has been formatted into a string of 'key => value' pairs

separated by commas and new lines

@param map<string,string> thing - the map<string,string> to print @return map<string,string> - returns the map<string,string> 'thing'

Parameters:

  • Thing

func (*ThriftTestClient) TestStruct

func (p *ThriftTestClient) TestStruct(thing *Xtruct) (r *Xtruct, err error)

Prints 'testStruct("{%s}")' where thing has been formatted into a string of comma separated values @param Xtruct thing - the Xtruct to print @return Xtruct - returns the Xtruct 'thing'

Parameters:

  • Thing

func (*ThriftTestClient) TestTypedef

func (p *ThriftTestClient) TestTypedef(thing UserId) (r UserId, err error)

Prints 'testTypedef("%d")' with thing as '%d' @param UserId thing - the UserId to print @return UserId - returns the UserId 'thing'

Parameters:

  • Thing

func (*ThriftTestClient) TestVoid

func (p *ThriftTestClient) TestVoid() (err error)

Prints "testVoid()" and returns nothing.

type ThriftTestProcessor

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

func NewThriftTestProcessor

func NewThriftTestProcessor(handler ThriftTest) *ThriftTestProcessor

func (*ThriftTestProcessor) AddToProcessorMap

func (p *ThriftTestProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*ThriftTestProcessor) GetProcessorFunction

func (p *ThriftTestProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*ThriftTestProcessor) Process

func (p *ThriftTestProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*ThriftTestProcessor) ProcessorMap

func (p *ThriftTestProcessor) ProcessorMap() map[string]thrift.TProcessorFunction

type ThriftTestTestBinaryArgs

type ThriftTestTestBinaryArgs struct {
	Thing []byte `thrift:"thing,1" db:"thing" json:"thing"`
}

Attributes:

  • Thing

func NewThriftTestTestBinaryArgs

func NewThriftTestTestBinaryArgs() *ThriftTestTestBinaryArgs

func (*ThriftTestTestBinaryArgs) GetThing

func (p *ThriftTestTestBinaryArgs) GetThing() []byte

func (*ThriftTestTestBinaryArgs) Read

func (*ThriftTestTestBinaryArgs) ReadField1 added in v1.8.0

func (p *ThriftTestTestBinaryArgs) ReadField1(iprot thrift.TProtocol) error

func (*ThriftTestTestBinaryArgs) String

func (p *ThriftTestTestBinaryArgs) String() string

func (*ThriftTestTestBinaryArgs) Write

type ThriftTestTestBinaryResult

type ThriftTestTestBinaryResult struct {
	Success []byte `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewThriftTestTestBinaryResult

func NewThriftTestTestBinaryResult() *ThriftTestTestBinaryResult

func (*ThriftTestTestBinaryResult) GetSuccess

func (p *ThriftTestTestBinaryResult) GetSuccess() []byte

func (*ThriftTestTestBinaryResult) IsSetSuccess

func (p *ThriftTestTestBinaryResult) IsSetSuccess() bool

func (*ThriftTestTestBinaryResult) Read

func (*ThriftTestTestBinaryResult) ReadField0 added in v1.8.0

func (p *ThriftTestTestBinaryResult) ReadField0(iprot thrift.TProtocol) error

func (*ThriftTestTestBinaryResult) String

func (p *ThriftTestTestBinaryResult) String() string

func (*ThriftTestTestBinaryResult) Write

type ThriftTestTestByteArgs

type ThriftTestTestByteArgs struct {
	Thing int8 `thrift:"thing,1" db:"thing" json:"thing"`
}

Attributes:

  • Thing

func NewThriftTestTestByteArgs

func NewThriftTestTestByteArgs() *ThriftTestTestByteArgs

func (*ThriftTestTestByteArgs) GetThing

func (p *ThriftTestTestByteArgs) GetThing() int8

func (*ThriftTestTestByteArgs) Read

func (*ThriftTestTestByteArgs) ReadField1 added in v1.8.0

func (p *ThriftTestTestByteArgs) ReadField1(iprot thrift.TProtocol) error

func (*ThriftTestTestByteArgs) String

func (p *ThriftTestTestByteArgs) String() string

func (*ThriftTestTestByteArgs) Write

func (p *ThriftTestTestByteArgs) Write(oprot thrift.TProtocol) error

type ThriftTestTestByteResult

type ThriftTestTestByteResult struct {
	Success *int8 `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewThriftTestTestByteResult

func NewThriftTestTestByteResult() *ThriftTestTestByteResult

func (*ThriftTestTestByteResult) GetSuccess

func (p *ThriftTestTestByteResult) GetSuccess() int8

func (*ThriftTestTestByteResult) IsSetSuccess

func (p *ThriftTestTestByteResult) IsSetSuccess() bool

func (*ThriftTestTestByteResult) Read

func (*ThriftTestTestByteResult) ReadField0 added in v1.8.0

func (p *ThriftTestTestByteResult) ReadField0(iprot thrift.TProtocol) error

func (*ThriftTestTestByteResult) String

func (p *ThriftTestTestByteResult) String() string

func (*ThriftTestTestByteResult) Write

type ThriftTestTestDoubleArgs

type ThriftTestTestDoubleArgs struct {
	Thing float64 `thrift:"thing,1" db:"thing" json:"thing"`
}

Attributes:

  • Thing

func NewThriftTestTestDoubleArgs

func NewThriftTestTestDoubleArgs() *ThriftTestTestDoubleArgs

func (*ThriftTestTestDoubleArgs) GetThing

func (p *ThriftTestTestDoubleArgs) GetThing() float64

func (*ThriftTestTestDoubleArgs) Read

func (*ThriftTestTestDoubleArgs) ReadField1 added in v1.8.0

func (p *ThriftTestTestDoubleArgs) ReadField1(iprot thrift.TProtocol) error

func (*ThriftTestTestDoubleArgs) String

func (p *ThriftTestTestDoubleArgs) String() string

func (*ThriftTestTestDoubleArgs) Write

type ThriftTestTestDoubleResult

type ThriftTestTestDoubleResult struct {
	Success *float64 `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewThriftTestTestDoubleResult

func NewThriftTestTestDoubleResult() *ThriftTestTestDoubleResult

func (*ThriftTestTestDoubleResult) GetSuccess

func (p *ThriftTestTestDoubleResult) GetSuccess() float64

func (*ThriftTestTestDoubleResult) IsSetSuccess

func (p *ThriftTestTestDoubleResult) IsSetSuccess() bool

func (*ThriftTestTestDoubleResult) Read

func (*ThriftTestTestDoubleResult) ReadField0 added in v1.8.0

func (p *ThriftTestTestDoubleResult) ReadField0(iprot thrift.TProtocol) error

func (*ThriftTestTestDoubleResult) String

func (p *ThriftTestTestDoubleResult) String() string

func (*ThriftTestTestDoubleResult) Write

type ThriftTestTestEnumArgs

type ThriftTestTestEnumArgs struct {
	Thing Numberz `thrift:"thing,1" db:"thing" json:"thing"`
}

Attributes:

  • Thing

func NewThriftTestTestEnumArgs

func NewThriftTestTestEnumArgs() *ThriftTestTestEnumArgs

func (*ThriftTestTestEnumArgs) GetThing

func (p *ThriftTestTestEnumArgs) GetThing() Numberz

func (*ThriftTestTestEnumArgs) Read

func (*ThriftTestTestEnumArgs) ReadField1 added in v1.8.0

func (p *ThriftTestTestEnumArgs) ReadField1(iprot thrift.TProtocol) error

func (*ThriftTestTestEnumArgs) String

func (p *ThriftTestTestEnumArgs) String() string

func (*ThriftTestTestEnumArgs) Write

func (p *ThriftTestTestEnumArgs) Write(oprot thrift.TProtocol) error

type ThriftTestTestEnumResult

type ThriftTestTestEnumResult struct {
	Success *Numberz `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewThriftTestTestEnumResult

func NewThriftTestTestEnumResult() *ThriftTestTestEnumResult

func (*ThriftTestTestEnumResult) GetSuccess

func (p *ThriftTestTestEnumResult) GetSuccess() Numberz

func (*ThriftTestTestEnumResult) IsSetSuccess

func (p *ThriftTestTestEnumResult) IsSetSuccess() bool

func (*ThriftTestTestEnumResult) Read

func (*ThriftTestTestEnumResult) ReadField0 added in v1.8.0

func (p *ThriftTestTestEnumResult) ReadField0(iprot thrift.TProtocol) error

func (*ThriftTestTestEnumResult) String

func (p *ThriftTestTestEnumResult) String() string

func (*ThriftTestTestEnumResult) Write

type ThriftTestTestExceptionArgs

type ThriftTestTestExceptionArgs struct {
	Arg string `thrift:"arg,1" db:"arg" json:"arg"`
}

Attributes:

  • Arg

func NewThriftTestTestExceptionArgs

func NewThriftTestTestExceptionArgs() *ThriftTestTestExceptionArgs

func (*ThriftTestTestExceptionArgs) GetArg

func (p *ThriftTestTestExceptionArgs) GetArg() string

func (*ThriftTestTestExceptionArgs) Read

func (*ThriftTestTestExceptionArgs) ReadField1 added in v1.8.0

func (p *ThriftTestTestExceptionArgs) ReadField1(iprot thrift.TProtocol) error

func (*ThriftTestTestExceptionArgs) String

func (p *ThriftTestTestExceptionArgs) String() string

func (*ThriftTestTestExceptionArgs) Write

type ThriftTestTestExceptionResult

type ThriftTestTestExceptionResult struct {
	Err1 *Xception `thrift:"err1,1" db:"err1" json:"err1,omitempty"`
}

Attributes:

  • Err1

func NewThriftTestTestExceptionResult

func NewThriftTestTestExceptionResult() *ThriftTestTestExceptionResult

func (*ThriftTestTestExceptionResult) GetErr1

func (*ThriftTestTestExceptionResult) IsSetErr1

func (p *ThriftTestTestExceptionResult) IsSetErr1() bool

func (*ThriftTestTestExceptionResult) Read

func (*ThriftTestTestExceptionResult) ReadField1 added in v1.8.0

func (p *ThriftTestTestExceptionResult) ReadField1(iprot thrift.TProtocol) error

func (*ThriftTestTestExceptionResult) String

func (*ThriftTestTestExceptionResult) Write

type ThriftTestTestI32Args

type ThriftTestTestI32Args struct {
	Thing int32 `thrift:"thing,1" db:"thing" json:"thing"`
}

Attributes:

  • Thing

func NewThriftTestTestI32Args

func NewThriftTestTestI32Args() *ThriftTestTestI32Args

func (*ThriftTestTestI32Args) GetThing

func (p *ThriftTestTestI32Args) GetThing() int32

func (*ThriftTestTestI32Args) Read

func (*ThriftTestTestI32Args) ReadField1 added in v1.8.0

func (p *ThriftTestTestI32Args) ReadField1(iprot thrift.TProtocol) error

func (*ThriftTestTestI32Args) String

func (p *ThriftTestTestI32Args) String() string

func (*ThriftTestTestI32Args) Write

func (p *ThriftTestTestI32Args) Write(oprot thrift.TProtocol) error

type ThriftTestTestI32Result

type ThriftTestTestI32Result struct {
	Success *int32 `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewThriftTestTestI32Result

func NewThriftTestTestI32Result() *ThriftTestTestI32Result

func (*ThriftTestTestI32Result) GetSuccess

func (p *ThriftTestTestI32Result) GetSuccess() int32

func (*ThriftTestTestI32Result) IsSetSuccess

func (p *ThriftTestTestI32Result) IsSetSuccess() bool

func (*ThriftTestTestI32Result) Read

func (*ThriftTestTestI32Result) ReadField0 added in v1.8.0

func (p *ThriftTestTestI32Result) ReadField0(iprot thrift.TProtocol) error

func (*ThriftTestTestI32Result) String

func (p *ThriftTestTestI32Result) String() string

func (*ThriftTestTestI32Result) Write

type ThriftTestTestI64Args

type ThriftTestTestI64Args struct {
	Thing int64 `thrift:"thing,1" db:"thing" json:"thing"`
}

Attributes:

  • Thing

func NewThriftTestTestI64Args

func NewThriftTestTestI64Args() *ThriftTestTestI64Args

func (*ThriftTestTestI64Args) GetThing

func (p *ThriftTestTestI64Args) GetThing() int64

func (*ThriftTestTestI64Args) Read

func (*ThriftTestTestI64Args) ReadField1 added in v1.8.0

func (p *ThriftTestTestI64Args) ReadField1(iprot thrift.TProtocol) error

func (*ThriftTestTestI64Args) String

func (p *ThriftTestTestI64Args) String() string

func (*ThriftTestTestI64Args) Write

func (p *ThriftTestTestI64Args) Write(oprot thrift.TProtocol) error

type ThriftTestTestI64Result

type ThriftTestTestI64Result struct {
	Success *int64 `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewThriftTestTestI64Result

func NewThriftTestTestI64Result() *ThriftTestTestI64Result

func (*ThriftTestTestI64Result) GetSuccess

func (p *ThriftTestTestI64Result) GetSuccess() int64

func (*ThriftTestTestI64Result) IsSetSuccess

func (p *ThriftTestTestI64Result) IsSetSuccess() bool

func (*ThriftTestTestI64Result) Read

func (*ThriftTestTestI64Result) ReadField0 added in v1.8.0

func (p *ThriftTestTestI64Result) ReadField0(iprot thrift.TProtocol) error

func (*ThriftTestTestI64Result) String

func (p *ThriftTestTestI64Result) String() string

func (*ThriftTestTestI64Result) Write

type ThriftTestTestInsanityArgs

type ThriftTestTestInsanityArgs struct {
	Argument *Insanity `thrift:"argument,1" db:"argument" json:"argument"`
}

Attributes:

  • Argument

func NewThriftTestTestInsanityArgs

func NewThriftTestTestInsanityArgs() *ThriftTestTestInsanityArgs

func (*ThriftTestTestInsanityArgs) GetArgument

func (p *ThriftTestTestInsanityArgs) GetArgument() *Insanity

func (*ThriftTestTestInsanityArgs) IsSetArgument

func (p *ThriftTestTestInsanityArgs) IsSetArgument() bool

func (*ThriftTestTestInsanityArgs) Read

func (*ThriftTestTestInsanityArgs) ReadField1 added in v1.8.0

func (p *ThriftTestTestInsanityArgs) ReadField1(iprot thrift.TProtocol) error

func (*ThriftTestTestInsanityArgs) String

func (p *ThriftTestTestInsanityArgs) String() string

func (*ThriftTestTestInsanityArgs) Write

type ThriftTestTestInsanityResult

type ThriftTestTestInsanityResult struct {
	Success map[UserId]map[Numberz]*Insanity `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewThriftTestTestInsanityResult

func NewThriftTestTestInsanityResult() *ThriftTestTestInsanityResult

func (*ThriftTestTestInsanityResult) GetSuccess

func (p *ThriftTestTestInsanityResult) GetSuccess() map[UserId]map[Numberz]*Insanity

func (*ThriftTestTestInsanityResult) IsSetSuccess

func (p *ThriftTestTestInsanityResult) IsSetSuccess() bool

func (*ThriftTestTestInsanityResult) Read

func (*ThriftTestTestInsanityResult) ReadField0 added in v1.8.0

func (p *ThriftTestTestInsanityResult) ReadField0(iprot thrift.TProtocol) error

func (*ThriftTestTestInsanityResult) String

func (*ThriftTestTestInsanityResult) Write

type ThriftTestTestListArgs

type ThriftTestTestListArgs struct {
	Thing []int32 `thrift:"thing,1" db:"thing" json:"thing"`
}

Attributes:

  • Thing

func NewThriftTestTestListArgs

func NewThriftTestTestListArgs() *ThriftTestTestListArgs

func (*ThriftTestTestListArgs) GetThing

func (p *ThriftTestTestListArgs) GetThing() []int32

func (*ThriftTestTestListArgs) Read

func (*ThriftTestTestListArgs) ReadField1 added in v1.8.0

func (p *ThriftTestTestListArgs) ReadField1(iprot thrift.TProtocol) error

func (*ThriftTestTestListArgs) String

func (p *ThriftTestTestListArgs) String() string

func (*ThriftTestTestListArgs) Write

func (p *ThriftTestTestListArgs) Write(oprot thrift.TProtocol) error

type ThriftTestTestListResult

type ThriftTestTestListResult struct {
	Success []int32 `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewThriftTestTestListResult

func NewThriftTestTestListResult() *ThriftTestTestListResult

func (*ThriftTestTestListResult) GetSuccess

func (p *ThriftTestTestListResult) GetSuccess() []int32

func (*ThriftTestTestListResult) IsSetSuccess

func (p *ThriftTestTestListResult) IsSetSuccess() bool

func (*ThriftTestTestListResult) Read

func (*ThriftTestTestListResult) ReadField0 added in v1.8.0

func (p *ThriftTestTestListResult) ReadField0(iprot thrift.TProtocol) error

func (*ThriftTestTestListResult) String

func (p *ThriftTestTestListResult) String() string

func (*ThriftTestTestListResult) Write

type ThriftTestTestMapArgs

type ThriftTestTestMapArgs struct {
	Thing map[int32]int32 `thrift:"thing,1" db:"thing" json:"thing"`
}

Attributes:

  • Thing

func NewThriftTestTestMapArgs

func NewThriftTestTestMapArgs() *ThriftTestTestMapArgs

func (*ThriftTestTestMapArgs) GetThing

func (p *ThriftTestTestMapArgs) GetThing() map[int32]int32

func (*ThriftTestTestMapArgs) Read

func (*ThriftTestTestMapArgs) ReadField1 added in v1.8.0

func (p *ThriftTestTestMapArgs) ReadField1(iprot thrift.TProtocol) error

func (*ThriftTestTestMapArgs) String

func (p *ThriftTestTestMapArgs) String() string

func (*ThriftTestTestMapArgs) Write

func (p *ThriftTestTestMapArgs) Write(oprot thrift.TProtocol) error

type ThriftTestTestMapMapArgs

type ThriftTestTestMapMapArgs struct {
	Hello int32 `thrift:"hello,1" db:"hello" json:"hello"`
}

Attributes:

  • Hello

func NewThriftTestTestMapMapArgs

func NewThriftTestTestMapMapArgs() *ThriftTestTestMapMapArgs

func (*ThriftTestTestMapMapArgs) GetHello

func (p *ThriftTestTestMapMapArgs) GetHello() int32

func (*ThriftTestTestMapMapArgs) Read

func (*ThriftTestTestMapMapArgs) ReadField1 added in v1.8.0

func (p *ThriftTestTestMapMapArgs) ReadField1(iprot thrift.TProtocol) error

func (*ThriftTestTestMapMapArgs) String

func (p *ThriftTestTestMapMapArgs) String() string

func (*ThriftTestTestMapMapArgs) Write

type ThriftTestTestMapMapResult

type ThriftTestTestMapMapResult struct {
	Success map[int32]map[int32]int32 `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewThriftTestTestMapMapResult

func NewThriftTestTestMapMapResult() *ThriftTestTestMapMapResult

func (*ThriftTestTestMapMapResult) GetSuccess

func (p *ThriftTestTestMapMapResult) GetSuccess() map[int32]map[int32]int32

func (*ThriftTestTestMapMapResult) IsSetSuccess

func (p *ThriftTestTestMapMapResult) IsSetSuccess() bool

func (*ThriftTestTestMapMapResult) Read

func (*ThriftTestTestMapMapResult) ReadField0 added in v1.8.0

func (p *ThriftTestTestMapMapResult) ReadField0(iprot thrift.TProtocol) error

func (*ThriftTestTestMapMapResult) String

func (p *ThriftTestTestMapMapResult) String() string

func (*ThriftTestTestMapMapResult) Write

type ThriftTestTestMapResult

type ThriftTestTestMapResult struct {
	Success map[int32]int32 `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewThriftTestTestMapResult

func NewThriftTestTestMapResult() *ThriftTestTestMapResult

func (*ThriftTestTestMapResult) GetSuccess

func (p *ThriftTestTestMapResult) GetSuccess() map[int32]int32

func (*ThriftTestTestMapResult) IsSetSuccess

func (p *ThriftTestTestMapResult) IsSetSuccess() bool

func (*ThriftTestTestMapResult) Read

func (*ThriftTestTestMapResult) ReadField0 added in v1.8.0

func (p *ThriftTestTestMapResult) ReadField0(iprot thrift.TProtocol) error

func (*ThriftTestTestMapResult) String

func (p *ThriftTestTestMapResult) String() string

func (*ThriftTestTestMapResult) Write

type ThriftTestTestMultiArgs

type ThriftTestTestMultiArgs struct {
	Arg0 int8             `thrift:"arg0,1" db:"arg0" json:"arg0"`
	Arg1 int32            `thrift:"arg1,2" db:"arg1" json:"arg1"`
	Arg2 int64            `thrift:"arg2,3" db:"arg2" json:"arg2"`
	Arg3 map[int16]string `thrift:"arg3,4" db:"arg3" json:"arg3"`
	Arg4 Numberz          `thrift:"arg4,5" db:"arg4" json:"arg4"`
	Arg5 UserId           `thrift:"arg5,6" db:"arg5" json:"arg5"`
}

Attributes:

  • Arg0
  • Arg1
  • Arg2
  • Arg3
  • Arg4
  • Arg5

func NewThriftTestTestMultiArgs

func NewThriftTestTestMultiArgs() *ThriftTestTestMultiArgs

func (*ThriftTestTestMultiArgs) GetArg0

func (p *ThriftTestTestMultiArgs) GetArg0() int8

func (*ThriftTestTestMultiArgs) GetArg1

func (p *ThriftTestTestMultiArgs) GetArg1() int32

func (*ThriftTestTestMultiArgs) GetArg2

func (p *ThriftTestTestMultiArgs) GetArg2() int64

func (*ThriftTestTestMultiArgs) GetArg3

func (p *ThriftTestTestMultiArgs) GetArg3() map[int16]string

func (*ThriftTestTestMultiArgs) GetArg4

func (p *ThriftTestTestMultiArgs) GetArg4() Numberz

func (*ThriftTestTestMultiArgs) GetArg5

func (p *ThriftTestTestMultiArgs) GetArg5() UserId

func (*ThriftTestTestMultiArgs) Read

func (*ThriftTestTestMultiArgs) ReadField1 added in v1.8.0

func (p *ThriftTestTestMultiArgs) ReadField1(iprot thrift.TProtocol) error

func (*ThriftTestTestMultiArgs) ReadField2 added in v1.8.0

func (p *ThriftTestTestMultiArgs) ReadField2(iprot thrift.TProtocol) error

func (*ThriftTestTestMultiArgs) ReadField3 added in v1.8.0

func (p *ThriftTestTestMultiArgs) ReadField3(iprot thrift.TProtocol) error

func (*ThriftTestTestMultiArgs) ReadField4 added in v1.8.0

func (p *ThriftTestTestMultiArgs) ReadField4(iprot thrift.TProtocol) error

func (*ThriftTestTestMultiArgs) ReadField5 added in v1.8.0

func (p *ThriftTestTestMultiArgs) ReadField5(iprot thrift.TProtocol) error

func (*ThriftTestTestMultiArgs) ReadField6 added in v1.8.0

func (p *ThriftTestTestMultiArgs) ReadField6(iprot thrift.TProtocol) error

func (*ThriftTestTestMultiArgs) String

func (p *ThriftTestTestMultiArgs) String() string

func (*ThriftTestTestMultiArgs) Write

type ThriftTestTestMultiExceptionArgs

type ThriftTestTestMultiExceptionArgs struct {
	Arg0 string `thrift:"arg0,1" db:"arg0" json:"arg0"`
	Arg1 string `thrift:"arg1,2" db:"arg1" json:"arg1"`
}

Attributes:

  • Arg0
  • Arg1

func NewThriftTestTestMultiExceptionArgs

func NewThriftTestTestMultiExceptionArgs() *ThriftTestTestMultiExceptionArgs

func (*ThriftTestTestMultiExceptionArgs) GetArg0

func (*ThriftTestTestMultiExceptionArgs) GetArg1

func (*ThriftTestTestMultiExceptionArgs) Read

func (*ThriftTestTestMultiExceptionArgs) ReadField1 added in v1.8.0

func (*ThriftTestTestMultiExceptionArgs) ReadField2 added in v1.8.0

func (*ThriftTestTestMultiExceptionArgs) String

func (*ThriftTestTestMultiExceptionArgs) Write

type ThriftTestTestMultiExceptionResult

type ThriftTestTestMultiExceptionResult struct {
	Success *Xtruct    `thrift:"success,0" db:"success" json:"success,omitempty"`
	Err1    *Xception  `thrift:"err1,1" db:"err1" json:"err1,omitempty"`
	Err2    *Xception2 `thrift:"err2,2" db:"err2" json:"err2,omitempty"`
}

Attributes:

  • Success
  • Err1
  • Err2

func NewThriftTestTestMultiExceptionResult

func NewThriftTestTestMultiExceptionResult() *ThriftTestTestMultiExceptionResult

func (*ThriftTestTestMultiExceptionResult) GetErr1

func (*ThriftTestTestMultiExceptionResult) GetErr2

func (*ThriftTestTestMultiExceptionResult) GetSuccess

func (p *ThriftTestTestMultiExceptionResult) GetSuccess() *Xtruct

func (*ThriftTestTestMultiExceptionResult) IsSetErr1

func (*ThriftTestTestMultiExceptionResult) IsSetErr2

func (*ThriftTestTestMultiExceptionResult) IsSetSuccess

func (p *ThriftTestTestMultiExceptionResult) IsSetSuccess() bool

func (*ThriftTestTestMultiExceptionResult) Read

func (*ThriftTestTestMultiExceptionResult) ReadField0 added in v1.8.0

func (*ThriftTestTestMultiExceptionResult) ReadField1 added in v1.8.0

func (*ThriftTestTestMultiExceptionResult) ReadField2 added in v1.8.0

func (*ThriftTestTestMultiExceptionResult) String

func (*ThriftTestTestMultiExceptionResult) Write

type ThriftTestTestMultiResult

type ThriftTestTestMultiResult struct {
	Success *Xtruct `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewThriftTestTestMultiResult

func NewThriftTestTestMultiResult() *ThriftTestTestMultiResult

func (*ThriftTestTestMultiResult) GetSuccess

func (p *ThriftTestTestMultiResult) GetSuccess() *Xtruct

func (*ThriftTestTestMultiResult) IsSetSuccess

func (p *ThriftTestTestMultiResult) IsSetSuccess() bool

func (*ThriftTestTestMultiResult) Read

func (*ThriftTestTestMultiResult) ReadField0 added in v1.8.0

func (p *ThriftTestTestMultiResult) ReadField0(iprot thrift.TProtocol) error

func (*ThriftTestTestMultiResult) String

func (p *ThriftTestTestMultiResult) String() string

func (*ThriftTestTestMultiResult) Write

type ThriftTestTestNestArgs

type ThriftTestTestNestArgs struct {
	Thing *Xtruct2 `thrift:"thing,1" db:"thing" json:"thing"`
}

Attributes:

  • Thing

func NewThriftTestTestNestArgs

func NewThriftTestTestNestArgs() *ThriftTestTestNestArgs

func (*ThriftTestTestNestArgs) GetThing

func (p *ThriftTestTestNestArgs) GetThing() *Xtruct2

func (*ThriftTestTestNestArgs) IsSetThing

func (p *ThriftTestTestNestArgs) IsSetThing() bool

func (*ThriftTestTestNestArgs) Read

func (*ThriftTestTestNestArgs) ReadField1 added in v1.8.0

func (p *ThriftTestTestNestArgs) ReadField1(iprot thrift.TProtocol) error

func (*ThriftTestTestNestArgs) String

func (p *ThriftTestTestNestArgs) String() string

func (*ThriftTestTestNestArgs) Write

func (p *ThriftTestTestNestArgs) Write(oprot thrift.TProtocol) error

type ThriftTestTestNestResult

type ThriftTestTestNestResult struct {
	Success *Xtruct2 `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewThriftTestTestNestResult

func NewThriftTestTestNestResult() *ThriftTestTestNestResult

func (*ThriftTestTestNestResult) GetSuccess

func (p *ThriftTestTestNestResult) GetSuccess() *Xtruct2

func (*ThriftTestTestNestResult) IsSetSuccess

func (p *ThriftTestTestNestResult) IsSetSuccess() bool

func (*ThriftTestTestNestResult) Read

func (*ThriftTestTestNestResult) ReadField0 added in v1.8.0

func (p *ThriftTestTestNestResult) ReadField0(iprot thrift.TProtocol) error

func (*ThriftTestTestNestResult) String

func (p *ThriftTestTestNestResult) String() string

func (*ThriftTestTestNestResult) Write

type ThriftTestTestSetArgs

type ThriftTestTestSetArgs struct {
	Thing map[int32]bool `thrift:"thing,1" db:"thing" json:"thing"`
}

Attributes:

  • Thing

func NewThriftTestTestSetArgs

func NewThriftTestTestSetArgs() *ThriftTestTestSetArgs

func (*ThriftTestTestSetArgs) GetThing

func (p *ThriftTestTestSetArgs) GetThing() map[int32]bool

func (*ThriftTestTestSetArgs) Read

func (*ThriftTestTestSetArgs) ReadField1 added in v1.8.0

func (p *ThriftTestTestSetArgs) ReadField1(iprot thrift.TProtocol) error

func (*ThriftTestTestSetArgs) String

func (p *ThriftTestTestSetArgs) String() string

func (*ThriftTestTestSetArgs) Write

func (p *ThriftTestTestSetArgs) Write(oprot thrift.TProtocol) error

type ThriftTestTestSetResult

type ThriftTestTestSetResult struct {
	Success map[int32]bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewThriftTestTestSetResult

func NewThriftTestTestSetResult() *ThriftTestTestSetResult

func (*ThriftTestTestSetResult) GetSuccess

func (p *ThriftTestTestSetResult) GetSuccess() map[int32]bool

func (*ThriftTestTestSetResult) IsSetSuccess

func (p *ThriftTestTestSetResult) IsSetSuccess() bool

func (*ThriftTestTestSetResult) Read

func (*ThriftTestTestSetResult) ReadField0 added in v1.8.0

func (p *ThriftTestTestSetResult) ReadField0(iprot thrift.TProtocol) error

func (*ThriftTestTestSetResult) String

func (p *ThriftTestTestSetResult) String() string

func (*ThriftTestTestSetResult) Write

type ThriftTestTestStringArgs

type ThriftTestTestStringArgs struct {
	Thing string `thrift:"thing,1" db:"thing" json:"thing"`
}

Attributes:

  • Thing

func NewThriftTestTestStringArgs

func NewThriftTestTestStringArgs() *ThriftTestTestStringArgs

func (*ThriftTestTestStringArgs) GetThing

func (p *ThriftTestTestStringArgs) GetThing() string

func (*ThriftTestTestStringArgs) Read

func (*ThriftTestTestStringArgs) ReadField1 added in v1.8.0

func (p *ThriftTestTestStringArgs) ReadField1(iprot thrift.TProtocol) error

func (*ThriftTestTestStringArgs) String

func (p *ThriftTestTestStringArgs) String() string

func (*ThriftTestTestStringArgs) Write

type ThriftTestTestStringMapArgs

type ThriftTestTestStringMapArgs struct {
	Thing map[string]string `thrift:"thing,1" db:"thing" json:"thing"`
}

Attributes:

  • Thing

func NewThriftTestTestStringMapArgs

func NewThriftTestTestStringMapArgs() *ThriftTestTestStringMapArgs

func (*ThriftTestTestStringMapArgs) GetThing

func (p *ThriftTestTestStringMapArgs) GetThing() map[string]string

func (*ThriftTestTestStringMapArgs) Read

func (*ThriftTestTestStringMapArgs) ReadField1 added in v1.8.0

func (p *ThriftTestTestStringMapArgs) ReadField1(iprot thrift.TProtocol) error

func (*ThriftTestTestStringMapArgs) String

func (p *ThriftTestTestStringMapArgs) String() string

func (*ThriftTestTestStringMapArgs) Write

type ThriftTestTestStringMapResult

type ThriftTestTestStringMapResult struct {
	Success map[string]string `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewThriftTestTestStringMapResult

func NewThriftTestTestStringMapResult() *ThriftTestTestStringMapResult

func (*ThriftTestTestStringMapResult) GetSuccess

func (p *ThriftTestTestStringMapResult) GetSuccess() map[string]string

func (*ThriftTestTestStringMapResult) IsSetSuccess

func (p *ThriftTestTestStringMapResult) IsSetSuccess() bool

func (*ThriftTestTestStringMapResult) Read

func (*ThriftTestTestStringMapResult) ReadField0 added in v1.8.0

func (p *ThriftTestTestStringMapResult) ReadField0(iprot thrift.TProtocol) error

func (*ThriftTestTestStringMapResult) String

func (*ThriftTestTestStringMapResult) Write

type ThriftTestTestStringResult

type ThriftTestTestStringResult struct {
	Success *string `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewThriftTestTestStringResult

func NewThriftTestTestStringResult() *ThriftTestTestStringResult

func (*ThriftTestTestStringResult) GetSuccess

func (p *ThriftTestTestStringResult) GetSuccess() string

func (*ThriftTestTestStringResult) IsSetSuccess

func (p *ThriftTestTestStringResult) IsSetSuccess() bool

func (*ThriftTestTestStringResult) Read

func (*ThriftTestTestStringResult) ReadField0 added in v1.8.0

func (p *ThriftTestTestStringResult) ReadField0(iprot thrift.TProtocol) error

func (*ThriftTestTestStringResult) String

func (p *ThriftTestTestStringResult) String() string

func (*ThriftTestTestStringResult) Write

type ThriftTestTestStructArgs

type ThriftTestTestStructArgs struct {
	Thing *Xtruct `thrift:"thing,1" db:"thing" json:"thing"`
}

Attributes:

  • Thing

func NewThriftTestTestStructArgs

func NewThriftTestTestStructArgs() *ThriftTestTestStructArgs

func (*ThriftTestTestStructArgs) GetThing

func (p *ThriftTestTestStructArgs) GetThing() *Xtruct

func (*ThriftTestTestStructArgs) IsSetThing

func (p *ThriftTestTestStructArgs) IsSetThing() bool

func (*ThriftTestTestStructArgs) Read

func (*ThriftTestTestStructArgs) ReadField1 added in v1.8.0

func (p *ThriftTestTestStructArgs) ReadField1(iprot thrift.TProtocol) error

func (*ThriftTestTestStructArgs) String

func (p *ThriftTestTestStructArgs) String() string

func (*ThriftTestTestStructArgs) Write

type ThriftTestTestStructResult

type ThriftTestTestStructResult struct {
	Success *Xtruct `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewThriftTestTestStructResult

func NewThriftTestTestStructResult() *ThriftTestTestStructResult

func (*ThriftTestTestStructResult) GetSuccess

func (p *ThriftTestTestStructResult) GetSuccess() *Xtruct

func (*ThriftTestTestStructResult) IsSetSuccess

func (p *ThriftTestTestStructResult) IsSetSuccess() bool

func (*ThriftTestTestStructResult) Read

func (*ThriftTestTestStructResult) ReadField0 added in v1.8.0

func (p *ThriftTestTestStructResult) ReadField0(iprot thrift.TProtocol) error

func (*ThriftTestTestStructResult) String

func (p *ThriftTestTestStructResult) String() string

func (*ThriftTestTestStructResult) Write

type ThriftTestTestTypedefArgs

type ThriftTestTestTypedefArgs struct {
	Thing UserId `thrift:"thing,1" db:"thing" json:"thing"`
}

Attributes:

  • Thing

func NewThriftTestTestTypedefArgs

func NewThriftTestTestTypedefArgs() *ThriftTestTestTypedefArgs

func (*ThriftTestTestTypedefArgs) GetThing

func (p *ThriftTestTestTypedefArgs) GetThing() UserId

func (*ThriftTestTestTypedefArgs) Read

func (*ThriftTestTestTypedefArgs) ReadField1 added in v1.8.0

func (p *ThriftTestTestTypedefArgs) ReadField1(iprot thrift.TProtocol) error

func (*ThriftTestTestTypedefArgs) String

func (p *ThriftTestTestTypedefArgs) String() string

func (*ThriftTestTestTypedefArgs) Write

type ThriftTestTestTypedefResult

type ThriftTestTestTypedefResult struct {
	Success *UserId `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewThriftTestTestTypedefResult

func NewThriftTestTestTypedefResult() *ThriftTestTestTypedefResult

func (*ThriftTestTestTypedefResult) GetSuccess

func (p *ThriftTestTestTypedefResult) GetSuccess() UserId

func (*ThriftTestTestTypedefResult) IsSetSuccess

func (p *ThriftTestTestTypedefResult) IsSetSuccess() bool

func (*ThriftTestTestTypedefResult) Read

func (*ThriftTestTestTypedefResult) ReadField0 added in v1.8.0

func (p *ThriftTestTestTypedefResult) ReadField0(iprot thrift.TProtocol) error

func (*ThriftTestTestTypedefResult) String

func (p *ThriftTestTestTypedefResult) String() string

func (*ThriftTestTestTypedefResult) Write

type ThriftTestTestVoidArgs

type ThriftTestTestVoidArgs struct {
}

func NewThriftTestTestVoidArgs

func NewThriftTestTestVoidArgs() *ThriftTestTestVoidArgs

func (*ThriftTestTestVoidArgs) Read

func (*ThriftTestTestVoidArgs) String

func (p *ThriftTestTestVoidArgs) String() string

func (*ThriftTestTestVoidArgs) Write

func (p *ThriftTestTestVoidArgs) Write(oprot thrift.TProtocol) error

type ThriftTestTestVoidResult

type ThriftTestTestVoidResult struct {
}

func NewThriftTestTestVoidResult

func NewThriftTestTestVoidResult() *ThriftTestTestVoidResult

func (*ThriftTestTestVoidResult) Read

func (*ThriftTestTestVoidResult) String

func (p *ThriftTestTestVoidResult) String() string

func (*ThriftTestTestVoidResult) Write

type UserId

type UserId int64
var ThriftTestTestTypedefResult_Success_DEFAULT UserId

func UserIdPtr

func UserIdPtr(v UserId) *UserId

type VersioningTestV1

type VersioningTestV1 struct {
	BeginInBoth *int32 `thrift:"begin_in_both,1" db:"begin_in_both" json:"begin_in_both,omitempty"`
	// unused field # 2
	OldString *string `thrift:"old_string,3" db:"old_string" json:"old_string,omitempty"`
	// unused fields # 4 to 11
	EndInBoth *int32 `thrift:"end_in_both,12" db:"end_in_both" json:"end_in_both,omitempty"`
}

Attributes:

  • BeginInBoth
  • OldString
  • EndInBoth

func NewVersioningTestV1

func NewVersioningTestV1() *VersioningTestV1

func (*VersioningTestV1) GetBeginInBoth

func (p *VersioningTestV1) GetBeginInBoth() int32

func (*VersioningTestV1) GetEndInBoth

func (p *VersioningTestV1) GetEndInBoth() int32

func (*VersioningTestV1) GetOldString

func (p *VersioningTestV1) GetOldString() string

func (*VersioningTestV1) IsSetBeginInBoth

func (p *VersioningTestV1) IsSetBeginInBoth() bool

func (*VersioningTestV1) IsSetEndInBoth

func (p *VersioningTestV1) IsSetEndInBoth() bool

func (*VersioningTestV1) IsSetOldString

func (p *VersioningTestV1) IsSetOldString() bool

func (*VersioningTestV1) Read

func (p *VersioningTestV1) Read(iprot thrift.TProtocol) error

func (*VersioningTestV1) ReadField1 added in v1.8.0

func (p *VersioningTestV1) ReadField1(iprot thrift.TProtocol) error

func (*VersioningTestV1) ReadField12 added in v1.8.0

func (p *VersioningTestV1) ReadField12(iprot thrift.TProtocol) error

func (*VersioningTestV1) ReadField3 added in v1.8.0

func (p *VersioningTestV1) ReadField3(iprot thrift.TProtocol) error

func (*VersioningTestV1) String

func (p *VersioningTestV1) String() string

func (*VersioningTestV1) Write

func (p *VersioningTestV1) Write(oprot thrift.TProtocol) error

type VersioningTestV2

type VersioningTestV2 struct {
	BeginInBoth *int32          `thrift:"begin_in_both,1" db:"begin_in_both" json:"begin_in_both,omitempty"`
	Newint_     *int32          `thrift:"newint,2" db:"newint" json:"newint,omitempty"`
	Newbyte_    *int8           `thrift:"newbyte,3" db:"newbyte" json:"newbyte,omitempty"`
	Newshort_   *int16          `thrift:"newshort,4" db:"newshort" json:"newshort,omitempty"`
	Newlong_    *int64          `thrift:"newlong,5" db:"newlong" json:"newlong,omitempty"`
	Newdouble_  *float64        `thrift:"newdouble,6" db:"newdouble" json:"newdouble,omitempty"`
	Newstruct_  *Bonk           `thrift:"newstruct,7" db:"newstruct" json:"newstruct,omitempty"`
	Newlist_    []int32         `thrift:"newlist,8" db:"newlist" json:"newlist,omitempty"`
	Newset_     map[int32]bool  `thrift:"newset,9" db:"newset" json:"newset,omitempty"`
	Newmap_     map[int32]int32 `thrift:"newmap,10" db:"newmap" json:"newmap,omitempty"`
	Newstring_  *string         `thrift:"newstring,11" db:"newstring" json:"newstring,omitempty"`
	EndInBoth   *int32          `thrift:"end_in_both,12" db:"end_in_both" json:"end_in_both,omitempty"`
}

Attributes:

  • BeginInBoth
  • Newint_
  • Newbyte_
  • Newshort_
  • Newlong_
  • Newdouble_
  • Newstruct_
  • Newlist_
  • Newset_
  • Newmap_
  • Newstring_
  • EndInBoth
var LargeDeltas_Vertwo2000_DEFAULT *VersioningTestV2
var LargeDeltas_Vertwo3000_DEFAULT *VersioningTestV2

func NewVersioningTestV2

func NewVersioningTestV2() *VersioningTestV2

func (*VersioningTestV2) GetBeginInBoth

func (p *VersioningTestV2) GetBeginInBoth() int32

func (*VersioningTestV2) GetEndInBoth

func (p *VersioningTestV2) GetEndInBoth() int32

func (*VersioningTestV2) GetNewbyte_

func (p *VersioningTestV2) GetNewbyte_() int8

func (*VersioningTestV2) GetNewdouble_

func (p *VersioningTestV2) GetNewdouble_() float64

func (*VersioningTestV2) GetNewint_

func (p *VersioningTestV2) GetNewint_() int32

func (*VersioningTestV2) GetNewlist_

func (p *VersioningTestV2) GetNewlist_() []int32

func (*VersioningTestV2) GetNewlong_

func (p *VersioningTestV2) GetNewlong_() int64

func (*VersioningTestV2) GetNewmap_

func (p *VersioningTestV2) GetNewmap_() map[int32]int32

func (*VersioningTestV2) GetNewset_

func (p *VersioningTestV2) GetNewset_() map[int32]bool

func (*VersioningTestV2) GetNewshort_

func (p *VersioningTestV2) GetNewshort_() int16

func (*VersioningTestV2) GetNewstring_

func (p *VersioningTestV2) GetNewstring_() string

func (*VersioningTestV2) GetNewstruct_

func (p *VersioningTestV2) GetNewstruct_() *Bonk

func (*VersioningTestV2) IsSetBeginInBoth

func (p *VersioningTestV2) IsSetBeginInBoth() bool

func (*VersioningTestV2) IsSetEndInBoth

func (p *VersioningTestV2) IsSetEndInBoth() bool

func (*VersioningTestV2) IsSetNewbyte_

func (p *VersioningTestV2) IsSetNewbyte_() bool

func (*VersioningTestV2) IsSetNewdouble_

func (p *VersioningTestV2) IsSetNewdouble_() bool

func (*VersioningTestV2) IsSetNewint_

func (p *VersioningTestV2) IsSetNewint_() bool

func (*VersioningTestV2) IsSetNewlist_

func (p *VersioningTestV2) IsSetNewlist_() bool

func (*VersioningTestV2) IsSetNewlong_

func (p *VersioningTestV2) IsSetNewlong_() bool

func (*VersioningTestV2) IsSetNewmap_

func (p *VersioningTestV2) IsSetNewmap_() bool

func (*VersioningTestV2) IsSetNewset_

func (p *VersioningTestV2) IsSetNewset_() bool

func (*VersioningTestV2) IsSetNewshort_

func (p *VersioningTestV2) IsSetNewshort_() bool

func (*VersioningTestV2) IsSetNewstring_

func (p *VersioningTestV2) IsSetNewstring_() bool

func (*VersioningTestV2) IsSetNewstruct_

func (p *VersioningTestV2) IsSetNewstruct_() bool

func (*VersioningTestV2) Read

func (p *VersioningTestV2) Read(iprot thrift.TProtocol) error

func (*VersioningTestV2) ReadField1 added in v1.8.0

func (p *VersioningTestV2) ReadField1(iprot thrift.TProtocol) error

func (*VersioningTestV2) ReadField10 added in v1.8.0

func (p *VersioningTestV2) ReadField10(iprot thrift.TProtocol) error

func (*VersioningTestV2) ReadField11 added in v1.8.0

func (p *VersioningTestV2) ReadField11(iprot thrift.TProtocol) error

func (*VersioningTestV2) ReadField12 added in v1.8.0

func (p *VersioningTestV2) ReadField12(iprot thrift.TProtocol) error

func (*VersioningTestV2) ReadField2 added in v1.8.0

func (p *VersioningTestV2) ReadField2(iprot thrift.TProtocol) error

func (*VersioningTestV2) ReadField3 added in v1.8.0

func (p *VersioningTestV2) ReadField3(iprot thrift.TProtocol) error

func (*VersioningTestV2) ReadField4 added in v1.8.0

func (p *VersioningTestV2) ReadField4(iprot thrift.TProtocol) error

func (*VersioningTestV2) ReadField5 added in v1.8.0

func (p *VersioningTestV2) ReadField5(iprot thrift.TProtocol) error

func (*VersioningTestV2) ReadField6 added in v1.8.0

func (p *VersioningTestV2) ReadField6(iprot thrift.TProtocol) error

func (*VersioningTestV2) ReadField7 added in v1.8.0

func (p *VersioningTestV2) ReadField7(iprot thrift.TProtocol) error

func (*VersioningTestV2) ReadField8 added in v1.8.0

func (p *VersioningTestV2) ReadField8(iprot thrift.TProtocol) error

func (*VersioningTestV2) ReadField9 added in v1.8.0

func (p *VersioningTestV2) ReadField9(iprot thrift.TProtocol) error

func (*VersioningTestV2) String

func (p *VersioningTestV2) String() string

func (*VersioningTestV2) Write

func (p *VersioningTestV2) Write(oprot thrift.TProtocol) error

type Xception

type Xception struct {
	ErrorCode *int32  `thrift:"errorCode,1" db:"errorCode" json:"errorCode,omitempty"`
	Message   *string `thrift:"message,2" db:"message" json:"message,omitempty"`
}

Attributes:

  • ErrorCode
  • Message
var ThriftTestTestExceptionResult_Err1_DEFAULT *Xception
var ThriftTestTestMultiExceptionResult_Err1_DEFAULT *Xception

func NewXception

func NewXception() *Xception

func (*Xception) Error

func (p *Xception) Error() string

func (*Xception) GetErrorCode

func (p *Xception) GetErrorCode() int32

func (*Xception) GetMessage

func (p *Xception) GetMessage() string

func (*Xception) IsSetErrorCode

func (p *Xception) IsSetErrorCode() bool

func (*Xception) IsSetMessage

func (p *Xception) IsSetMessage() bool

func (*Xception) Read

func (p *Xception) Read(iprot thrift.TProtocol) error

func (*Xception) ReadField1 added in v1.8.0

func (p *Xception) ReadField1(iprot thrift.TProtocol) error

func (*Xception) ReadField2 added in v1.8.0

func (p *Xception) ReadField2(iprot thrift.TProtocol) error

func (*Xception) String

func (p *Xception) String() string

func (*Xception) Write

func (p *Xception) Write(oprot thrift.TProtocol) error

type Xception2

type Xception2 struct {
	ErrorCode   *int32  `thrift:"errorCode,1" db:"errorCode" json:"errorCode,omitempty"`
	StructThing *Xtruct `thrift:"struct_thing,2" db:"struct_thing" json:"struct_thing,omitempty"`
}

Attributes:

  • ErrorCode
  • StructThing
var ThriftTestTestMultiExceptionResult_Err2_DEFAULT *Xception2

func NewXception2

func NewXception2() *Xception2

func (*Xception2) Error

func (p *Xception2) Error() string

func (*Xception2) GetErrorCode

func (p *Xception2) GetErrorCode() int32

func (*Xception2) GetStructThing

func (p *Xception2) GetStructThing() *Xtruct

func (*Xception2) IsSetErrorCode

func (p *Xception2) IsSetErrorCode() bool

func (*Xception2) IsSetStructThing

func (p *Xception2) IsSetStructThing() bool

func (*Xception2) Read

func (p *Xception2) Read(iprot thrift.TProtocol) error

func (*Xception2) ReadField1 added in v1.8.0

func (p *Xception2) ReadField1(iprot thrift.TProtocol) error

func (*Xception2) ReadField2 added in v1.8.0

func (p *Xception2) ReadField2(iprot thrift.TProtocol) error

func (*Xception2) String

func (p *Xception2) String() string

func (*Xception2) Write

func (p *Xception2) Write(oprot thrift.TProtocol) error

type Xtruct

type Xtruct struct {
	StringThing *string `thrift:"string_thing,1" db:"string_thing" json:"string_thing,omitempty"`
	// unused fields # 2 to 3
	ByteThing *int8 `thrift:"byte_thing,4" db:"byte_thing" json:"byte_thing,omitempty"`
	// unused fields # 5 to 8
	I32Thing *int32 `thrift:"i32_thing,9" db:"i32_thing" json:"i32_thing,omitempty"`
	// unused field # 10
	I64Thing *int64 `thrift:"i64_thing,11" db:"i64_thing" json:"i64_thing,omitempty"`
}

Attributes:

  • StringThing
  • ByteThing
  • I32Thing
  • I64Thing
var ThriftTestTestMultiExceptionResult_Success_DEFAULT *Xtruct
var ThriftTestTestMultiResult_Success_DEFAULT *Xtruct
var ThriftTestTestStructArgs_Thing_DEFAULT *Xtruct
var ThriftTestTestStructResult_Success_DEFAULT *Xtruct
var Xception2_StructThing_DEFAULT *Xtruct
var Xtruct2_StructThing_DEFAULT *Xtruct

func NewXtruct

func NewXtruct() *Xtruct

func (*Xtruct) GetByteThing

func (p *Xtruct) GetByteThing() int8

func (*Xtruct) GetI32Thing

func (p *Xtruct) GetI32Thing() int32

func (*Xtruct) GetI64Thing

func (p *Xtruct) GetI64Thing() int64

func (*Xtruct) GetStringThing

func (p *Xtruct) GetStringThing() string

func (*Xtruct) IsSetByteThing

func (p *Xtruct) IsSetByteThing() bool

func (*Xtruct) IsSetI32Thing

func (p *Xtruct) IsSetI32Thing() bool

func (*Xtruct) IsSetI64Thing

func (p *Xtruct) IsSetI64Thing() bool

func (*Xtruct) IsSetStringThing

func (p *Xtruct) IsSetStringThing() bool

func (*Xtruct) Read

func (p *Xtruct) Read(iprot thrift.TProtocol) error

func (*Xtruct) ReadField1 added in v1.8.0

func (p *Xtruct) ReadField1(iprot thrift.TProtocol) error

func (*Xtruct) ReadField11 added in v1.8.0

func (p *Xtruct) ReadField11(iprot thrift.TProtocol) error

func (*Xtruct) ReadField4 added in v1.8.0

func (p *Xtruct) ReadField4(iprot thrift.TProtocol) error

func (*Xtruct) ReadField9 added in v1.8.0

func (p *Xtruct) ReadField9(iprot thrift.TProtocol) error

func (*Xtruct) String

func (p *Xtruct) String() string

func (*Xtruct) Write

func (p *Xtruct) Write(oprot thrift.TProtocol) error

type Xtruct2

type Xtruct2 struct {
	ByteThing   *int8   `thrift:"byte_thing,1" db:"byte_thing" json:"byte_thing,omitempty"`
	StructThing *Xtruct `thrift:"struct_thing,2" db:"struct_thing" json:"struct_thing,omitempty"`
	I32Thing    *int32  `thrift:"i32_thing,3" db:"i32_thing" json:"i32_thing,omitempty"`
}

Attributes:

  • ByteThing
  • StructThing
  • I32Thing
var ThriftTestTestNestArgs_Thing_DEFAULT *Xtruct2
var ThriftTestTestNestResult_Success_DEFAULT *Xtruct2

func NewXtruct2

func NewXtruct2() *Xtruct2

func (*Xtruct2) GetByteThing

func (p *Xtruct2) GetByteThing() int8

func (*Xtruct2) GetI32Thing

func (p *Xtruct2) GetI32Thing() int32

func (*Xtruct2) GetStructThing

func (p *Xtruct2) GetStructThing() *Xtruct

func (*Xtruct2) IsSetByteThing

func (p *Xtruct2) IsSetByteThing() bool

func (*Xtruct2) IsSetI32Thing

func (p *Xtruct2) IsSetI32Thing() bool

func (*Xtruct2) IsSetStructThing

func (p *Xtruct2) IsSetStructThing() bool

func (*Xtruct2) Read

func (p *Xtruct2) Read(iprot thrift.TProtocol) error

func (*Xtruct2) ReadField1 added in v1.8.0

func (p *Xtruct2) ReadField1(iprot thrift.TProtocol) error

func (*Xtruct2) ReadField2 added in v1.8.0

func (p *Xtruct2) ReadField2(iprot thrift.TProtocol) error

func (*Xtruct2) ReadField3 added in v1.8.0

func (p *Xtruct2) ReadField3(iprot thrift.TProtocol) error

func (*Xtruct2) String

func (p *Xtruct2) String() string

func (*Xtruct2) Write

func (p *Xtruct2) Write(oprot thrift.TProtocol) error

type Xtruct3

type Xtruct3 struct {
	StringThing *string `thrift:"string_thing,1" db:"string_thing" json:"string_thing,omitempty"`
	// unused fields # 2 to 3
	Changed *int32 `thrift:"changed,4" db:"changed" json:"changed,omitempty"`
	// unused fields # 5 to 8
	I32Thing *int32 `thrift:"i32_thing,9" db:"i32_thing" json:"i32_thing,omitempty"`
	// unused field # 10
	I64Thing *int64 `thrift:"i64_thing,11" db:"i64_thing" json:"i64_thing,omitempty"`
}

Attributes:

  • StringThing
  • Changed
  • I32Thing
  • I64Thing

func NewXtruct3

func NewXtruct3() *Xtruct3

func (*Xtruct3) GetChanged

func (p *Xtruct3) GetChanged() int32

func (*Xtruct3) GetI32Thing

func (p *Xtruct3) GetI32Thing() int32

func (*Xtruct3) GetI64Thing

func (p *Xtruct3) GetI64Thing() int64

func (*Xtruct3) GetStringThing

func (p *Xtruct3) GetStringThing() string

func (*Xtruct3) IsSetChanged

func (p *Xtruct3) IsSetChanged() bool

func (*Xtruct3) IsSetI32Thing

func (p *Xtruct3) IsSetI32Thing() bool

func (*Xtruct3) IsSetI64Thing

func (p *Xtruct3) IsSetI64Thing() bool

func (*Xtruct3) IsSetStringThing

func (p *Xtruct3) IsSetStringThing() bool

func (*Xtruct3) Read

func (p *Xtruct3) Read(iprot thrift.TProtocol) error

func (*Xtruct3) ReadField1 added in v1.8.0

func (p *Xtruct3) ReadField1(iprot thrift.TProtocol) error

func (*Xtruct3) ReadField11 added in v1.8.0

func (p *Xtruct3) ReadField11(iprot thrift.TProtocol) error

func (*Xtruct3) ReadField4 added in v1.8.0

func (p *Xtruct3) ReadField4(iprot thrift.TProtocol) error

func (*Xtruct3) ReadField9 added in v1.8.0

func (p *Xtruct3) ReadField9(iprot thrift.TProtocol) error

func (*Xtruct3) String

func (p *Xtruct3) String() string

func (*Xtruct3) Write

func (p *Xtruct3) Write(oprot thrift.TProtocol) error

Jump to

Keyboard shortcuts

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