Versions in this module Expand all Collapse all v0 v0.3.12 Apr 30, 2024 v0.3.11 Apr 29, 2024 Changes in this version type IDCard + func (p *IDCard) GetTypeDescriptor() *thrift_reflection.TypeDescriptor type MyEnum + func (p *MyEnum) GetTypeDescriptor() *thrift_reflection.TypeDescriptor type Person + func (p *Person) GetTypeDescriptor() *thrift_reflection.TypeDescriptor type PersonB + func (p *PersonB) GetTypeDescriptor() *thrift_reflection.TypeDescriptor type PersonC + func (p *PersonC) GetTypeDescriptor() *thrift_reflection.TypeDescriptor type TinyStruct + func (p *TinyStruct) GetTypeDescriptor() *thrift_reflection.TypeDescriptor v0.3.10 Apr 9, 2024 v0.3.9 Apr 8, 2024 v0.3.8 Mar 29, 2024 Changes in this version + var MyServiceM1Result_Success_DEFAULT string + var MyServiceM2Result_Success_DEFAULT string + func GetFileDescriptorForTest() *thrift_reflection.FileDescriptor + type IDCard struct + Age int8 + Number string + var Person_ID_DEFAULT *IDCard + func NewIDCard() *IDCard + func (p *IDCard) GetAge() (v int8) + func (p *IDCard) GetDescriptor() *thrift_reflection.StructDescriptor + func (p *IDCard) GetNumber() (v string) + func (p *IDCard) Read(iprot thrift.TProtocol) (err error) + func (p *IDCard) ReadField1(iprot thrift.TProtocol) error + func (p *IDCard) ReadField2(iprot thrift.TProtocol) error + func (p *IDCard) String() string + func (p *IDCard) Write(oprot thrift.TProtocol) (err error) + type MyEnum int64 + const MyEnum_A + const MyEnum_B + func MyEnumFromString(s string) (MyEnum, error) + func MyEnumPtr(v MyEnum) *MyEnum + func (p *MyEnum) Scan(value interface{}) (err error) + func (p *MyEnum) Value() (driver.Value, error) + func (p MyEnum) GetDescriptor() *thrift_reflection.EnumDescriptor + func (p MyEnum) String() string + type MyService interface + M1 func(ctx context.Context) (r string, err error) + M2 func(ctx context.Context) (r string, err error) + type MyServiceClient struct + func NewMyServiceClient(c thrift.TClient) *MyServiceClient + func NewMyServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *MyServiceClient + func NewMyServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *MyServiceClient + func (p *MyServiceClient) Client_() thrift.TClient + func (p *MyServiceClient) M1(ctx context.Context) (r string, err error) + func (p *MyServiceClient) M2(ctx context.Context) (r string, err error) + type MyServiceM1Args struct + func NewMyServiceM1Args() *MyServiceM1Args + func (p *MyServiceM1Args) Read(iprot thrift.TProtocol) (err error) + func (p *MyServiceM1Args) String() string + func (p *MyServiceM1Args) Write(oprot thrift.TProtocol) (err error) + type MyServiceM1Result struct + Success *string + func NewMyServiceM1Result() *MyServiceM1Result + func (p *MyServiceM1Result) GetSuccess() (v string) + func (p *MyServiceM1Result) IsSetSuccess() bool + func (p *MyServiceM1Result) Read(iprot thrift.TProtocol) (err error) + func (p *MyServiceM1Result) ReadField0(iprot thrift.TProtocol) error + func (p *MyServiceM1Result) String() string + func (p *MyServiceM1Result) Write(oprot thrift.TProtocol) (err error) + type MyServiceM2Args struct + func NewMyServiceM2Args() *MyServiceM2Args + func (p *MyServiceM2Args) Read(iprot thrift.TProtocol) (err error) + func (p *MyServiceM2Args) String() string + func (p *MyServiceM2Args) Write(oprot thrift.TProtocol) (err error) + type MyServiceM2Result struct + Success *string + func NewMyServiceM2Result() *MyServiceM2Result + func (p *MyServiceM2Result) GetSuccess() (v string) + func (p *MyServiceM2Result) IsSetSuccess() bool + func (p *MyServiceM2Result) Read(iprot thrift.TProtocol) (err error) + func (p *MyServiceM2Result) ReadField0(iprot thrift.TProtocol) error + func (p *MyServiceM2Result) String() string + func (p *MyServiceM2Result) Write(oprot thrift.TProtocol) (err error) + type MyServiceProcessor struct + func NewMyServiceProcessor(handler MyService) *MyServiceProcessor + func (p *MyServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction) + func (p *MyServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool) + func (p *MyServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException) + func (p *MyServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction + type Person struct + ID *IDCard + Name string + func NewPerson() *Person + func (p *Person) GetDescriptor() *thrift_reflection.StructDescriptor + func (p *Person) GetID() (v *IDCard) + func (p *Person) GetName() (v string) + func (p *Person) IsSetID() bool + func (p *Person) Read(iprot thrift.TProtocol) (err error) + func (p *Person) ReadField1(iprot thrift.TProtocol) error + func (p *Person) ReadField2(iprot thrift.TProtocol) error + func (p *Person) String() string + func (p *Person) Write(oprot thrift.TProtocol) (err error) + type PersonB struct + func NewPersonB() *PersonB + func (p *PersonB) GetDescriptor() *thrift_reflection.StructDescriptor + func (p *PersonB) Read(iprot thrift.TProtocol) (err error) + func (p *PersonB) String() string + func (p *PersonB) Write(oprot thrift.TProtocol) (err error) + type PersonC struct + func NewPersonC() *PersonC + func (p *PersonC) GetDescriptor() *thrift_reflection.StructDescriptor + func (p *PersonC) Read(iprot thrift.TProtocol) (err error) + func (p *PersonC) String() string + func (p *PersonC) Write(oprot thrift.TProtocol) (err error) + type TinyStruct struct + B1 bool + B2 bool + func NewTinyStruct() *TinyStruct + func (p *TinyStruct) GetB1() (v bool) + func (p *TinyStruct) GetB2() (v bool) + func (p *TinyStruct) GetDescriptor() *thrift_reflection.StructDescriptor + func (p *TinyStruct) Read(iprot thrift.TProtocol) (err error) + func (p *TinyStruct) ReadField1(iprot thrift.TProtocol) error + func (p *TinyStruct) ReadField2(iprot thrift.TProtocol) error + func (p *TinyStruct) String() string + func (p *TinyStruct) Write(oprot thrift.TProtocol) (err error)