gauntlet

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2017 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SecondService_BlahBlah_Helper = struct {
	Args           func() *SecondService_BlahBlah_Args
	IsException    func(error) bool
	WrapResponse   func(error) (*SecondService_BlahBlah_Result, error)
	UnwrapResponse func(*SecondService_BlahBlah_Result) error
}{}
View Source
var SecondService_SecondtestString_Helper = struct {
	Args           func(thing *string) *SecondService_SecondtestString_Args
	IsException    func(error) bool
	WrapResponse   func(string, error) (*SecondService_SecondtestString_Result, error)
	UnwrapResponse func(*SecondService_SecondtestString_Result) (string, error)
}{}
View Source
var ThriftModule = &thriftreflect.ThriftModule{Name: "gauntlet", Package: "go.uber.org/yarpc/internal/crossdock/thrift/gauntlet", FilePath: "gauntlet.thrift", SHA1: "f308242071d9c9c31fb8faa1e1a79eeefa46316d", Raw: rawIDL}
View Source
var ThriftTest_TestBinary_Helper = struct {
	Args           func(thing []byte) *ThriftTest_TestBinary_Args
	IsException    func(error) bool
	WrapResponse   func([]byte, error) (*ThriftTest_TestBinary_Result, error)
	UnwrapResponse func(*ThriftTest_TestBinary_Result) ([]byte, error)
}{}
View Source
var ThriftTest_TestByte_Helper = struct {
	Args           func(thing *int8) *ThriftTest_TestByte_Args
	IsException    func(error) bool
	WrapResponse   func(int8, error) (*ThriftTest_TestByte_Result, error)
	UnwrapResponse func(*ThriftTest_TestByte_Result) (int8, error)
}{}
View Source
var ThriftTest_TestDouble_Helper = struct {
	Args           func(thing *float64) *ThriftTest_TestDouble_Args
	IsException    func(error) bool
	WrapResponse   func(float64, error) (*ThriftTest_TestDouble_Result, error)
	UnwrapResponse func(*ThriftTest_TestDouble_Result) (float64, error)
}{}
View Source
var ThriftTest_TestEnum_Helper = struct {
	Args           func(thing *Numberz) *ThriftTest_TestEnum_Args
	IsException    func(error) bool
	WrapResponse   func(Numberz, error) (*ThriftTest_TestEnum_Result, error)
	UnwrapResponse func(*ThriftTest_TestEnum_Result) (Numberz, error)
}{}
View Source
var ThriftTest_TestException_Helper = struct {
	Args           func(arg *string) *ThriftTest_TestException_Args
	IsException    func(error) bool
	WrapResponse   func(error) (*ThriftTest_TestException_Result, error)
	UnwrapResponse func(*ThriftTest_TestException_Result) error
}{}
View Source
var ThriftTest_TestI32_Helper = struct {
	Args           func(thing *int32) *ThriftTest_TestI32_Args
	IsException    func(error) bool
	WrapResponse   func(int32, error) (*ThriftTest_TestI32_Result, error)
	UnwrapResponse func(*ThriftTest_TestI32_Result) (int32, error)
}{}
View Source
var ThriftTest_TestI64_Helper = struct {
	Args           func(thing *int64) *ThriftTest_TestI64_Args
	IsException    func(error) bool
	WrapResponse   func(int64, error) (*ThriftTest_TestI64_Result, error)
	UnwrapResponse func(*ThriftTest_TestI64_Result) (int64, error)
}{}
View Source
var ThriftTest_TestInsanity_Helper = struct {
	Args           func(argument *Insanity) *ThriftTest_TestInsanity_Args
	IsException    func(error) bool
	WrapResponse   func(map[UserId]map[Numberz]*Insanity, error) (*ThriftTest_TestInsanity_Result, error)
	UnwrapResponse func(*ThriftTest_TestInsanity_Result) (map[UserId]map[Numberz]*Insanity, error)
}{}
View Source
var ThriftTest_TestList_Helper = struct {
	Args           func(thing []int32) *ThriftTest_TestList_Args
	IsException    func(error) bool
	WrapResponse   func([]int32, error) (*ThriftTest_TestList_Result, error)
	UnwrapResponse func(*ThriftTest_TestList_Result) ([]int32, error)
}{}
View Source
var ThriftTest_TestMapMap_Helper = struct {
	Args           func(hello *int32) *ThriftTest_TestMapMap_Args
	IsException    func(error) bool
	WrapResponse   func(map[int32]map[int32]int32, error) (*ThriftTest_TestMapMap_Result, error)
	UnwrapResponse func(*ThriftTest_TestMapMap_Result) (map[int32]map[int32]int32, error)
}{}
View Source
var ThriftTest_TestMap_Helper = struct {
	Args           func(thing map[int32]int32) *ThriftTest_TestMap_Args
	IsException    func(error) bool
	WrapResponse   func(map[int32]int32, error) (*ThriftTest_TestMap_Result, error)
	UnwrapResponse func(*ThriftTest_TestMap_Result) (map[int32]int32, error)
}{}
View Source
var ThriftTest_TestMultiException_Helper = struct {
	Args           func(arg0 *string, arg1 *string) *ThriftTest_TestMultiException_Args
	IsException    func(error) bool
	WrapResponse   func(*Xtruct, error) (*ThriftTest_TestMultiException_Result, error)
	UnwrapResponse func(*ThriftTest_TestMultiException_Result) (*Xtruct, error)
}{}
View Source
var ThriftTest_TestMulti_Helper = struct {
	Args           func(arg0 *int8, arg1 *int32, arg2 *int64, arg3 map[int16]string, arg4 *Numberz, arg5 *UserId) *ThriftTest_TestMulti_Args
	IsException    func(error) bool
	WrapResponse   func(*Xtruct, error) (*ThriftTest_TestMulti_Result, error)
	UnwrapResponse func(*ThriftTest_TestMulti_Result) (*Xtruct, error)
}{}
View Source
var ThriftTest_TestNest_Helper = struct {
	Args           func(thing *Xtruct2) *ThriftTest_TestNest_Args
	IsException    func(error) bool
	WrapResponse   func(*Xtruct2, error) (*ThriftTest_TestNest_Result, error)
	UnwrapResponse func(*ThriftTest_TestNest_Result) (*Xtruct2, error)
}{}
View Source
var ThriftTest_TestOneway_Helper = struct {
	Args func(secondsToSleep *int32) *ThriftTest_TestOneway_Args
}{}
View Source
var ThriftTest_TestSet_Helper = struct {
	Args           func(thing map[int32]struct{}) *ThriftTest_TestSet_Args
	IsException    func(error) bool
	WrapResponse   func(map[int32]struct{}, error) (*ThriftTest_TestSet_Result, error)
	UnwrapResponse func(*ThriftTest_TestSet_Result) (map[int32]struct{}, error)
}{}
View Source
var ThriftTest_TestStringMap_Helper = struct {
	Args           func(thing map[string]string) *ThriftTest_TestStringMap_Args
	IsException    func(error) bool
	WrapResponse   func(map[string]string, error) (*ThriftTest_TestStringMap_Result, error)
	UnwrapResponse func(*ThriftTest_TestStringMap_Result) (map[string]string, error)
}{}
View Source
var ThriftTest_TestString_Helper = struct {
	Args           func(thing *string) *ThriftTest_TestString_Args
	IsException    func(error) bool
	WrapResponse   func(string, error) (*ThriftTest_TestString_Result, error)
	UnwrapResponse func(*ThriftTest_TestString_Result) (string, error)
}{}
View Source
var ThriftTest_TestStruct_Helper = struct {
	Args           func(thing *Xtruct) *ThriftTest_TestStruct_Args
	IsException    func(error) bool
	WrapResponse   func(*Xtruct, error) (*ThriftTest_TestStruct_Result, error)
	UnwrapResponse func(*ThriftTest_TestStruct_Result) (*Xtruct, error)
}{}
View Source
var ThriftTest_TestTypedef_Helper = struct {
	Args           func(thing *UserId) *ThriftTest_TestTypedef_Args
	IsException    func(error) bool
	WrapResponse   func(UserId, error) (*ThriftTest_TestTypedef_Result, error)
	UnwrapResponse func(*ThriftTest_TestTypedef_Result) (UserId, error)
}{}
View Source
var ThriftTest_TestVoid_Helper = struct {
	Args           func() *ThriftTest_TestVoid_Args
	IsException    func(error) bool
	WrapResponse   func(error) (*ThriftTest_TestVoid_Result, error)
	UnwrapResponse func(*ThriftTest_TestVoid_Result) error
}{}

