Documentation ¶
Index ¶
- Variables
- type BizRequest
- func (p *BizRequest) BLength() int
- func (p *BizRequest) DeepEqual(ano *BizRequest) bool
- func (p *BizRequest) FastRead(buf []byte) (int, error)
- func (p *BizRequest) FastReadField1(buf []byte) (int, error)
- func (p *BizRequest) FastReadField2(buf []byte) (int, error)
- func (p *BizRequest) FastReadField3(buf []byte) (int, error)
- func (p *BizRequest) FastReadField6(buf []byte) (int, error)
- func (p *BizRequest) FastReadField7(buf []byte) (int, error)
- func (p *BizRequest) FastWrite(buf []byte) int
- func (p *BizRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *BizRequest) Field1DeepEqual(src int64) bool
- func (p *BizRequest) Field2DeepEqual(src string) bool
- func (p *BizRequest) Field3DeepEqual(src int32) bool
- func (p *BizRequest) Field6DeepEqual(src []string) bool
- func (p *BizRequest) Field7DeepEqual(src int32) bool
- func (p *BizRequest) GetItems() []string
- func (p *BizRequest) GetText() string
- func (p *BizRequest) GetToken() int32
- func (p *BizRequest) GetVersion() int32
- func (p *BizRequest) GetVint64() int64
- func (p *BizRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *BizRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *BizRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *BizRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *BizRequest) ReadField6(iprot thrift.TProtocol) error
- func (p *BizRequest) ReadField7(iprot thrift.TProtocol) error
- func (p *BizRequest) SetItems(val []string)
- func (p *BizRequest) SetText(val string)
- func (p *BizRequest) SetToken(val int32)
- func (p *BizRequest) SetVersion(val int32)
- func (p *BizRequest) SetVint64(val int64)
- func (p *BizRequest) String() string
- func (p *BizRequest) Write(oprot thrift.TProtocol) (err error)
- type BizResponse
- func (p *BizResponse) BLength() int
- func (p *BizResponse) DeepEqual(ano *BizResponse) bool
- func (p *BizResponse) FastRead(buf []byte) (int, error)
- func (p *BizResponse) FastReadField1(buf []byte) (int, error)
- func (p *BizResponse) FastReadField2(buf []byte) (int, error)
- func (p *BizResponse) FastReadField5(buf []byte) (int, error)
- func (p *BizResponse) FastWrite(buf []byte) int
- func (p *BizResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *BizResponse) Field1DeepEqual(src int32) bool
- func (p *BizResponse) Field2DeepEqual(src string) bool
- func (p *BizResponse) Field5DeepEqual(src int32) bool
- func (p *BizResponse) GetHttpCode() int32
- func (p *BizResponse) GetText() string
- func (p *BizResponse) GetToken() int32
- func (p *BizResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *BizResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *BizResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *BizResponse) ReadField5(iprot thrift.TProtocol) error
- func (p *BizResponse) SetHttpCode(val int32)
- func (p *BizResponse) SetText(val string)
- func (p *BizResponse) SetToken(val int32)
- func (p *BizResponse) String() string
- func (p *BizResponse) Write(oprot thrift.TProtocol) (err error)
- type BizService
- type BizServiceBizMethod1Args
- func (p *BizServiceBizMethod1Args) BLength() int
- func (p *BizServiceBizMethod1Args) DeepEqual(ano *BizServiceBizMethod1Args) bool
- func (p *BizServiceBizMethod1Args) FastRead(buf []byte) (int, error)
- func (p *BizServiceBizMethod1Args) FastReadField1(buf []byte) (int, error)
- func (p *BizServiceBizMethod1Args) FastWrite(buf []byte) int
- func (p *BizServiceBizMethod1Args) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *BizServiceBizMethod1Args) Field1DeepEqual(src *BizRequest) bool
- func (p *BizServiceBizMethod1Args) GetFirstArgument() interface{}
- func (p *BizServiceBizMethod1Args) GetReq() *BizRequest
- func (p *BizServiceBizMethod1Args) IsSetReq() bool
- func (p *BizServiceBizMethod1Args) Read(iprot thrift.TProtocol) (err error)
- func (p *BizServiceBizMethod1Args) ReadField1(iprot thrift.TProtocol) error
- func (p *BizServiceBizMethod1Args) SetReq(val *BizRequest)
- func (p *BizServiceBizMethod1Args) String() string
- func (p *BizServiceBizMethod1Args) Write(oprot thrift.TProtocol) (err error)
- type BizServiceBizMethod1Result
- func (p *BizServiceBizMethod1Result) BLength() int
- func (p *BizServiceBizMethod1Result) DeepEqual(ano *BizServiceBizMethod1Result) bool
- func (p *BizServiceBizMethod1Result) FastRead(buf []byte) (int, error)
- func (p *BizServiceBizMethod1Result) FastReadField0(buf []byte) (int, error)
- func (p *BizServiceBizMethod1Result) FastWrite(buf []byte) int
- func (p *BizServiceBizMethod1Result) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *BizServiceBizMethod1Result) Field0DeepEqual(src *BizResponse) bool
- func (p *BizServiceBizMethod1Result) GetResult() interface{}
- func (p *BizServiceBizMethod1Result) GetSuccess() *BizResponse
- func (p *BizServiceBizMethod1Result) IsSetSuccess() bool
- func (p *BizServiceBizMethod1Result) Read(iprot thrift.TProtocol) (err error)
- func (p *BizServiceBizMethod1Result) ReadField0(iprot thrift.TProtocol) error
- func (p *BizServiceBizMethod1Result) SetSuccess(x interface{})
- func (p *BizServiceBizMethod1Result) String() string
- func (p *BizServiceBizMethod1Result) Write(oprot thrift.TProtocol) (err error)
- type BizServiceBizMethod2Args
- func (p *BizServiceBizMethod2Args) BLength() int
- func (p *BizServiceBizMethod2Args) DeepEqual(ano *BizServiceBizMethod2Args) bool
- func (p *BizServiceBizMethod2Args) FastRead(buf []byte) (int, error)
- func (p *BizServiceBizMethod2Args) FastReadField1(buf []byte) (int, error)
- func (p *BizServiceBizMethod2Args) FastWrite(buf []byte) int
- func (p *BizServiceBizMethod2Args) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *BizServiceBizMethod2Args) Field1DeepEqual(src *BizRequest) bool
- func (p *BizServiceBizMethod2Args) GetFirstArgument() interface{}
- func (p *BizServiceBizMethod2Args) GetReq() *BizRequest
- func (p *BizServiceBizMethod2Args) IsSetReq() bool
- func (p *BizServiceBizMethod2Args) Read(iprot thrift.TProtocol) (err error)
- func (p *BizServiceBizMethod2Args) ReadField1(iprot thrift.TProtocol) error
- func (p *BizServiceBizMethod2Args) SetReq(val *BizRequest)
- func (p *BizServiceBizMethod2Args) String() string
- func (p *BizServiceBizMethod2Args) Write(oprot thrift.TProtocol) (err error)
- type BizServiceBizMethod2Result
- func (p *BizServiceBizMethod2Result) BLength() int
- func (p *BizServiceBizMethod2Result) DeepEqual(ano *BizServiceBizMethod2Result) bool
- func (p *BizServiceBizMethod2Result) FastRead(buf []byte) (int, error)
- func (p *BizServiceBizMethod2Result) FastReadField0(buf []byte) (int, error)
- func (p *BizServiceBizMethod2Result) FastWrite(buf []byte) int
- func (p *BizServiceBizMethod2Result) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *BizServiceBizMethod2Result) Field0DeepEqual(src *BizResponse) bool
- func (p *BizServiceBizMethod2Result) GetResult() interface{}
- func (p *BizServiceBizMethod2Result) GetSuccess() *BizResponse
- func (p *BizServiceBizMethod2Result) IsSetSuccess() bool
- func (p *BizServiceBizMethod2Result) Read(iprot thrift.TProtocol) (err error)
- func (p *BizServiceBizMethod2Result) ReadField0(iprot thrift.TProtocol) error
- func (p *BizServiceBizMethod2Result) SetSuccess(x interface{})
- func (p *BizServiceBizMethod2Result) String() string
- func (p *BizServiceBizMethod2Result) Write(oprot thrift.TProtocol) (err error)
- type BizServiceBizMethod3Args
- func (p *BizServiceBizMethod3Args) BLength() int
- func (p *BizServiceBizMethod3Args) DeepEqual(ano *BizServiceBizMethod3Args) bool
- func (p *BizServiceBizMethod3Args) FastRead(buf []byte) (int, error)
- func (p *BizServiceBizMethod3Args) FastReadField1(buf []byte) (int, error)
- func (p *BizServiceBizMethod3Args) FastWrite(buf []byte) int
- func (p *BizServiceBizMethod3Args) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *BizServiceBizMethod3Args) Field1DeepEqual(src *BizRequest) bool
- func (p *BizServiceBizMethod3Args) GetFirstArgument() interface{}
- func (p *BizServiceBizMethod3Args) GetReq() *BizRequest
- func (p *BizServiceBizMethod3Args) IsSetReq() bool
- func (p *BizServiceBizMethod3Args) Read(iprot thrift.TProtocol) (err error)
- func (p *BizServiceBizMethod3Args) ReadField1(iprot thrift.TProtocol) error
- func (p *BizServiceBizMethod3Args) SetReq(val *BizRequest)
- func (p *BizServiceBizMethod3Args) String() string
- func (p *BizServiceBizMethod3Args) Write(oprot thrift.TProtocol) (err error)
- type BizServiceBizMethod3Result
- func (p *BizServiceBizMethod3Result) BLength() int
- func (p *BizServiceBizMethod3Result) DeepEqual(ano *BizServiceBizMethod3Result) bool
- func (p *BizServiceBizMethod3Result) FastRead(buf []byte) (int, error)
- func (p *BizServiceBizMethod3Result) FastReadField0(buf []byte) (int, error)
- func (p *BizServiceBizMethod3Result) FastWrite(buf []byte) int
- func (p *BizServiceBizMethod3Result) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *BizServiceBizMethod3Result) Field0DeepEqual(src *BizResponse) bool
- func (p *BizServiceBizMethod3Result) GetResult() interface{}
- func (p *BizServiceBizMethod3Result) GetSuccess() *BizResponse
- func (p *BizServiceBizMethod3Result) IsSetSuccess() bool
- func (p *BizServiceBizMethod3Result) Read(iprot thrift.TProtocol) (err error)
- func (p *BizServiceBizMethod3Result) ReadField0(iprot thrift.TProtocol) error
- func (p *BizServiceBizMethod3Result) SetSuccess(x interface{})
- func (p *BizServiceBizMethod3Result) String() string
- func (p *BizServiceBizMethod3Result) Write(oprot thrift.TProtocol) (err error)
- type BizServiceClient
- func (p *BizServiceClient) BizMethod1(ctx context.Context, req *BizRequest) (r *BizResponse, err error)
- func (p *BizServiceClient) BizMethod2(ctx context.Context, req *BizRequest) (r *BizResponse, err error)
- func (p *BizServiceClient) BizMethod3(ctx context.Context, req *BizRequest) (r *BizResponse, err error)
- func (p *BizServiceClient) Client_() thrift.TClient
- type BizServiceProcessor
- func (p *BizServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *BizServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *BizServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *BizServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
Constants ¶
This section is empty.
Variables ¶
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
Functions ¶
This section is empty.
Types ¶
type BizRequest ¶
type BizRequest struct { Vint64 int64 `thrift:"vint64,1" json:"vint64"` Text string `thrift:"text,2" json:"text"` Token int32 `thrift:"token,3" json:"token"` Items []string `thrift:"items,6" json:"items"` Version int32 `thrift:"version,7" json:"version"` }
var BizServiceBizMethod1Args_Req_DEFAULT *BizRequest
var BizServiceBizMethod2Args_Req_DEFAULT *BizRequest
var BizServiceBizMethod3Args_Req_DEFAULT *BizRequest
func NewBizRequest ¶
func NewBizRequest() *BizRequest
func (*BizRequest) BLength ¶
func (p *BizRequest) BLength() int
func (*BizRequest) DeepEqual ¶
func (p *BizRequest) DeepEqual(ano *BizRequest) bool
func (*BizRequest) FastReadField1 ¶
func (p *BizRequest) FastReadField1(buf []byte) (int, error)
func (*BizRequest) FastReadField2 ¶
func (p *BizRequest) FastReadField2(buf []byte) (int, error)
func (*BizRequest) FastReadField3 ¶
func (p *BizRequest) FastReadField3(buf []byte) (int, error)
func (*BizRequest) FastReadField6 ¶
func (p *BizRequest) FastReadField6(buf []byte) (int, error)
func (*BizRequest) FastReadField7 ¶
func (p *BizRequest) FastReadField7(buf []byte) (int, error)
func (*BizRequest) FastWriteNocopy ¶
func (p *BizRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*BizRequest) Field1DeepEqual ¶
func (p *BizRequest) Field1DeepEqual(src int64) bool
func (*BizRequest) Field2DeepEqual ¶
func (p *BizRequest) Field2DeepEqual(src string) bool
func (*BizRequest) Field3DeepEqual ¶
func (p *BizRequest) Field3DeepEqual(src int32) bool
func (*BizRequest) Field6DeepEqual ¶
func (p *BizRequest) Field6DeepEqual(src []string) bool
func (*BizRequest) Field7DeepEqual ¶
func (p *BizRequest) Field7DeepEqual(src int32) bool
func (*BizRequest) GetItems ¶
func (p *BizRequest) GetItems() []string
func (*BizRequest) GetText ¶
func (p *BizRequest) GetText() string
func (*BizRequest) GetToken ¶
func (p *BizRequest) GetToken() int32
func (*BizRequest) GetVersion ¶
func (p *BizRequest) GetVersion() int32
func (*BizRequest) GetVint64 ¶
func (p *BizRequest) GetVint64() int64
func (*BizRequest) ReadField1 ¶
func (p *BizRequest) ReadField1(iprot thrift.TProtocol) error
func (*BizRequest) ReadField2 ¶
func (p *BizRequest) ReadField2(iprot thrift.TProtocol) error
func (*BizRequest) ReadField3 ¶
func (p *BizRequest) ReadField3(iprot thrift.TProtocol) error
func (*BizRequest) ReadField6 ¶
func (p *BizRequest) ReadField6(iprot thrift.TProtocol) error
func (*BizRequest) ReadField7 ¶
func (p *BizRequest) ReadField7(iprot thrift.TProtocol) error
func (*BizRequest) SetItems ¶
func (p *BizRequest) SetItems(val []string)
func (*BizRequest) SetText ¶
func (p *BizRequest) SetText(val string)
func (*BizRequest) SetToken ¶
func (p *BizRequest) SetToken(val int32)
func (*BizRequest) SetVersion ¶
func (p *BizRequest) SetVersion(val int32)
func (*BizRequest) SetVint64 ¶
func (p *BizRequest) SetVint64(val int64)
func (*BizRequest) String ¶
func (p *BizRequest) String() string
type BizResponse ¶
type BizResponse struct { Token int32 `thrift:"token,1" json:"token"` Text string `thrift:"text,2" json:"text"` HttpCode int32 `thrift:"http_code,5" json:"http_code"` }
var BizServiceBizMethod1Result_Success_DEFAULT *BizResponse
var BizServiceBizMethod2Result_Success_DEFAULT *BizResponse
var BizServiceBizMethod3Result_Success_DEFAULT *BizResponse
func NewBizResponse ¶
func NewBizResponse() *BizResponse
func (*BizResponse) BLength ¶
func (p *BizResponse) BLength() int
func (*BizResponse) DeepEqual ¶
func (p *BizResponse) DeepEqual(ano *BizResponse) bool
func (*BizResponse) FastReadField1 ¶
func (p *BizResponse) FastReadField1(buf []byte) (int, error)
func (*BizResponse) FastReadField2 ¶
func (p *BizResponse) FastReadField2(buf []byte) (int, error)
func (*BizResponse) FastReadField5 ¶
func (p *BizResponse) FastReadField5(buf []byte) (int, error)
func (*BizResponse) FastWriteNocopy ¶
func (p *BizResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*BizResponse) Field1DeepEqual ¶
func (p *BizResponse) Field1DeepEqual(src int32) bool
func (*BizResponse) Field2DeepEqual ¶
func (p *BizResponse) Field2DeepEqual(src string) bool
func (*BizResponse) Field5DeepEqual ¶
func (p *BizResponse) Field5DeepEqual(src int32) bool
func (*BizResponse) GetHttpCode ¶
func (p *BizResponse) GetHttpCode() int32
func (*BizResponse) GetText ¶
func (p *BizResponse) GetText() string
func (*BizResponse) GetToken ¶
func (p *BizResponse) GetToken() int32
func (*BizResponse) ReadField1 ¶
func (p *BizResponse) ReadField1(iprot thrift.TProtocol) error
func (*BizResponse) ReadField2 ¶
func (p *BizResponse) ReadField2(iprot thrift.TProtocol) error
func (*BizResponse) ReadField5 ¶
func (p *BizResponse) ReadField5(iprot thrift.TProtocol) error
func (*BizResponse) SetHttpCode ¶
func (p *BizResponse) SetHttpCode(val int32)
func (*BizResponse) SetText ¶
func (p *BizResponse) SetText(val string)
func (*BizResponse) SetToken ¶
func (p *BizResponse) SetToken(val int32)
func (*BizResponse) String ¶
func (p *BizResponse) String() string
type BizService ¶
type BizService interface { BizMethod1(ctx context.Context, req *BizRequest) (r *BizResponse, err error) BizMethod2(ctx context.Context, req *BizRequest) (r *BizResponse, err error) BizMethod3(ctx context.Context, req *BizRequest) (r *BizResponse, err error) }
type BizServiceBizMethod1Args ¶
type BizServiceBizMethod1Args struct {
Req *BizRequest `thrift:"req,1" json:"req"`
}
func NewBizServiceBizMethod1Args ¶
func NewBizServiceBizMethod1Args() *BizServiceBizMethod1Args
func (*BizServiceBizMethod1Args) BLength ¶
func (p *BizServiceBizMethod1Args) BLength() int
func (*BizServiceBizMethod1Args) DeepEqual ¶
func (p *BizServiceBizMethod1Args) DeepEqual(ano *BizServiceBizMethod1Args) bool
func (*BizServiceBizMethod1Args) FastRead ¶
func (p *BizServiceBizMethod1Args) FastRead(buf []byte) (int, error)
func (*BizServiceBizMethod1Args) FastReadField1 ¶
func (p *BizServiceBizMethod1Args) FastReadField1(buf []byte) (int, error)
func (*BizServiceBizMethod1Args) FastWrite ¶
func (p *BizServiceBizMethod1Args) FastWrite(buf []byte) int
for compatibility
func (*BizServiceBizMethod1Args) FastWriteNocopy ¶
func (p *BizServiceBizMethod1Args) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*BizServiceBizMethod1Args) Field1DeepEqual ¶
func (p *BizServiceBizMethod1Args) Field1DeepEqual(src *BizRequest) bool
func (*BizServiceBizMethod1Args) GetFirstArgument ¶
func (p *BizServiceBizMethod1Args) GetFirstArgument() interface{}
func (*BizServiceBizMethod1Args) GetReq ¶
func (p *BizServiceBizMethod1Args) GetReq() *BizRequest
func (*BizServiceBizMethod1Args) IsSetReq ¶
func (p *BizServiceBizMethod1Args) IsSetReq() bool
func (*BizServiceBizMethod1Args) Read ¶
func (p *BizServiceBizMethod1Args) Read(iprot thrift.TProtocol) (err error)
func (*BizServiceBizMethod1Args) ReadField1 ¶
func (p *BizServiceBizMethod1Args) ReadField1(iprot thrift.TProtocol) error
func (*BizServiceBizMethod1Args) SetReq ¶
func (p *BizServiceBizMethod1Args) SetReq(val *BizRequest)
func (*BizServiceBizMethod1Args) String ¶
func (p *BizServiceBizMethod1Args) String() string
type BizServiceBizMethod1Result ¶
type BizServiceBizMethod1Result struct {
Success *BizResponse `thrift:"success,0" json:"success,omitempty"`
}
func NewBizServiceBizMethod1Result ¶
func NewBizServiceBizMethod1Result() *BizServiceBizMethod1Result
func (*BizServiceBizMethod1Result) BLength ¶
func (p *BizServiceBizMethod1Result) BLength() int
func (*BizServiceBizMethod1Result) DeepEqual ¶
func (p *BizServiceBizMethod1Result) DeepEqual(ano *BizServiceBizMethod1Result) bool
func (*BizServiceBizMethod1Result) FastRead ¶
func (p *BizServiceBizMethod1Result) FastRead(buf []byte) (int, error)
func (*BizServiceBizMethod1Result) FastReadField0 ¶
func (p *BizServiceBizMethod1Result) FastReadField0(buf []byte) (int, error)
func (*BizServiceBizMethod1Result) FastWrite ¶
func (p *BizServiceBizMethod1Result) FastWrite(buf []byte) int
for compatibility
func (*BizServiceBizMethod1Result) FastWriteNocopy ¶
func (p *BizServiceBizMethod1Result) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*BizServiceBizMethod1Result) Field0DeepEqual ¶
func (p *BizServiceBizMethod1Result) Field0DeepEqual(src *BizResponse) bool
func (*BizServiceBizMethod1Result) GetResult ¶
func (p *BizServiceBizMethod1Result) GetResult() interface{}
func (*BizServiceBizMethod1Result) GetSuccess ¶
func (p *BizServiceBizMethod1Result) GetSuccess() *BizResponse
func (*BizServiceBizMethod1Result) IsSetSuccess ¶
func (p *BizServiceBizMethod1Result) IsSetSuccess() bool
func (*BizServiceBizMethod1Result) Read ¶
func (p *BizServiceBizMethod1Result) Read(iprot thrift.TProtocol) (err error)
func (*BizServiceBizMethod1Result) ReadField0 ¶
func (p *BizServiceBizMethod1Result) ReadField0(iprot thrift.TProtocol) error
func (*BizServiceBizMethod1Result) SetSuccess ¶
func (p *BizServiceBizMethod1Result) SetSuccess(x interface{})
func (*BizServiceBizMethod1Result) String ¶
func (p *BizServiceBizMethod1Result) String() string
type BizServiceBizMethod2Args ¶
type BizServiceBizMethod2Args struct {
Req *BizRequest `thrift:"req,1" json:"req"`
}
func NewBizServiceBizMethod2Args ¶
func NewBizServiceBizMethod2Args() *BizServiceBizMethod2Args
func (*BizServiceBizMethod2Args) BLength ¶
func (p *BizServiceBizMethod2Args) BLength() int
func (*BizServiceBizMethod2Args) DeepEqual ¶
func (p *BizServiceBizMethod2Args) DeepEqual(ano *BizServiceBizMethod2Args) bool
func (*BizServiceBizMethod2Args) FastRead ¶
func (p *BizServiceBizMethod2Args) FastRead(buf []byte) (int, error)
func (*BizServiceBizMethod2Args) FastReadField1 ¶
func (p *BizServiceBizMethod2Args) FastReadField1(buf []byte) (int, error)
func (*BizServiceBizMethod2Args) FastWrite ¶
func (p *BizServiceBizMethod2Args) FastWrite(buf []byte) int
for compatibility
func (*BizServiceBizMethod2Args) FastWriteNocopy ¶
func (p *BizServiceBizMethod2Args) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*BizServiceBizMethod2Args) Field1DeepEqual ¶
func (p *BizServiceBizMethod2Args) Field1DeepEqual(src *BizRequest) bool
func (*BizServiceBizMethod2Args) GetFirstArgument ¶
func (p *BizServiceBizMethod2Args) GetFirstArgument() interface{}
func (*BizServiceBizMethod2Args) GetReq ¶
func (p *BizServiceBizMethod2Args) GetReq() *BizRequest
func (*BizServiceBizMethod2Args) IsSetReq ¶
func (p *BizServiceBizMethod2Args) IsSetReq() bool
func (*BizServiceBizMethod2Args) Read ¶
func (p *BizServiceBizMethod2Args) Read(iprot thrift.TProtocol) (err error)
func (*BizServiceBizMethod2Args) ReadField1 ¶
func (p *BizServiceBizMethod2Args) ReadField1(iprot thrift.TProtocol) error
func (*BizServiceBizMethod2Args) SetReq ¶
func (p *BizServiceBizMethod2Args) SetReq(val *BizRequest)
func (*BizServiceBizMethod2Args) String ¶
func (p *BizServiceBizMethod2Args) String() string
type BizServiceBizMethod2Result ¶
type BizServiceBizMethod2Result struct {
Success *BizResponse `thrift:"success,0" json:"success,omitempty"`
}
func NewBizServiceBizMethod2Result ¶
func NewBizServiceBizMethod2Result() *BizServiceBizMethod2Result
func (*BizServiceBizMethod2Result) BLength ¶
func (p *BizServiceBizMethod2Result) BLength() int
func (*BizServiceBizMethod2Result) DeepEqual ¶
func (p *BizServiceBizMethod2Result) DeepEqual(ano *BizServiceBizMethod2Result) bool
func (*BizServiceBizMethod2Result) FastRead ¶
func (p *BizServiceBizMethod2Result) FastRead(buf []byte) (int, error)
func (*BizServiceBizMethod2Result) FastReadField0 ¶
func (p *BizServiceBizMethod2Result) FastReadField0(buf []byte) (int, error)
func (*BizServiceBizMethod2Result) FastWrite ¶
func (p *BizServiceBizMethod2Result) FastWrite(buf []byte) int
for compatibility
func (*BizServiceBizMethod2Result) FastWriteNocopy ¶
func (p *BizServiceBizMethod2Result) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*BizServiceBizMethod2Result) Field0DeepEqual ¶
func (p *BizServiceBizMethod2Result) Field0DeepEqual(src *BizResponse) bool
func (*BizServiceBizMethod2Result) GetResult ¶
func (p *BizServiceBizMethod2Result) GetResult() interface{}
func (*BizServiceBizMethod2Result) GetSuccess ¶
func (p *BizServiceBizMethod2Result) GetSuccess() *BizResponse
func (*BizServiceBizMethod2Result) IsSetSuccess ¶
func (p *BizServiceBizMethod2Result) IsSetSuccess() bool
func (*BizServiceBizMethod2Result) Read ¶
func (p *BizServiceBizMethod2Result) Read(iprot thrift.TProtocol) (err error)
func (*BizServiceBizMethod2Result) ReadField0 ¶
func (p *BizServiceBizMethod2Result) ReadField0(iprot thrift.TProtocol) error
func (*BizServiceBizMethod2Result) SetSuccess ¶
func (p *BizServiceBizMethod2Result) SetSuccess(x interface{})
func (*BizServiceBizMethod2Result) String ¶
func (p *BizServiceBizMethod2Result) String() string
type BizServiceBizMethod3Args ¶
type BizServiceBizMethod3Args struct {
Req *BizRequest `thrift:"req,1" json:"req"`
}
func NewBizServiceBizMethod3Args ¶
func NewBizServiceBizMethod3Args() *BizServiceBizMethod3Args
func (*BizServiceBizMethod3Args) BLength ¶
func (p *BizServiceBizMethod3Args) BLength() int
func (*BizServiceBizMethod3Args) DeepEqual ¶
func (p *BizServiceBizMethod3Args) DeepEqual(ano *BizServiceBizMethod3Args) bool
func (*BizServiceBizMethod3Args) FastRead ¶
func (p *BizServiceBizMethod3Args) FastRead(buf []byte) (int, error)
func (*BizServiceBizMethod3Args) FastReadField1 ¶
func (p *BizServiceBizMethod3Args) FastReadField1(buf []byte) (int, error)
func (*BizServiceBizMethod3Args) FastWrite ¶
func (p *BizServiceBizMethod3Args) FastWrite(buf []byte) int
for compatibility
func (*BizServiceBizMethod3Args) FastWriteNocopy ¶
func (p *BizServiceBizMethod3Args) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*BizServiceBizMethod3Args) Field1DeepEqual ¶
func (p *BizServiceBizMethod3Args) Field1DeepEqual(src *BizRequest) bool
func (*BizServiceBizMethod3Args) GetFirstArgument ¶
func (p *BizServiceBizMethod3Args) GetFirstArgument() interface{}
func (*BizServiceBizMethod3Args) GetReq ¶
func (p *BizServiceBizMethod3Args) GetReq() *BizRequest
func (*BizServiceBizMethod3Args) IsSetReq ¶
func (p *BizServiceBizMethod3Args) IsSetReq() bool
func (*BizServiceBizMethod3Args) Read ¶
func (p *BizServiceBizMethod3Args) Read(iprot thrift.TProtocol) (err error)
func (*BizServiceBizMethod3Args) ReadField1 ¶
func (p *BizServiceBizMethod3Args) ReadField1(iprot thrift.TProtocol) error
func (*BizServiceBizMethod3Args) SetReq ¶
func (p *BizServiceBizMethod3Args) SetReq(val *BizRequest)
func (*BizServiceBizMethod3Args) String ¶
func (p *BizServiceBizMethod3Args) String() string
type BizServiceBizMethod3Result ¶
type BizServiceBizMethod3Result struct {
Success *BizResponse `thrift:"success,0" json:"success,omitempty"`
}
func NewBizServiceBizMethod3Result ¶
func NewBizServiceBizMethod3Result() *BizServiceBizMethod3Result
func (*BizServiceBizMethod3Result) BLength ¶
func (p *BizServiceBizMethod3Result) BLength() int
func (*BizServiceBizMethod3Result) DeepEqual ¶
func (p *BizServiceBizMethod3Result) DeepEqual(ano *BizServiceBizMethod3Result) bool
func (*BizServiceBizMethod3Result) FastRead ¶
func (p *BizServiceBizMethod3Result) FastRead(buf []byte) (int, error)
func (*BizServiceBizMethod3Result) FastReadField0 ¶
func (p *BizServiceBizMethod3Result) FastReadField0(buf []byte) (int, error)
func (*BizServiceBizMethod3Result) FastWrite ¶
func (p *BizServiceBizMethod3Result) FastWrite(buf []byte) int
for compatibility
func (*BizServiceBizMethod3Result) FastWriteNocopy ¶
func (p *BizServiceBizMethod3Result) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*BizServiceBizMethod3Result) Field0DeepEqual ¶
func (p *BizServiceBizMethod3Result) Field0DeepEqual(src *BizResponse) bool
func (*BizServiceBizMethod3Result) GetResult ¶
func (p *BizServiceBizMethod3Result) GetResult() interface{}
func (*BizServiceBizMethod3Result) GetSuccess ¶
func (p *BizServiceBizMethod3Result) GetSuccess() *BizResponse
func (*BizServiceBizMethod3Result) IsSetSuccess ¶
func (p *BizServiceBizMethod3Result) IsSetSuccess() bool
func (*BizServiceBizMethod3Result) Read ¶
func (p *BizServiceBizMethod3Result) Read(iprot thrift.TProtocol) (err error)
func (*BizServiceBizMethod3Result) ReadField0 ¶
func (p *BizServiceBizMethod3Result) ReadField0(iprot thrift.TProtocol) error
func (*BizServiceBizMethod3Result) SetSuccess ¶
func (p *BizServiceBizMethod3Result) SetSuccess(x interface{})
func (*BizServiceBizMethod3Result) String ¶
func (p *BizServiceBizMethod3Result) String() string
type BizServiceClient ¶
type BizServiceClient struct {
// contains filtered or unexported fields
}
func NewBizServiceClient ¶
func NewBizServiceClient(c thrift.TClient) *BizServiceClient
func NewBizServiceClientFactory ¶
func NewBizServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *BizServiceClient
func NewBizServiceClientProtocol ¶
func NewBizServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *BizServiceClient
func (*BizServiceClient) BizMethod1 ¶
func (p *BizServiceClient) BizMethod1(ctx context.Context, req *BizRequest) (r *BizResponse, err error)
func (*BizServiceClient) BizMethod2 ¶
func (p *BizServiceClient) BizMethod2(ctx context.Context, req *BizRequest) (r *BizResponse, err error)
func (*BizServiceClient) BizMethod3 ¶
func (p *BizServiceClient) BizMethod3(ctx context.Context, req *BizRequest) (r *BizResponse, err error)
func (*BizServiceClient) Client_ ¶
func (p *BizServiceClient) Client_() thrift.TClient
type BizServiceProcessor ¶
type BizServiceProcessor struct {
// contains filtered or unexported fields
}
func NewBizServiceProcessor ¶
func NewBizServiceProcessor(handler BizService) *BizServiceProcessor
func (*BizServiceProcessor) AddToProcessorMap ¶
func (p *BizServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*BizServiceProcessor) GetProcessorFunction ¶
func (p *BizServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*BizServiceProcessor) Process ¶
func (p *BizServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*BizServiceProcessor) ProcessorMap ¶
func (p *BizServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
Click to show internal directories.
Click to hide internal directories.