Documentation ¶
Index ¶
- Constants
- Variables
- func GetFileDescriptorForReflectionTestIdl() *thrift_reflection.FileDescriptor
- func GetFileDescriptorForReflectionTestIdl2() *thrift_reflection.FileDescriptor
- type A0
- func (p *A0) GetDescriptor() *thrift_reflection.StructDescriptor
- func (p *A0) GetF1() (v string)
- func (p *A0) GetF2() (v *B)
- func (p *A0) GetF3() (v map[string]*C)
- func (p *A0) GetF4() (v map[*D]map[*E][]*F)
- func (p *A0) GetTypeDescriptor() *thrift_reflection.TypeDescriptor
- func (p *A0) InitDefault()
- func (p *A0) IsSetF2() bool
- func (p *A0) String() string
- type A1
- type A2
- type A3
- type B
- type B1
- type C
- type D
- type D1
- type D2
- type E
- type F
- type Gender
- type IDCard
- type MyAnotherService
- type MyAnotherServiceM33Args
- type MyAnotherServiceM33Result
- type MyAnotherServiceM44Args
- type MyAnotherServiceM44Result
- type MyException
- func (p *MyException) Error() string
- func (p *MyException) GetCode() (v int8)
- func (p *MyException) GetDescriptor() *thrift_reflection.StructDescriptor
- func (p *MyException) GetMsg() (v string)
- func (p *MyException) GetTypeDescriptor() *thrift_reflection.TypeDescriptor
- func (p *MyException) InitDefault()
- func (p *MyException) String() string
- type MyParentService
- type MyParentServiceM11Args
- type MyParentServiceM11Result
- type MyParentServiceM22Args
- type MyParentServiceM22Result
- type MyService
- type MyServiceM1Args
- type MyServiceM1Result
- type MyServiceM2Args
- type MyServiceM2Result
- type MyServiceM3Args
- type MyServiceM3Result
- type MyUnion
- func (p *MyUnion) CountSetFieldsMyUnion() int
- func (p *MyUnion) GetAge() (v int8)
- func (p *MyUnion) GetDescriptor() *thrift_reflection.StructDescriptor
- func (p *MyUnion) GetNumber() (v string)
- func (p *MyUnion) GetTypeDescriptor() *thrift_reflection.TypeDescriptor
- func (p *MyUnion) InitDefault()
- func (p *MyUnion) IsSetAge() bool
- func (p *MyUnion) IsSetNumber() bool
- func (p *MyUnion) String() string
- type Person
- func (p *Person) GetDefaultConst() (v string)
- func (p *Person) GetDefaultValue() (v string)
- func (p *Person) GetDescriptor() *thrift_reflection.StructDescriptor
- func (p *Person) GetExp() (v *MyException)
- func (p *Person) GetGender() (v Gender)
- func (p *Person) GetID() (v *IDCard)
- func (p *Person) GetName() (v string)
- func (p *Person) GetTypeDescriptor() *thrift_reflection.TypeDescriptor
- func (p *Person) GetTypedefValue() (v SpecialString)
- func (p *Person) GetUni() (v *MyUnion)
- func (p *Person) InitDefault()
- func (p *Person) IsSetExp() bool
- func (p *Person) IsSetID() bool
- func (p *Person) IsSetUni() bool
- func (p *Person) String() string
- type Size
- type SpecialPerson
- type SpecialString
Constants ¶
View Source
const ( MYCONST = "hello" MYINTCONST = 123 MYFLOATCONST = 123.333 MYBOOLCONST = true MYBYTECONST = 1 )
Variables ¶
View Source
var ( MYBINARYCONST = []byte("1") MYLISTCONST = []string{ "a", "b", "c", } MYMAPCONST = map[string]string{ "k1": "v1", "k2": "v2", "k3": "v3", } )
View Source
var MyAnotherServiceM33Result_Success_DEFAULT string
View Source
var MyAnotherServiceM44Result_Success_DEFAULT string
View Source
var MyParentServiceM11Result_Success_DEFAULT string
View Source
var MyParentServiceM22Result_Success_DEFAULT string
View Source
var MyServiceM1Result_Success_DEFAULT string
View Source
var MyServiceM2Result_Success_DEFAULT string
View Source
var MyUnion_Age_DEFAULT int8
View Source
var MyUnion_Number_DEFAULT string
Functions ¶
func GetFileDescriptorForReflectionTestIdl ¶
func GetFileDescriptorForReflectionTestIdl() *thrift_reflection.FileDescriptor
func GetFileDescriptorForReflectionTestIdl2 ¶ added in v0.3.11
func GetFileDescriptorForReflectionTestIdl2() *thrift_reflection.FileDescriptor
Types ¶
type A0 ¶
type A0 struct { F1 string `thrift:"f1,1,required" json:"f1"` F2 *B `thrift:"f2,2,required" json:"f2"` F3 map[string]*C `thrift:"f3,3,required" json:"f3"` F4 map[*D]map[*E][]*F `thrift:"f4,4,required" json:"f4"` }
var MyServiceM3Args_A0_DEFAULT *A0
func (*A0) GetDescriptor ¶
func (p *A0) GetDescriptor() *thrift_reflection.StructDescriptor
func (*A0) GetTypeDescriptor ¶ added in v0.3.11
func (p *A0) GetTypeDescriptor() *thrift_reflection.TypeDescriptor
func (*A0) InitDefault ¶ added in v0.3.16
func (p *A0) InitDefault()
type A1 ¶
type A1 struct { F1 string `thrift:"f1,1,required" json:"f1"` F2 *A2 `thrift:"f2,2,required" json:"f2"` }
var MyServiceM3Result_Success_DEFAULT *A1
func (*A1) GetDescriptor ¶
func (p *A1) GetDescriptor() *thrift_reflection.StructDescriptor
func (*A1) GetTypeDescriptor ¶ added in v0.3.11
func (p *A1) GetTypeDescriptor() *thrift_reflection.TypeDescriptor
func (*A1) InitDefault ¶ added in v0.3.16
func (p *A1) InitDefault()
type A2 ¶
type A2 struct {
F1 string `thrift:"f1,1,required" json:"f1"`
}
var A1_F2_DEFAULT *A2
func (*A2) GetDescriptor ¶
func (p *A2) GetDescriptor() *thrift_reflection.StructDescriptor
func (*A2) GetTypeDescriptor ¶ added in v0.3.11
func (p *A2) GetTypeDescriptor() *thrift_reflection.TypeDescriptor
func (*A2) InitDefault ¶ added in v0.3.16
func (p *A2) InitDefault()
type A3 ¶
type A3 struct {
F1 string `thrift:"f1,1,required" json:"f1"`
}
var MyServiceM3Args_A3_DEFAULT *A3
func (*A3) GetDescriptor ¶
func (p *A3) GetDescriptor() *thrift_reflection.StructDescriptor
func (*A3) GetTypeDescriptor ¶ added in v0.3.11
func (p *A3) GetTypeDescriptor() *thrift_reflection.TypeDescriptor
func (*A3) InitDefault ¶ added in v0.3.16
func (p *A3) InitDefault()
type B ¶
type B struct { F1 *B1 `thrift:"f1,1,required" json:"f1"` F2 *E `thrift:"f2,2,required" json:"f2"` }
var A0_F2_DEFAULT *B
var C_F1_DEFAULT *B
func (*B) GetDescriptor ¶
func (p *B) GetDescriptor() *thrift_reflection.StructDescriptor
func (*B) GetTypeDescriptor ¶ added in v0.3.11
func (p *B) GetTypeDescriptor() *thrift_reflection.TypeDescriptor
func (*B) InitDefault ¶ added in v0.3.16
func (p *B) InitDefault()
type B1 ¶
type B1 struct {
Name string `thrift:"name,1,required" json:"name"`
}
var B_F1_DEFAULT *B1
func (*B1) GetDescriptor ¶
func (p *B1) GetDescriptor() *thrift_reflection.StructDescriptor
func (*B1) GetTypeDescriptor ¶ added in v0.3.11
func (p *B1) GetTypeDescriptor() *thrift_reflection.TypeDescriptor
func (*B1) InitDefault ¶ added in v0.3.16
func (p *B1) InitDefault()
type C ¶
type C struct {
F1 *B `thrift:"f1,1,required" json:"f1"`
}
var E_F1_DEFAULT *C
func (*C) GetDescriptor ¶
func (p *C) GetDescriptor() *thrift_reflection.StructDescriptor
func (*C) GetTypeDescriptor ¶ added in v0.3.11
func (p *C) GetTypeDescriptor() *thrift_reflection.TypeDescriptor
func (*C) InitDefault ¶ added in v0.3.16
func (p *C) InitDefault()
type D ¶
func (*D) GetDescriptor ¶
func (p *D) GetDescriptor() *thrift_reflection.StructDescriptor
func (*D) GetTypeDescriptor ¶ added in v0.3.11
func (p *D) GetTypeDescriptor() *thrift_reflection.TypeDescriptor
func (*D) InitDefault ¶ added in v0.3.16
func (p *D) InitDefault()
type D1 ¶
type D1 struct {
Name string `thrift:"name,1,required" json:"name"`
}
func (*D1) GetDescriptor ¶
func (p *D1) GetDescriptor() *thrift_reflection.StructDescriptor
func (*D1) GetTypeDescriptor ¶ added in v0.3.11
func (p *D1) GetTypeDescriptor() *thrift_reflection.TypeDescriptor
func (*D1) InitDefault ¶ added in v0.3.16
func (p *D1) InitDefault()
type D2 ¶
type D2 struct {
Name string `thrift:"name,1,required" json:"name"`
}
func (*D2) GetDescriptor ¶
func (p *D2) GetDescriptor() *thrift_reflection.StructDescriptor
func (*D2) GetTypeDescriptor ¶ added in v0.3.11
func (p *D2) GetTypeDescriptor() *thrift_reflection.TypeDescriptor
func (*D2) InitDefault ¶ added in v0.3.16
func (p *D2) InitDefault()
type E ¶
type E struct {
F1 *C `thrift:"f1,1,required" json:"f1"`
}
var B_F2_DEFAULT *E
func (*E) GetDescriptor ¶
func (p *E) GetDescriptor() *thrift_reflection.StructDescriptor
func (*E) GetTypeDescriptor ¶ added in v0.3.11
func (p *E) GetTypeDescriptor() *thrift_reflection.TypeDescriptor
func (*E) InitDefault ¶ added in v0.3.16
func (p *E) InitDefault()
type F ¶
type F struct {
Name string `thrift:"name,1,required" json:"name"`
}
func (*F) GetDescriptor ¶
func (p *F) GetDescriptor() *thrift_reflection.StructDescriptor
func (*F) GetTypeDescriptor ¶ added in v0.3.11
func (p *F) GetTypeDescriptor() *thrift_reflection.TypeDescriptor
func (*F) InitDefault ¶ added in v0.3.16
func (p *F) InitDefault()
type Gender ¶
type Gender int64
func GenderFromString ¶
func (Gender) GetDescriptor ¶
func (p Gender) GetDescriptor() *thrift_reflection.EnumDescriptor
func (*Gender) GetTypeDescriptor ¶ added in v0.3.11
func (p *Gender) GetTypeDescriptor() *thrift_reflection.TypeDescriptor
type IDCard ¶
type IDCard struct { Number string `thrift:"number,1,required" json:"number"` Age int8 `thrift:"age,2,required" json:"age"` }
var Person_ID_DEFAULT *IDCard
func (*IDCard) GetDescriptor ¶
func (p *IDCard) GetDescriptor() *thrift_reflection.StructDescriptor
func (*IDCard) GetTypeDescriptor ¶ added in v0.3.11
func (p *IDCard) GetTypeDescriptor() *thrift_reflection.TypeDescriptor
func (*IDCard) InitDefault ¶ added in v0.3.16
func (p *IDCard) InitDefault()
type MyAnotherService ¶ added in v0.3.11
type MyAnotherServiceM33Args ¶ added in v0.3.11
type MyAnotherServiceM33Args struct { }
func NewMyAnotherServiceM33Args ¶ added in v0.3.11
func NewMyAnotherServiceM33Args() *MyAnotherServiceM33Args
func (*MyAnotherServiceM33Args) InitDefault ¶ added in v0.3.16
func (p *MyAnotherServiceM33Args) InitDefault()
func (*MyAnotherServiceM33Args) String ¶ added in v0.3.11
func (p *MyAnotherServiceM33Args) String() string
type MyAnotherServiceM33Result ¶ added in v0.3.11
type MyAnotherServiceM33Result struct {
Success *string `thrift:"success,0,optional" json:"success,omitempty"`
}
func NewMyAnotherServiceM33Result ¶ added in v0.3.11
func NewMyAnotherServiceM33Result() *MyAnotherServiceM33Result
func (*MyAnotherServiceM33Result) GetSuccess ¶ added in v0.3.11
func (p *MyAnotherServiceM33Result) GetSuccess() (v string)
func (*MyAnotherServiceM33Result) InitDefault ¶ added in v0.3.16
func (p *MyAnotherServiceM33Result) InitDefault()
func (*MyAnotherServiceM33Result) IsSetSuccess ¶ added in v0.3.11
func (p *MyAnotherServiceM33Result) IsSetSuccess() bool
func (*MyAnotherServiceM33Result) String ¶ added in v0.3.11
func (p *MyAnotherServiceM33Result) String() string
type MyAnotherServiceM44Args ¶ added in v0.3.11
type MyAnotherServiceM44Args struct { }
func NewMyAnotherServiceM44Args ¶ added in v0.3.11
func NewMyAnotherServiceM44Args() *MyAnotherServiceM44Args
func (*MyAnotherServiceM44Args) InitDefault ¶ added in v0.3.16
func (p *MyAnotherServiceM44Args) InitDefault()
func (*MyAnotherServiceM44Args) String ¶ added in v0.3.11
func (p *MyAnotherServiceM44Args) String() string
type MyAnotherServiceM44Result ¶ added in v0.3.11
type MyAnotherServiceM44Result struct {
Success *string `thrift:"success,0,optional" json:"success,omitempty"`
}
func NewMyAnotherServiceM44Result ¶ added in v0.3.11
func NewMyAnotherServiceM44Result() *MyAnotherServiceM44Result
func (*MyAnotherServiceM44Result) GetSuccess ¶ added in v0.3.11
func (p *MyAnotherServiceM44Result) GetSuccess() (v string)
func (*MyAnotherServiceM44Result) InitDefault ¶ added in v0.3.16
func (p *MyAnotherServiceM44Result) InitDefault()
func (*MyAnotherServiceM44Result) IsSetSuccess ¶ added in v0.3.11
func (p *MyAnotherServiceM44Result) IsSetSuccess() bool
func (*MyAnotherServiceM44Result) String ¶ added in v0.3.11
func (p *MyAnotherServiceM44Result) String() string
type MyException ¶
type MyException struct { Msg string `thrift:"msg,1,required" json:"msg"` Code int8 `thrift:"code,2,required" json:"code"` }
var Person_Exp_DEFAULT *MyException
func NewMyException ¶
func NewMyException() *MyException
func (*MyException) Error ¶
func (p *MyException) Error() string
func (*MyException) GetCode ¶
func (p *MyException) GetCode() (v int8)
func (*MyException) GetDescriptor ¶
func (p *MyException) GetDescriptor() *thrift_reflection.StructDescriptor
func (*MyException) GetMsg ¶
func (p *MyException) GetMsg() (v string)
func (*MyException) GetTypeDescriptor ¶ added in v0.3.11
func (p *MyException) GetTypeDescriptor() *thrift_reflection.TypeDescriptor
func (*MyException) InitDefault ¶ added in v0.3.16
func (p *MyException) InitDefault()
func (*MyException) String ¶
func (p *MyException) String() string
type MyParentService ¶ added in v0.3.11
type MyParentServiceM11Args ¶ added in v0.3.11
type MyParentServiceM11Args struct { }
func NewMyParentServiceM11Args ¶ added in v0.3.11
func NewMyParentServiceM11Args() *MyParentServiceM11Args
func (*MyParentServiceM11Args) InitDefault ¶ added in v0.3.16
func (p *MyParentServiceM11Args) InitDefault()
func (*MyParentServiceM11Args) String ¶ added in v0.3.11
func (p *MyParentServiceM11Args) String() string
type MyParentServiceM11Result ¶ added in v0.3.11
type MyParentServiceM11Result struct {
Success *string `thrift:"success,0,optional" json:"success,omitempty"`
}
func NewMyParentServiceM11Result ¶ added in v0.3.11
func NewMyParentServiceM11Result() *MyParentServiceM11Result
func (*MyParentServiceM11Result) GetSuccess ¶ added in v0.3.11
func (p *MyParentServiceM11Result) GetSuccess() (v string)
func (*MyParentServiceM11Result) InitDefault ¶ added in v0.3.16
func (p *MyParentServiceM11Result) InitDefault()
func (*MyParentServiceM11Result) IsSetSuccess ¶ added in v0.3.11
func (p *MyParentServiceM11Result) IsSetSuccess() bool
func (*MyParentServiceM11Result) String ¶ added in v0.3.11
func (p *MyParentServiceM11Result) String() string
type MyParentServiceM22Args ¶ added in v0.3.11
type MyParentServiceM22Args struct { }
func NewMyParentServiceM22Args ¶ added in v0.3.11
func NewMyParentServiceM22Args() *MyParentServiceM22Args
func (*MyParentServiceM22Args) InitDefault ¶ added in v0.3.16
func (p *MyParentServiceM22Args) InitDefault()
func (*MyParentServiceM22Args) String ¶ added in v0.3.11
func (p *MyParentServiceM22Args) String() string
type MyParentServiceM22Result ¶ added in v0.3.11
type MyParentServiceM22Result struct {
Success *string `thrift:"success,0,optional" json:"success,omitempty"`
}
func NewMyParentServiceM22Result ¶ added in v0.3.11
func NewMyParentServiceM22Result() *MyParentServiceM22Result
func (*MyParentServiceM22Result) GetSuccess ¶ added in v0.3.11
func (p *MyParentServiceM22Result) GetSuccess() (v string)
func (*MyParentServiceM22Result) InitDefault ¶ added in v0.3.16
func (p *MyParentServiceM22Result) InitDefault()
func (*MyParentServiceM22Result) IsSetSuccess ¶ added in v0.3.11
func (p *MyParentServiceM22Result) IsSetSuccess() bool
func (*MyParentServiceM22Result) String ¶ added in v0.3.11
func (p *MyParentServiceM22Result) String() string
type MyServiceM1Args ¶
type MyServiceM1Args struct {
P *Person `thrift:"p,1,required" json:"p"`
}
func NewMyServiceM1Args ¶
func NewMyServiceM1Args() *MyServiceM1Args
func (*MyServiceM1Args) GetP ¶
func (p *MyServiceM1Args) GetP() (v *Person)
func (*MyServiceM1Args) InitDefault ¶ added in v0.3.16
func (p *MyServiceM1Args) InitDefault()
func (*MyServiceM1Args) IsSetP ¶
func (p *MyServiceM1Args) IsSetP() bool
func (*MyServiceM1Args) String ¶
func (p *MyServiceM1Args) String() string
type MyServiceM1Result ¶
type MyServiceM1Result struct {
Success *string `thrift:"success,0,optional" json:"success,omitempty"`
}
func NewMyServiceM1Result ¶
func NewMyServiceM1Result() *MyServiceM1Result
func (*MyServiceM1Result) GetSuccess ¶
func (p *MyServiceM1Result) GetSuccess() (v string)
func (*MyServiceM1Result) InitDefault ¶ added in v0.3.16
func (p *MyServiceM1Result) InitDefault()
func (*MyServiceM1Result) IsSetSuccess ¶
func (p *MyServiceM1Result) IsSetSuccess() bool
func (*MyServiceM1Result) String ¶
func (p *MyServiceM1Result) String() string
type MyServiceM2Args ¶
type MyServiceM2Args struct {
P2 *Person `thrift:"p2,1,required" json:"p2"`
}
func NewMyServiceM2Args ¶
func NewMyServiceM2Args() *MyServiceM2Args
func (*MyServiceM2Args) GetP2 ¶
func (p *MyServiceM2Args) GetP2() (v *Person)
func (*MyServiceM2Args) InitDefault ¶ added in v0.3.16
func (p *MyServiceM2Args) InitDefault()
func (*MyServiceM2Args) IsSetP2 ¶
func (p *MyServiceM2Args) IsSetP2() bool
func (*MyServiceM2Args) String ¶
func (p *MyServiceM2Args) String() string
type MyServiceM2Result ¶
type MyServiceM2Result struct {
Success *string `thrift:"success,0,optional" json:"success,omitempty"`
}
func NewMyServiceM2Result ¶
func NewMyServiceM2Result() *MyServiceM2Result
func (*MyServiceM2Result) GetSuccess ¶
func (p *MyServiceM2Result) GetSuccess() (v string)
func (*MyServiceM2Result) InitDefault ¶ added in v0.3.16
func (p *MyServiceM2Result) InitDefault()
func (*MyServiceM2Result) IsSetSuccess ¶
func (p *MyServiceM2Result) IsSetSuccess() bool
func (*MyServiceM2Result) String ¶
func (p *MyServiceM2Result) String() string
type MyServiceM3Args ¶
type MyServiceM3Args struct { A0 *A0 `thrift:"a0,1,required" json:"a0"` A3 *A3 `thrift:"a3,2,required" json:"a3"` }
func NewMyServiceM3Args ¶
func NewMyServiceM3Args() *MyServiceM3Args
func (*MyServiceM3Args) GetA0 ¶
func (p *MyServiceM3Args) GetA0() (v *A0)
func (*MyServiceM3Args) GetA3 ¶
func (p *MyServiceM3Args) GetA3() (v *A3)
func (*MyServiceM3Args) InitDefault ¶ added in v0.3.16
func (p *MyServiceM3Args) InitDefault()
func (*MyServiceM3Args) IsSetA0 ¶
func (p *MyServiceM3Args) IsSetA0() bool
func (*MyServiceM3Args) IsSetA3 ¶
func (p *MyServiceM3Args) IsSetA3() bool
func (*MyServiceM3Args) String ¶
func (p *MyServiceM3Args) String() string
type MyServiceM3Result ¶
type MyServiceM3Result struct {
Success *A1 `thrift:"success,0,optional" json:"success,omitempty"`
}
func NewMyServiceM3Result ¶
func NewMyServiceM3Result() *MyServiceM3Result
func (*MyServiceM3Result) GetSuccess ¶
func (p *MyServiceM3Result) GetSuccess() (v *A1)
func (*MyServiceM3Result) InitDefault ¶ added in v0.3.16
func (p *MyServiceM3Result) InitDefault()
func (*MyServiceM3Result) IsSetSuccess ¶
func (p *MyServiceM3Result) IsSetSuccess() bool
func (*MyServiceM3Result) String ¶
func (p *MyServiceM3Result) String() string
type MyUnion ¶
type MyUnion struct { Number *string `thrift:"number,1,optional" json:"number,omitempty"` Age *int8 `thrift:"age,2,optional" json:"age,omitempty"` }
var Person_Uni_DEFAULT *MyUnion
func NewMyUnion ¶
func NewMyUnion() *MyUnion
func (*MyUnion) CountSetFieldsMyUnion ¶
func (*MyUnion) GetDescriptor ¶
func (p *MyUnion) GetDescriptor() *thrift_reflection.StructDescriptor
func (*MyUnion) GetTypeDescriptor ¶ added in v0.3.11
func (p *MyUnion) GetTypeDescriptor() *thrift_reflection.TypeDescriptor
func (*MyUnion) InitDefault ¶ added in v0.3.16
func (p *MyUnion) InitDefault()
func (*MyUnion) IsSetNumber ¶
type Person ¶
type Person struct { Name string `thrift:"name,1,required" json:"name"` ID *IDCard `thrift:"id,2,required" json:"id"` Gender Gender `thrift:"gender,3,required" json:"gender"` Exp *MyException `thrift:"exp,4,required" json:"exp"` Uni *MyUnion `thrift:"uni,5,required" json:"uni"` TypedefValue SpecialString `thrift:"typedefValue,6,required" json:"typedefValue"` DefaultValue string `thrift:"defaultValue,7,required" json:"defaultValue"` DefaultConst string `thrift:"defaultConst,8,required" json:"defaultConst"` }
var MyServiceM1Args_P_DEFAULT *Person
var MyServiceM2Args_P2_DEFAULT *Person
func (*Person) GetDefaultConst ¶
func (*Person) GetDefaultValue ¶
func (*Person) GetDescriptor ¶
func (p *Person) GetDescriptor() *thrift_reflection.StructDescriptor
func (*Person) GetExp ¶
func (p *Person) GetExp() (v *MyException)
func (*Person) GetTypeDescriptor ¶ added in v0.3.11
func (p *Person) GetTypeDescriptor() *thrift_reflection.TypeDescriptor
func (*Person) GetTypedefValue ¶
func (p *Person) GetTypedefValue() (v SpecialString)
func (*Person) InitDefault ¶ added in v0.3.16
func (p *Person) InitDefault()
type Size ¶
type Size int64
func SizeFromString ¶
func (Size) GetDescriptor ¶
func (p Size) GetDescriptor() *thrift_reflection.EnumDescriptor
func (*Size) GetTypeDescriptor ¶ added in v0.3.11
func (p *Size) GetTypeDescriptor() *thrift_reflection.TypeDescriptor
type SpecialPerson ¶
type SpecialPerson = Person
func NewSpecialPerson ¶
func NewSpecialPerson() *SpecialPerson
type SpecialString ¶
type SpecialString = string
Click to show internal directories.
Click to hide internal directories.