Functions

This section is empty.

Types

type Bonk

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

func (*Bonk) Equals added in v1.8.0

func (v *Bonk) Equals(rhs *Bonk) bool

func (*Bonk) FromWire

func (v *Bonk) FromWire(w wire.Value) error

func (*Bonk) String

func (v *Bonk) String() string

func (*Bonk) ToWire

func (v *Bonk) ToWire() (wire.Value, error)

type BoolTest

type BoolTest struct {
	B *bool   `json:"b,omitempty"`
	S *string `json:"s,omitempty"`
}

func (*BoolTest) Equals added in v1.8.0

func (v *BoolTest) Equals(rhs *BoolTest) bool

func (*BoolTest) FromWire

func (v *BoolTest) FromWire(w wire.Value) error

func (*BoolTest) String

func (v *BoolTest) String() string

func (*BoolTest) ToWire

func (v *BoolTest) ToWire() (wire.Value, error)

type Bools

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

func (*Bools) Equals added in v1.8.0

func (v *Bools) Equals(rhs *Bools) bool

func (*Bools) FromWire

func (v *Bools) FromWire(w wire.Value) error

func (*Bools) String

func (v *Bools) String() string

func (*Bools) ToWire

func (v *Bools) ToWire() (wire.Value, error)

type CrazyNesting

type CrazyNesting struct {
	StringField *string     `json:"string_field,omitempty"`
	SetField    []*Insanity `json:"set_field"`
	ListField   [][]struct {
		Key   map[int32]struct{}
		Value map[int32][][][]struct {
			Key   *Insanity
			Value string
		}
	} `json:"list_field"`
	BinaryField []byte `json:"binary_field"`
}

func (*CrazyNesting) Equals added in v1.8.0

func (v *CrazyNesting) Equals(rhs *CrazyNesting) bool

func (*CrazyNesting) FromWire

func (v *CrazyNesting) FromWire(w wire.Value) error

func (*CrazyNesting) String

func (v *CrazyNesting) String() string

func (*CrazyNesting) ToWire

func (v *CrazyNesting) ToWire() (wire.Value, error)

type EmptyStruct

type EmptyStruct struct{}

func (*EmptyStruct) Equals added in v1.8.0

func (v *EmptyStruct) Equals(rhs *EmptyStruct) bool

func (*EmptyStruct) FromWire

func (v *EmptyStruct) FromWire(w wire.Value) error

func (*EmptyStruct) String

func (v *EmptyStruct) String() string

func (*EmptyStruct) ToWire

func (v *EmptyStruct) ToWire() (wire.Value, error)

type GuessProtocolStruct

type GuessProtocolStruct struct {
	MapField map[string]string `json:"map_field"`
}

func (*GuessProtocolStruct) Equals added in v1.8.0

func (*GuessProtocolStruct) FromWire

func (v *GuessProtocolStruct) FromWire(w wire.Value) error

func (*GuessProtocolStruct) String

func (v *GuessProtocolStruct) String() string

func (*GuessProtocolStruct) ToWire

func (v *GuessProtocolStruct) ToWire() (wire.Value, error)

type Insanity

type Insanity struct {
	UserMap map[Numberz]UserId `json:"userMap"`
	Xtructs []*Xtruct          `json:"xtructs"`
}

func (*Insanity) Equals added in v1.8.0

func (v *Insanity) Equals(rhs *Insanity) bool

func (*Insanity) FromWire

func (v *Insanity) FromWire(w wire.Value) error

func (*Insanity) String

func (v *Insanity) String() string

func (*Insanity) ToWire

func (v *Insanity) ToWire() (wire.Value, error)

type LargeDeltas

type LargeDeltas struct {
	B1         *Bools              `json:"b1,omitempty"`
	B10        *Bools              `json:"b10,omitempty"`
	B100       *Bools              `json:"b100,omitempty"`
	CheckTrue  *bool               `json:"check_true,omitempty"`
	B1000      *Bools              `json:"b1000,omitempty"`
	CheckFalse *bool               `json:"check_false,omitempty"`
	Vertwo2000 *VersioningTestV2   `json:"vertwo2000,omitempty"`
	ASet2500   map[string]struct{} `json:"a_set2500"`
	Vertwo3000 *VersioningTestV2   `json:"vertwo3000,omitempty"`
	BigNumbers []int32             `json:"big_numbers"`
}

func (*LargeDeltas) Equals added in v1.8.0

func (v *LargeDeltas) Equals(rhs *LargeDeltas) bool

func (*LargeDeltas) FromWire

func (v *LargeDeltas) FromWire(w wire.Value) error

func (*LargeDeltas) String

func (v *LargeDeltas) String() string

func (*LargeDeltas) ToWire

func (v *LargeDeltas) ToWire() (wire.Value, error)

type ListBonks

type ListBonks struct {
	Bonk []*Bonk `json:"bonk"`
}

func (*ListBonks) Equals added in v1.8.0

func (v *ListBonks) Equals(rhs *ListBonks) bool

func (*ListBonks) FromWire

func (v *ListBonks) FromWire(w wire.Value) error

func (*ListBonks) String

func (v *ListBonks) String() string

func (*ListBonks) ToWire

func (v *ListBonks) ToWire() (wire.Value, error)

type ListTypeVersioningV1

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

func (*ListTypeVersioningV1) Equals added in v1.8.0

func (*ListTypeVersioningV1) FromWire

func (v *ListTypeVersioningV1) FromWire(w wire.Value) error

func (*ListTypeVersioningV1) String

func (v *ListTypeVersioningV1) String() string

func (*ListTypeVersioningV1) ToWire

func (v *ListTypeVersioningV1) ToWire() (wire.Value, error)

type ListTypeVersioningV2

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

func (*ListTypeVersioningV2) Equals added in v1.8.0

func (*ListTypeVersioningV2) FromWire

func (v *ListTypeVersioningV2) FromWire(w wire.Value) error

func (*ListTypeVersioningV2) String

func (v *ListTypeVersioningV2) String() string

func (*ListTypeVersioningV2) ToWire

func (v *ListTypeVersioningV2) ToWire() (wire.Value, error)

type MapType

type MapType map[string]*Bonk

func (MapType) Equals added in v1.8.0

func (lhs MapType) Equals(rhs MapType) bool

func (*MapType) FromWire

func (v *MapType) FromWire(w wire.Value) error

func (MapType) String

func (v MapType) String() string

func (MapType) ToWire

func (v MapType) ToWire() (wire.Value, error)

type NestedListsBonk

type NestedListsBonk struct {
	Bonk [][][]*Bonk `json:"bonk"`
}

func (*NestedListsBonk) Equals added in v1.8.0

func (v *NestedListsBonk) Equals(rhs *NestedListsBonk) bool

func (*NestedListsBonk) FromWire

func (v *NestedListsBonk) FromWire(w wire.Value) error

func (*NestedListsBonk) String

func (v *NestedListsBonk) String() string

func (*NestedListsBonk) ToWire

func (v *NestedListsBonk) ToWire() (wire.Value, error)

type NestedListsI32x2

type NestedListsI32x2 struct {
	Integerlist [][]int32 `json:"integerlist"`
}

func (*NestedListsI32x2) Equals added in v1.8.0

func (v *NestedListsI32x2) Equals(rhs *NestedListsI32x2) bool

func (*NestedListsI32x2) FromWire

func (v *NestedListsI32x2) FromWire(w wire.Value) error

func (*NestedListsI32x2) String

func (v *NestedListsI32x2) String() string

func (*NestedListsI32x2) ToWire

func (v *NestedListsI32x2) ToWire() (wire.Value, error)

type NestedListsI32x3

type NestedListsI32x3 struct {
	Integerlist [][][]int32 `json:"integerlist"`
}

func (*NestedListsI32x3) Equals added in v1.8.0

func (v *NestedListsI32x3) Equals(rhs *NestedListsI32x3) bool

func (*NestedListsI32x3) FromWire

func (v *NestedListsI32x3) FromWire(w wire.Value) error

func (*NestedListsI32x3) String

func (v *NestedListsI32x3) String() string

func (*NestedListsI32x3) ToWire

func (v *NestedListsI32x3) ToWire() (wire.Value, error)

type NestedMixedx2

type NestedMixedx2 struct {
	IntSetList       []map[int32]struct{}            `json:"int_set_list"`
	MapIntStrset     map[int32]map[string]struct{}   `json:"map_int_strset"`
	MapIntStrsetList []map[int32]map[string]struct{} `json:"map_int_strset_list"`
}

func (*NestedMixedx2) Equals added in v1.8.0

func (v *NestedMixedx2) Equals(rhs *NestedMixedx2) bool

func (*NestedMixedx2) FromWire

func (v *NestedMixedx2) FromWire(w wire.Value) error

func (*NestedMixedx2) String

func (v *NestedMixedx2) String() string

func (*NestedMixedx2) ToWire

func (v *NestedMixedx2) ToWire() (wire.Value, error)

type Numberz

type Numberz int32
const (
	NumberzOne   Numberz = 1
	NumberzTwo   Numberz = 2
	NumberzThree Numberz = 3
	NumberzFive  Numberz = 5
	NumberzSix   Numberz = 6
	NumberzEight Numberz = 8
)
const MyNumberz Numberz = NumberzOne

func (Numberz) Equals added in v1.8.0

func (v Numberz) Equals(rhs Numberz) bool

func (*Numberz) FromWire

func (v *Numberz) FromWire(w wire.Value) error

func (Numberz) MarshalJSON

func (v Numberz) MarshalJSON() ([]byte, error)

func (Numberz) String

func (v Numberz) String() string

func (Numberz) ToWire

func (v Numberz) ToWire() (wire.Value, error)

func (*Numberz) UnmarshalJSON

func (v *Numberz) UnmarshalJSON(text []byte) error

type OneField

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

func (*OneField) Equals added in v1.8.0

func (v *OneField) Equals(rhs *OneField) bool

func (*OneField) FromWire

func (v *OneField) FromWire(w wire.Value) error

func (*OneField) String

func (v *OneField) String() string

func (*OneField) ToWire

func (v *OneField) ToWire() (wire.Value, error)

type SecondService_BlahBlah_Args

type SecondService_BlahBlah_Args struct{}

func (*SecondService_BlahBlah_Args) EnvelopeType

func (v *SecondService_BlahBlah_Args) EnvelopeType() wire.EnvelopeType

func (*SecondService_BlahBlah_Args) Equals added in v1.8.0

func (*SecondService_BlahBlah_Args) FromWire

func (*SecondService_BlahBlah_Args) MethodName

func (v *SecondService_BlahBlah_Args) MethodName() string

func (*SecondService_BlahBlah_Args) String

func (v *SecondService_BlahBlah_Args) String() string

func (*SecondService_BlahBlah_Args) ToWire

type SecondService_BlahBlah_Result

type SecondService_BlahBlah_Result struct{}

func (*SecondService_BlahBlah_Result) EnvelopeType

func (*SecondService_BlahBlah_Result) Equals added in v1.8.0

func (*SecondService_BlahBlah_Result) FromWire

func (*SecondService_BlahBlah_Result) MethodName

func (v *SecondService_BlahBlah_Result) MethodName() string

func (*SecondService_BlahBlah_Result) String

func (*SecondService_BlahBlah_Result) ToWire

type SecondService_SecondtestString_Args

type SecondService_SecondtestString_Args struct {
	Thing *string `json:"thing,omitempty"`
}

func (*SecondService_SecondtestString_Args) EnvelopeType

func (*SecondService_SecondtestString_Args) Equals added in v1.8.0

func (*SecondService_SecondtestString_Args) FromWire

func (*SecondService_SecondtestString_Args) MethodName

func (*SecondService_SecondtestString_Args) String

func (*SecondService_SecondtestString_Args) ToWire

type SecondService_SecondtestString_Result

type SecondService_SecondtestString_Result struct {
	Success *string `json:"success,omitempty"`
}

func (*SecondService_SecondtestString_Result) EnvelopeType

func (*SecondService_SecondtestString_Result) Equals added in v1.8.0

func (*SecondService_SecondtestString_Result) FromWire

func (*SecondService_SecondtestString_Result) MethodName

func (*SecondService_SecondtestString_Result) String

func (*SecondService_SecondtestString_Result) ToWire

type StructA

type StructA struct {
	S string `json:"s"`
}

func (*StructA) Equals added in v1.8.0

func (v *StructA) Equals(rhs *StructA) bool

func (*StructA) FromWire

func (v *StructA) FromWire(w wire.Value) error

func (*StructA) String

func (v *StructA) String() string

func (*StructA) ToWire

func (v *StructA) ToWire() (wire.Value, error)

type StructB

type StructB struct {
	Aa *StructA `json:"aa,omitempty"`
	Ab *StructA `json:"ab"`
}

func (*StructB) Equals added in v1.8.0

func (v *StructB) Equals(rhs *StructB) bool

func (*StructB) FromWire

func (v *StructB) FromWire(w wire.Value) error

func (*StructB) String

func (v *StructB) String() string

func (*StructB) ToWire

func (v *StructB) ToWire() (wire.Value, error)

type ThriftTest_TestBinary_Args

type ThriftTest_TestBinary_Args struct {
	Thing []byte `json:"thing"`
}

func (*ThriftTest_TestBinary_Args) EnvelopeType

func (v *ThriftTest_TestBinary_Args) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestBinary_Args) Equals added in v1.8.0

func (*ThriftTest_TestBinary_Args) FromWire

func (v *ThriftTest_TestBinary_Args) FromWire(w wire.Value) error

func (*ThriftTest_TestBinary_Args) MethodName

func (v *ThriftTest_TestBinary_Args) MethodName() string

func (*ThriftTest_TestBinary_Args) String

func (v *ThriftTest_TestBinary_Args) String() string

func (*ThriftTest_TestBinary_Args) ToWire

func (v *ThriftTest_TestBinary_Args) ToWire() (wire.Value, error)

type ThriftTest_TestBinary_Result

type ThriftTest_TestBinary_Result struct {
	Success []byte `json:"success"`
}

func (*ThriftTest_TestBinary_Result) EnvelopeType

func (*ThriftTest_TestBinary_Result) Equals added in v1.8.0

func (*ThriftTest_TestBinary_Result) FromWire

func (*ThriftTest_TestBinary_Result) MethodName

func (v *ThriftTest_TestBinary_Result) MethodName() string

func (*ThriftTest_TestBinary_Result) String

func (*ThriftTest_TestBinary_Result) ToWire

type ThriftTest_TestByte_Args

type ThriftTest_TestByte_Args struct {
	Thing *int8 `json:"thing,omitempty"`
}

func (*ThriftTest_TestByte_Args) EnvelopeType

func (v *ThriftTest_TestByte_Args) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestByte_Args) Equals added in v1.8.0

func (*ThriftTest_TestByte_Args) FromWire

func (v *ThriftTest_TestByte_Args) FromWire(w wire.Value) error

func (*ThriftTest_TestByte_Args) MethodName

func (v *ThriftTest_TestByte_Args) MethodName() string

func (*ThriftTest_TestByte_Args) String

func (v *ThriftTest_TestByte_Args) String() string

func (*ThriftTest_TestByte_Args) ToWire

func (v *ThriftTest_TestByte_Args) ToWire() (wire.Value, error)

type ThriftTest_TestByte_Result

type ThriftTest_TestByte_Result struct {
	Success *int8 `json:"success,omitempty"`
}

func (*ThriftTest_TestByte_Result) EnvelopeType

func (v *ThriftTest_TestByte_Result) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestByte_Result) Equals added in v1.8.0

func (*ThriftTest_TestByte_Result) FromWire

func (v *ThriftTest_TestByte_Result) FromWire(w wire.Value) error

func (*ThriftTest_TestByte_Result) MethodName

func (v *ThriftTest_TestByte_Result) MethodName() string

func (*ThriftTest_TestByte_Result) String

func (v *ThriftTest_TestByte_Result) String() string

func (*ThriftTest_TestByte_Result) ToWire

func (v *ThriftTest_TestByte_Result) ToWire() (wire.Value, error)

type ThriftTest_TestDouble_Args

type ThriftTest_TestDouble_Args struct {
	Thing *float64 `json:"thing,omitempty"`
}

func (*ThriftTest_TestDouble_Args) EnvelopeType

func (v *ThriftTest_TestDouble_Args) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestDouble_Args) Equals added in v1.8.0

func (*ThriftTest_TestDouble_Args) FromWire

func (v *ThriftTest_TestDouble_Args) FromWire(w wire.Value) error

func (*ThriftTest_TestDouble_Args) MethodName

func (v *ThriftTest_TestDouble_Args) MethodName() string

func (*ThriftTest_TestDouble_Args) String

func (v *ThriftTest_TestDouble_Args) String() string

func (*ThriftTest_TestDouble_Args) ToWire

func (v *ThriftTest_TestDouble_Args) ToWire() (wire.Value, error)

type ThriftTest_TestDouble_Result

type ThriftTest_TestDouble_Result struct {
	Success *float64 `json:"success,omitempty"`
}

func (*ThriftTest_TestDouble_Result) EnvelopeType

func (*ThriftTest_TestDouble_Result) Equals added in v1.8.0

func (*ThriftTest_TestDouble_Result) FromWire

func (*ThriftTest_TestDouble_Result) MethodName

func (v *ThriftTest_TestDouble_Result) MethodName() string

func (*ThriftTest_TestDouble_Result) String

func (*ThriftTest_TestDouble_Result) ToWire

type ThriftTest_TestEnum_Args

type ThriftTest_TestEnum_Args struct {
	Thing *Numberz `json:"thing,omitempty"`
}

func (*ThriftTest_TestEnum_Args) EnvelopeType

func (v *ThriftTest_TestEnum_Args) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestEnum_Args) Equals added in v1.8.0

func (*ThriftTest_TestEnum_Args) FromWire

func (v *ThriftTest_TestEnum_Args) FromWire(w wire.Value) error

func (*ThriftTest_TestEnum_Args) MethodName

func (v *ThriftTest_TestEnum_Args) MethodName() string

func (*ThriftTest_TestEnum_Args) String

func (v *ThriftTest_TestEnum_Args) String() string

func (*ThriftTest_TestEnum_Args) ToWire

func (v *ThriftTest_TestEnum_Args) ToWire() (wire.Value, error)

type ThriftTest_TestEnum_Result

type ThriftTest_TestEnum_Result struct {
	Success *Numberz `json:"success,omitempty"`
}

func (*ThriftTest_TestEnum_Result) EnvelopeType

func (v *ThriftTest_TestEnum_Result) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestEnum_Result) Equals added in v1.8.0

func (*ThriftTest_TestEnum_Result) FromWire

func (v *ThriftTest_TestEnum_Result) FromWire(w wire.Value) error

func (*ThriftTest_TestEnum_Result) MethodName

func (v *ThriftTest_TestEnum_Result) MethodName() string

func (*ThriftTest_TestEnum_Result) String

func (v *ThriftTest_TestEnum_Result) String() string

func (*ThriftTest_TestEnum_Result) ToWire

func (v *ThriftTest_TestEnum_Result) ToWire() (wire.Value, error)

type ThriftTest_TestException_Args

type ThriftTest_TestException_Args struct {
	Arg *string `json:"arg,omitempty"`
}

func (*ThriftTest_TestException_Args) EnvelopeType

func (*ThriftTest_TestException_Args) Equals added in v1.8.0

func (*ThriftTest_TestException_Args) FromWire

func (*ThriftTest_TestException_Args) MethodName

func (v *ThriftTest_TestException_Args) MethodName() string

func (*ThriftTest_TestException_Args) String

func (*ThriftTest_TestException_Args) ToWire

type ThriftTest_TestException_Result

type ThriftTest_TestException_Result struct {
	Err1 *Xception `json:"err1,omitempty"`
}

func (*ThriftTest_TestException_Result) EnvelopeType

func (*ThriftTest_TestException_Result) Equals added in v1.8.0

func (*ThriftTest_TestException_Result) FromWire

func (*ThriftTest_TestException_Result) MethodName

func (v *ThriftTest_TestException_Result) MethodName() string

func (*ThriftTest_TestException_Result) String

func (*ThriftTest_TestException_Result) ToWire

type ThriftTest_TestI32_Args

type ThriftTest_TestI32_Args struct {
	Thing *int32 `json:"thing,omitempty"`
}

func (*ThriftTest_TestI32_Args) EnvelopeType

func (v *ThriftTest_TestI32_Args) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestI32_Args) Equals added in v1.8.0

func (*ThriftTest_TestI32_Args) FromWire

func (v *ThriftTest_TestI32_Args) FromWire(w wire.Value) error

func (*ThriftTest_TestI32_Args) MethodName

func (v *ThriftTest_TestI32_Args) MethodName() string

func (*ThriftTest_TestI32_Args) String

func (v *ThriftTest_TestI32_Args) String() string

func (*ThriftTest_TestI32_Args) ToWire

func (v *ThriftTest_TestI32_Args) ToWire() (wire.Value, error)

type ThriftTest_TestI32_Result

type ThriftTest_TestI32_Result struct {
	Success *int32 `json:"success,omitempty"`
}

func (*ThriftTest_TestI32_Result) EnvelopeType

func (v *ThriftTest_TestI32_Result) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestI32_Result) Equals added in v1.8.0

func (*ThriftTest_TestI32_Result) FromWire

func (v *ThriftTest_TestI32_Result) FromWire(w wire.Value) error

func (*ThriftTest_TestI32_Result) MethodName

func (v *ThriftTest_TestI32_Result) MethodName() string

func (*ThriftTest_TestI32_Result) String

func (v *ThriftTest_TestI32_Result) String() string

func (*ThriftTest_TestI32_Result) ToWire

func (v *ThriftTest_TestI32_Result) ToWire() (wire.Value, error)

type ThriftTest_TestI64_Args

type ThriftTest_TestI64_Args struct {
	Thing *int64 `json:"thing,omitempty"`
}

func (*ThriftTest_TestI64_Args) EnvelopeType

func (v *ThriftTest_TestI64_Args) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestI64_Args) Equals added in v1.8.0

func (*ThriftTest_TestI64_Args) FromWire

func (v *ThriftTest_TestI64_Args) FromWire(w wire.Value) error

func (*ThriftTest_TestI64_Args) MethodName

func (v *ThriftTest_TestI64_Args) MethodName() string

func (*ThriftTest_TestI64_Args) String

func (v *ThriftTest_TestI64_Args) String() string

func (*ThriftTest_TestI64_Args) ToWire

func (v *ThriftTest_TestI64_Args) ToWire() (wire.Value, error)

type ThriftTest_TestI64_Result

type ThriftTest_TestI64_Result struct {
	Success *int64 `json:"success,omitempty"`
}

func (*ThriftTest_TestI64_Result) EnvelopeType

func (v *ThriftTest_TestI64_Result) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestI64_Result) Equals added in v1.8.0

func (*ThriftTest_TestI64_Result) FromWire

func (v *ThriftTest_TestI64_Result) FromWire(w wire.Value) error

func (*ThriftTest_TestI64_Result) MethodName

func (v *ThriftTest_TestI64_Result) MethodName() string

func (*ThriftTest_TestI64_Result) String

func (v *ThriftTest_TestI64_Result) String() string

func (*ThriftTest_TestI64_Result) ToWire

func (v *ThriftTest_TestI64_Result) ToWire() (wire.Value, error)

type ThriftTest_TestInsanity_Args

type ThriftTest_TestInsanity_Args struct {
	Argument *Insanity `json:"argument,omitempty"`
}

func (*ThriftTest_TestInsanity_Args) EnvelopeType

func (*ThriftTest_TestInsanity_Args) Equals added in v1.8.0

func (*ThriftTest_TestInsanity_Args) FromWire

func (*ThriftTest_TestInsanity_Args) MethodName

func (v *ThriftTest_TestInsanity_Args) MethodName() string

func (*ThriftTest_TestInsanity_Args) String

func (*ThriftTest_TestInsanity_Args) ToWire

type ThriftTest_TestInsanity_Result

type ThriftTest_TestInsanity_Result struct {
	Success map[UserId]map[Numberz]*Insanity `json:"success"`
}

func (*ThriftTest_TestInsanity_Result) EnvelopeType

func (*ThriftTest_TestInsanity_Result) Equals added in v1.8.0

func (*ThriftTest_TestInsanity_Result) FromWire

func (*ThriftTest_TestInsanity_Result) MethodName

func (v *ThriftTest_TestInsanity_Result) MethodName() string

func (*ThriftTest_TestInsanity_Result) String

func (*ThriftTest_TestInsanity_Result) ToWire

type ThriftTest_TestList_Args

type ThriftTest_TestList_Args struct {
	Thing []int32 `json:"thing"`
}

func (*ThriftTest_TestList_Args) EnvelopeType

func (v *ThriftTest_TestList_Args) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestList_Args) Equals added in v1.8.0

func (*ThriftTest_TestList_Args) FromWire

func (v *ThriftTest_TestList_Args) FromWire(w wire.Value) error

func (*ThriftTest_TestList_Args) MethodName

func (v *ThriftTest_TestList_Args) MethodName() string

func (*ThriftTest_TestList_Args) String

func (v *ThriftTest_TestList_Args) String() string

func (*ThriftTest_TestList_Args) ToWire

func (v *ThriftTest_TestList_Args) ToWire() (wire.Value, error)

type ThriftTest_TestList_Result

type ThriftTest_TestList_Result struct {
	Success []int32 `json:"success"`
}

func (*ThriftTest_TestList_Result) EnvelopeType

func (v *ThriftTest_TestList_Result) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestList_Result) Equals added in v1.8.0

func (*ThriftTest_TestList_Result) FromWire

func (v *ThriftTest_TestList_Result) FromWire(w wire.Value) error

func (*ThriftTest_TestList_Result) MethodName

func (v *ThriftTest_TestList_Result) MethodName() string

func (*ThriftTest_TestList_Result) String

func (v *ThriftTest_TestList_Result) String() string

func (*ThriftTest_TestList_Result) ToWire

func (v *ThriftTest_TestList_Result) ToWire() (wire.Value, error)

type ThriftTest_TestMapMap_Args

type ThriftTest_TestMapMap_Args struct {
	Hello *int32 `json:"hello,omitempty"`
}

func (*ThriftTest_TestMapMap_Args) EnvelopeType

func (v *ThriftTest_TestMapMap_Args) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestMapMap_Args) Equals added in v1.8.0

func (*ThriftTest_TestMapMap_Args) FromWire

func (v *ThriftTest_TestMapMap_Args) FromWire(w wire.Value) error

func (*ThriftTest_TestMapMap_Args) MethodName

func (v *ThriftTest_TestMapMap_Args) MethodName() string

func (*ThriftTest_TestMapMap_Args) String

func (v *ThriftTest_TestMapMap_Args) String() string

func (*ThriftTest_TestMapMap_Args) ToWire

func (v *ThriftTest_TestMapMap_Args) ToWire() (wire.Value, error)

type ThriftTest_TestMapMap_Result

type ThriftTest_TestMapMap_Result struct {
	Success map[int32]map[int32]int32 `json:"success"`
}

func (*ThriftTest_TestMapMap_Result) EnvelopeType

func (*ThriftTest_TestMapMap_Result) Equals added in v1.8.0

func (*ThriftTest_TestMapMap_Result) FromWire

func (*ThriftTest_TestMapMap_Result) MethodName

func (v *ThriftTest_TestMapMap_Result) MethodName() string

func (*ThriftTest_TestMapMap_Result) String

func (*ThriftTest_TestMapMap_Result) ToWire

type ThriftTest_TestMap_Args

type ThriftTest_TestMap_Args struct {
	Thing map[int32]int32 `json:"thing"`
}

func (*ThriftTest_TestMap_Args) EnvelopeType

func (v *ThriftTest_TestMap_Args) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestMap_Args) Equals added in v1.8.0

func (*ThriftTest_TestMap_Args) FromWire

func (v *ThriftTest_TestMap_Args) FromWire(w wire.Value) error

func (*ThriftTest_TestMap_Args) MethodName

func (v *ThriftTest_TestMap_Args) MethodName() string

func (*ThriftTest_TestMap_Args) String

func (v *ThriftTest_TestMap_Args) String() string

func (*ThriftTest_TestMap_Args) ToWire

func (v *ThriftTest_TestMap_Args) ToWire() (wire.Value, error)

type ThriftTest_TestMap_Result

type ThriftTest_TestMap_Result struct {
	Success map[int32]int32 `json:"success"`
}

func (*ThriftTest_TestMap_Result) EnvelopeType

func (v *ThriftTest_TestMap_Result) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestMap_Result) Equals added in v1.8.0

func (*ThriftTest_TestMap_Result) FromWire

func (v *ThriftTest_TestMap_Result) FromWire(w wire.Value) error

func (*ThriftTest_TestMap_Result) MethodName

func (v *ThriftTest_TestMap_Result) MethodName() string

func (*ThriftTest_TestMap_Result) String

func (v *ThriftTest_TestMap_Result) String() string

func (*ThriftTest_TestMap_Result) ToWire

func (v *ThriftTest_TestMap_Result) ToWire() (wire.Value, error)

type ThriftTest_TestMultiException_Args

type ThriftTest_TestMultiException_Args struct {
	Arg0 *string `json:"arg0,omitempty"`
	Arg1 *string `json:"arg1,omitempty"`
}

func (*ThriftTest_TestMultiException_Args) EnvelopeType

func (*ThriftTest_TestMultiException_Args) Equals added in v1.8.0

func (*ThriftTest_TestMultiException_Args) FromWire

func (*ThriftTest_TestMultiException_Args) MethodName

func (*ThriftTest_TestMultiException_Args) String

func (*ThriftTest_TestMultiException_Args) ToWire

type ThriftTest_TestMultiException_Result

type ThriftTest_TestMultiException_Result struct {
	Success *Xtruct    `json:"success,omitempty"`
	Err1    *Xception  `json:"err1,omitempty"`
	Err2    *Xception2 `json:"err2,omitempty"`
}

func (*ThriftTest_TestMultiException_Result) EnvelopeType

func (*ThriftTest_TestMultiException_Result) Equals added in v1.8.0

func (*ThriftTest_TestMultiException_Result) FromWire

func (*ThriftTest_TestMultiException_Result) MethodName

func (*ThriftTest_TestMultiException_Result) String

func (*ThriftTest_TestMultiException_Result) ToWire

type ThriftTest_TestMulti_Args

type ThriftTest_TestMulti_Args struct {
	Arg0 *int8            `json:"arg0,omitempty"`
	Arg1 *int32           `json:"arg1,omitempty"`
	Arg2 *int64           `json:"arg2,omitempty"`
	Arg3 map[int16]string `json:"arg3"`
	Arg4 *Numberz         `json:"arg4,omitempty"`
	Arg5 *UserId          `json:"arg5,omitempty"`
}

func (*ThriftTest_TestMulti_Args) EnvelopeType

func (v *ThriftTest_TestMulti_Args) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestMulti_Args) Equals added in v1.8.0

func (*ThriftTest_TestMulti_Args) FromWire

func (v *ThriftTest_TestMulti_Args) FromWire(w wire.Value) error

func (*ThriftTest_TestMulti_Args) MethodName

func (v *ThriftTest_TestMulti_Args) MethodName() string

func (*ThriftTest_TestMulti_Args) String

func (v *ThriftTest_TestMulti_Args) String() string

func (*ThriftTest_TestMulti_Args) ToWire

func (v *ThriftTest_TestMulti_Args) ToWire() (wire.Value, error)

type ThriftTest_TestMulti_Result

type ThriftTest_TestMulti_Result struct {
	Success *Xtruct `json:"success,omitempty"`
}

func (*ThriftTest_TestMulti_Result) EnvelopeType

func (v *ThriftTest_TestMulti_Result) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestMulti_Result) Equals added in v1.8.0

func (*ThriftTest_TestMulti_Result) FromWire

func (*ThriftTest_TestMulti_Result) MethodName

func (v *ThriftTest_TestMulti_Result) MethodName() string

func (*ThriftTest_TestMulti_Result) String

func (v *ThriftTest_TestMulti_Result) String() string

func (*ThriftTest_TestMulti_Result) ToWire

type ThriftTest_TestNest_Args

type ThriftTest_TestNest_Args struct {
	Thing *Xtruct2 `json:"thing,omitempty"`
}

func (*ThriftTest_TestNest_Args) EnvelopeType

func (v *ThriftTest_TestNest_Args) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestNest_Args) Equals added in v1.8.0

func (*ThriftTest_TestNest_Args) FromWire

func (v *ThriftTest_TestNest_Args) FromWire(w wire.Value) error

func (*ThriftTest_TestNest_Args) MethodName

func (v *ThriftTest_TestNest_Args) MethodName() string

func (*ThriftTest_TestNest_Args) String

func (v *ThriftTest_TestNest_Args) String() string

func (*ThriftTest_TestNest_Args) ToWire

func (v *ThriftTest_TestNest_Args) ToWire() (wire.Value, error)

type ThriftTest_TestNest_Result

type ThriftTest_TestNest_Result struct {
	Success *Xtruct2 `json:"success,omitempty"`
}

func (*ThriftTest_TestNest_Result) EnvelopeType

func (v *ThriftTest_TestNest_Result) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestNest_Result) Equals added in v1.8.0

func (*ThriftTest_TestNest_Result) FromWire

func (v *ThriftTest_TestNest_Result) FromWire(w wire.Value) error

func (*ThriftTest_TestNest_Result) MethodName

func (v *ThriftTest_TestNest_Result) MethodName() string

func (*ThriftTest_TestNest_Result) String

func (v *ThriftTest_TestNest_Result) String() string

func (*ThriftTest_TestNest_Result) ToWire

func (v *ThriftTest_TestNest_Result) ToWire() (wire.Value, error)

type ThriftTest_TestOneway_Args

type ThriftTest_TestOneway_Args struct {
	SecondsToSleep *int32 `json:"secondsToSleep,omitempty"`
}

func (*ThriftTest_TestOneway_Args) EnvelopeType

func (v *ThriftTest_TestOneway_Args) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestOneway_Args) Equals added in v1.8.0

func (*ThriftTest_TestOneway_Args) FromWire

func (v *ThriftTest_TestOneway_Args) FromWire(w wire.Value) error

func (*ThriftTest_TestOneway_Args) MethodName

func (v *ThriftTest_TestOneway_Args) MethodName() string

func (*ThriftTest_TestOneway_Args) String

func (v *ThriftTest_TestOneway_Args) String() string

func (*ThriftTest_TestOneway_Args) ToWire

func (v *ThriftTest_TestOneway_Args) ToWire() (wire.Value, error)

type ThriftTest_TestSet_Args

type ThriftTest_TestSet_Args struct {
	Thing map[int32]struct{} `json:"thing"`
}

func (*ThriftTest_TestSet_Args) EnvelopeType

func (v *ThriftTest_TestSet_Args) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestSet_Args) Equals added in v1.8.0

func (*ThriftTest_TestSet_Args) FromWire

func (v *ThriftTest_TestSet_Args) FromWire(w wire.Value) error

func (*ThriftTest_TestSet_Args) MethodName

func (v *ThriftTest_TestSet_Args) MethodName() string

func (*ThriftTest_TestSet_Args) String

func (v *ThriftTest_TestSet_Args) String() string

func (*ThriftTest_TestSet_Args) ToWire

func (v *ThriftTest_TestSet_Args) ToWire() (wire.Value, error)

type ThriftTest_TestSet_Result

type ThriftTest_TestSet_Result struct {
	Success map[int32]struct{} `json:"success"`
}

func (*ThriftTest_TestSet_Result) EnvelopeType

func (v *ThriftTest_TestSet_Result) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestSet_Result) Equals added in v1.8.0

func (*ThriftTest_TestSet_Result) FromWire

func (v *ThriftTest_TestSet_Result) FromWire(w wire.Value) error

func (*ThriftTest_TestSet_Result) MethodName

func (v *ThriftTest_TestSet_Result) MethodName() string

func (*ThriftTest_TestSet_Result) String

func (v *ThriftTest_TestSet_Result) String() string

func (*ThriftTest_TestSet_Result) ToWire

func (v *ThriftTest_TestSet_Result) ToWire() (wire.Value, error)

type ThriftTest_TestStringMap_Args

type ThriftTest_TestStringMap_Args struct {
	Thing map[string]string `json:"thing"`
}

func (*ThriftTest_TestStringMap_Args) EnvelopeType

func (*ThriftTest_TestStringMap_Args) Equals added in v1.8.0

func (*ThriftTest_TestStringMap_Args) FromWire

func (*ThriftTest_TestStringMap_Args) MethodName

func (v *ThriftTest_TestStringMap_Args) MethodName() string

func (*ThriftTest_TestStringMap_Args) String

func (*ThriftTest_TestStringMap_Args) ToWire

type ThriftTest_TestStringMap_Result

type ThriftTest_TestStringMap_Result struct {
	Success map[string]string `json:"success"`
}

func (*ThriftTest_TestStringMap_Result) EnvelopeType

func (*ThriftTest_TestStringMap_Result) Equals added in v1.8.0

func (*ThriftTest_TestStringMap_Result) FromWire

func (*ThriftTest_TestStringMap_Result) MethodName

func (v *ThriftTest_TestStringMap_Result) MethodName() string

func (*ThriftTest_TestStringMap_Result) String

func (*ThriftTest_TestStringMap_Result) ToWire

type ThriftTest_TestString_Args

type ThriftTest_TestString_Args struct {
	Thing *string `json:"thing,omitempty"`
}

func (*ThriftTest_TestString_Args) EnvelopeType

func (v *ThriftTest_TestString_Args) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestString_Args) Equals added in v1.8.0

func (*ThriftTest_TestString_Args) FromWire

func (v *ThriftTest_TestString_Args) FromWire(w wire.Value) error

func (*ThriftTest_TestString_Args) MethodName

func (v *ThriftTest_TestString_Args) MethodName() string

func (*ThriftTest_TestString_Args) String

func (v *ThriftTest_TestString_Args) String() string

func (*ThriftTest_TestString_Args) ToWire

func (v *ThriftTest_TestString_Args) ToWire() (wire.Value, error)

type ThriftTest_TestString_Result

type ThriftTest_TestString_Result struct {
	Success *string `json:"success,omitempty"`
}

func (*ThriftTest_TestString_Result) EnvelopeType

func (*ThriftTest_TestString_Result) Equals added in v1.8.0

func (*ThriftTest_TestString_Result) FromWire

func (*ThriftTest_TestString_Result) MethodName

func (v *ThriftTest_TestString_Result) MethodName() string

func (*ThriftTest_TestString_Result) String

func (*ThriftTest_TestString_Result) ToWire

type ThriftTest_TestStruct_Args

type ThriftTest_TestStruct_Args struct {
	Thing *Xtruct `json:"thing,omitempty"`
}

func (*ThriftTest_TestStruct_Args) EnvelopeType

func (v *ThriftTest_TestStruct_Args) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestStruct_Args) Equals added in v1.8.0

func (*ThriftTest_TestStruct_Args) FromWire

func (v *ThriftTest_TestStruct_Args) FromWire(w wire.Value) error

func (*ThriftTest_TestStruct_Args) MethodName

func (v *ThriftTest_TestStruct_Args) MethodName() string

func (*ThriftTest_TestStruct_Args) String

func (v *ThriftTest_TestStruct_Args) String() string

func (*ThriftTest_TestStruct_Args) ToWire

func (v *ThriftTest_TestStruct_Args) ToWire() (wire.Value, error)

type ThriftTest_TestStruct_Result

type ThriftTest_TestStruct_Result struct {
	Success *Xtruct `json:"success,omitempty"`
}

func (*ThriftTest_TestStruct_Result) EnvelopeType

func (*ThriftTest_TestStruct_Result) Equals added in v1.8.0

func (*ThriftTest_TestStruct_Result) FromWire

func (*ThriftTest_TestStruct_Result) MethodName

func (v *ThriftTest_TestStruct_Result) MethodName() string

func (*ThriftTest_TestStruct_Result) String

func (*ThriftTest_TestStruct_Result) ToWire

type ThriftTest_TestTypedef_Args

type ThriftTest_TestTypedef_Args struct {
	Thing *UserId `json:"thing,omitempty"`
}

func (*ThriftTest_TestTypedef_Args) EnvelopeType

func (v *ThriftTest_TestTypedef_Args) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestTypedef_Args) Equals added in v1.8.0

func (*ThriftTest_TestTypedef_Args) FromWire

func (*ThriftTest_TestTypedef_Args) MethodName

func (v *ThriftTest_TestTypedef_Args) MethodName() string

func (*ThriftTest_TestTypedef_Args) String

func (v *ThriftTest_TestTypedef_Args) String() string

func (*ThriftTest_TestTypedef_Args) ToWire

type ThriftTest_TestTypedef_Result

type ThriftTest_TestTypedef_Result struct {
	Success *UserId `json:"success,omitempty"`
}

func (*ThriftTest_TestTypedef_Result) EnvelopeType

func (*ThriftTest_TestTypedef_Result) Equals added in v1.8.0

func (*ThriftTest_TestTypedef_Result) FromWire

func (*ThriftTest_TestTypedef_Result) MethodName

func (v *ThriftTest_TestTypedef_Result) MethodName() string

func (*ThriftTest_TestTypedef_Result) String

func (*ThriftTest_TestTypedef_Result) ToWire

type ThriftTest_TestVoid_Args

type ThriftTest_TestVoid_Args struct{}

func (*ThriftTest_TestVoid_Args) EnvelopeType

func (v *ThriftTest_TestVoid_Args) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestVoid_Args) Equals added in v1.8.0

func (*ThriftTest_TestVoid_Args) FromWire

func (v *ThriftTest_TestVoid_Args) FromWire(w wire.Value) error

func (*ThriftTest_TestVoid_Args) MethodName

func (v *ThriftTest_TestVoid_Args) MethodName() string

func (*ThriftTest_TestVoid_Args) String

func (v *ThriftTest_TestVoid_Args) String() string

func (*ThriftTest_TestVoid_Args) ToWire

func (v *ThriftTest_TestVoid_Args) ToWire() (wire.Value, error)

type ThriftTest_TestVoid_Result

type ThriftTest_TestVoid_Result struct{}

func (*ThriftTest_TestVoid_Result) EnvelopeType

func (v *ThriftTest_TestVoid_Result) EnvelopeType() wire.EnvelopeType

func (*ThriftTest_TestVoid_Result) Equals added in v1.8.0

func (*ThriftTest_TestVoid_Result) FromWire

func (v *ThriftTest_TestVoid_Result) FromWire(w wire.Value) error

func (*ThriftTest_TestVoid_Result) MethodName

func (v *ThriftTest_TestVoid_Result) MethodName() string

func (*ThriftTest_TestVoid_Result) String

func (v *ThriftTest_TestVoid_Result) String() string

func (*ThriftTest_TestVoid_Result) ToWire

func (v *ThriftTest_TestVoid_Result) ToWire() (wire.Value, error)

type UserId

type UserId int64

func (UserId) Equals added in v1.8.0

func (lhs UserId) Equals(rhs UserId) bool

func (*UserId) FromWire

func (v *UserId) FromWire(w wire.Value) error

func (UserId) String

func (v UserId) String() string

func (UserId) ToWire

func (v UserId) ToWire() (wire.Value, error)

type VersioningTestV1

type VersioningTestV1 struct {
	BeginInBoth *int32  `json:"begin_in_both,omitempty"`
	OldString   *string `json:"old_string,omitempty"`
	EndInBoth   *int32  `json:"end_in_both,omitempty"`
}

func (*VersioningTestV1) Equals added in v1.8.0

func (v *VersioningTestV1) Equals(rhs *VersioningTestV1) bool

func (*VersioningTestV1) FromWire

func (v *VersioningTestV1) FromWire(w wire.Value) error

func (*VersioningTestV1) String

func (v *VersioningTestV1) String() string

func (*VersioningTestV1) ToWire

func (v *VersioningTestV1) ToWire() (wire.Value, error)

type VersioningTestV2

type VersioningTestV2 struct {
	BeginInBoth *int32             `json:"begin_in_both,omitempty"`
	Newint      *int32             `json:"newint,omitempty"`
	Newbyte     *int8              `json:"newbyte,omitempty"`
	Newshort    *int16             `json:"newshort,omitempty"`
	Newlong     *int64             `json:"newlong,omitempty"`
	Newdouble   *float64           `json:"newdouble,omitempty"`
	Newstruct   *Bonk              `json:"newstruct,omitempty"`
	Newlist     []int32            `json:"newlist"`
	Newset      map[int32]struct{} `json:"newset"`
	Newmap      map[int32]int32    `json:"newmap"`
	Newstring   *string            `json:"newstring,omitempty"`
	EndInBoth   *int32             `json:"end_in_both,omitempty"`
}

func (*VersioningTestV2) Equals added in v1.8.0

func (v *VersioningTestV2) Equals(rhs *VersioningTestV2) bool

func (*VersioningTestV2) FromWire

func (v *VersioningTestV2) FromWire(w wire.Value) error

func (*VersioningTestV2) String

func (v *VersioningTestV2) String() string

func (*VersioningTestV2) ToWire

func (v *VersioningTestV2) ToWire() (wire.Value, error)

type Xception

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

func (*Xception) Equals added in v1.8.0

func (v *Xception) Equals(rhs *Xception) bool

func (*Xception) Error

func (v *Xception) Error() string

func (*Xception) FromWire

func (v *Xception) FromWire(w wire.Value) error

func (*Xception) String

func (v *Xception) String() string

func (*Xception) ToWire

func (v *Xception) ToWire() (wire.Value, error)

type Xception2

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

func (*Xception2) Equals added in v1.8.0

func (v *Xception2) Equals(rhs *Xception2) bool

func (*Xception2) Error

func (v *Xception2) Error() string

func (*Xception2) FromWire

func (v *Xception2) FromWire(w wire.Value) error

func (*Xception2) String

func (v *Xception2) String() string

func (*Xception2) ToWire

func (v *Xception2) ToWire() (wire.Value, error)

type Xtruct

type Xtruct struct {
	StringThing *string `json:"string_thing,omitempty"`
	ByteThing   *int8   `json:"byte_thing,omitempty"`
	I32Thing    *int32  `json:"i32_thing,omitempty"`
	I64Thing    *int64  `json:"i64_thing,omitempty"`
}

func (*Xtruct) Equals added in v1.8.0

func (v *Xtruct) Equals(rhs *Xtruct) bool

func (*Xtruct) FromWire

func (v *Xtruct) FromWire(w wire.Value) error

func (*Xtruct) String

func (v *Xtruct) String() string

func (*Xtruct) ToWire

func (v *Xtruct) ToWire() (wire.Value, error)

type Xtruct2

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

func (*Xtruct2) Equals added in v1.8.0

func (v *Xtruct2) Equals(rhs *Xtruct2) bool

func (*Xtruct2) FromWire

func (v *Xtruct2) FromWire(w wire.Value) error

func (*Xtruct2) String

func (v *Xtruct2) String() string

func (*Xtruct2) ToWire

func (v *Xtruct2) ToWire() (wire.Value, error)

type Xtruct3

type Xtruct3 struct {
	StringThing *string `json:"string_thing,omitempty"`
	Changed     *int32  `json:"changed,omitempty"`
	I32Thing    *int32  `json:"i32_thing,omitempty"`
	I64Thing    *int64  `json:"i64_thing,omitempty"`
}

func (*Xtruct3) Equals added in v1.8.0

func (v *Xtruct3) Equals(rhs *Xtruct3) bool

func (*Xtruct3) FromWire

func (v *Xtruct3) FromWire(w wire.Value) error

func (*Xtruct3) String

func (v *Xtruct3) String() string

func (*Xtruct3) ToWire

func (v *Xtruct3) ToWire() (wire.Value, error)

Jump to

Keyboard shortcuts

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