Documentation ¶
Index ¶
- Variables
- type MultiplicationManagement
- type MultiplicationManagementClient
- func NewMultiplicationManagementClient(c thrift.TClient) *MultiplicationManagementClient
- func NewMultiplicationManagementClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *MultiplicationManagementClient
- func NewMultiplicationManagementClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *MultiplicationManagementClient
- type MultiplicationManagementMultiplyNumbersArgs
- func (p *MultiplicationManagementMultiplyNumbersArgs) BLength() int
- func (p *MultiplicationManagementMultiplyNumbersArgs) DeepEqual(ano *MultiplicationManagementMultiplyNumbersArgs) bool
- func (p *MultiplicationManagementMultiplyNumbersArgs) FastRead(buf []byte) (int, error)
- func (p *MultiplicationManagementMultiplyNumbersArgs) FastReadField1(buf []byte) (int, error)
- func (p *MultiplicationManagementMultiplyNumbersArgs) FastWrite(buf []byte) int
- func (p *MultiplicationManagementMultiplyNumbersArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MultiplicationManagementMultiplyNumbersArgs) Field1DeepEqual(src *MultiplicationRequest) bool
- func (p *MultiplicationManagementMultiplyNumbersArgs) GetFirstArgument() interface{}
- func (p *MultiplicationManagementMultiplyNumbersArgs) GetReq() (v *MultiplicationRequest)
- func (p *MultiplicationManagementMultiplyNumbersArgs) InitDefault()
- func (p *MultiplicationManagementMultiplyNumbersArgs) IsSetReq() bool
- func (p *MultiplicationManagementMultiplyNumbersArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *MultiplicationManagementMultiplyNumbersArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *MultiplicationManagementMultiplyNumbersArgs) SetReq(val *MultiplicationRequest)
- func (p *MultiplicationManagementMultiplyNumbersArgs) String() string
- func (p *MultiplicationManagementMultiplyNumbersArgs) Write(oprot thrift.TProtocol) (err error)
- type MultiplicationManagementMultiplyNumbersResult
- func (p *MultiplicationManagementMultiplyNumbersResult) BLength() int
- func (p *MultiplicationManagementMultiplyNumbersResult) DeepEqual(ano *MultiplicationManagementMultiplyNumbersResult) bool
- func (p *MultiplicationManagementMultiplyNumbersResult) FastRead(buf []byte) (int, error)
- func (p *MultiplicationManagementMultiplyNumbersResult) FastReadField0(buf []byte) (int, error)
- func (p *MultiplicationManagementMultiplyNumbersResult) FastWrite(buf []byte) int
- func (p *MultiplicationManagementMultiplyNumbersResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MultiplicationManagementMultiplyNumbersResult) Field0DeepEqual(src *MultiplicationResponse) bool
- func (p *MultiplicationManagementMultiplyNumbersResult) GetResult() interface{}
- func (p *MultiplicationManagementMultiplyNumbersResult) GetSuccess() (v *MultiplicationResponse)
- func (p *MultiplicationManagementMultiplyNumbersResult) InitDefault()
- func (p *MultiplicationManagementMultiplyNumbersResult) IsSetSuccess() bool
- func (p *MultiplicationManagementMultiplyNumbersResult) Read(iprot thrift.TProtocol) (err error)
- func (p *MultiplicationManagementMultiplyNumbersResult) ReadField0(iprot thrift.TProtocol) error
- func (p *MultiplicationManagementMultiplyNumbersResult) SetSuccess(x interface{})
- func (p *MultiplicationManagementMultiplyNumbersResult) String() string
- func (p *MultiplicationManagementMultiplyNumbersResult) Write(oprot thrift.TProtocol) (err error)
- type MultiplicationManagementProcessor
- func (p *MultiplicationManagementProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *MultiplicationManagementProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *MultiplicationManagementProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *MultiplicationManagementProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type MultiplicationRequest
- func (p *MultiplicationRequest) BLength() int
- func (p *MultiplicationRequest) DeepEqual(ano *MultiplicationRequest) bool
- func (p *MultiplicationRequest) FastRead(buf []byte) (int, error)
- func (p *MultiplicationRequest) FastReadField1(buf []byte) (int, error)
- func (p *MultiplicationRequest) FastReadField2(buf []byte) (int, error)
- func (p *MultiplicationRequest) FastWrite(buf []byte) int
- func (p *MultiplicationRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MultiplicationRequest) Field1DeepEqual(src string) bool
- func (p *MultiplicationRequest) Field2DeepEqual(src string) bool
- func (p *MultiplicationRequest) GetFirstNum() (v string)
- func (p *MultiplicationRequest) GetSecondNum() (v string)
- func (p *MultiplicationRequest) InitDefault()
- func (p *MultiplicationRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *MultiplicationRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *MultiplicationRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *MultiplicationRequest) SetFirstNum(val string)
- func (p *MultiplicationRequest) SetSecondNum(val string)
- func (p *MultiplicationRequest) String() string
- func (p *MultiplicationRequest) Write(oprot thrift.TProtocol) (err error)
- type MultiplicationResponse
- func (p *MultiplicationResponse) BLength() int
- func (p *MultiplicationResponse) DeepEqual(ano *MultiplicationResponse) bool
- func (p *MultiplicationResponse) FastRead(buf []byte) (int, error)
- func (p *MultiplicationResponse) FastReadField1(buf []byte) (int, error)
- func (p *MultiplicationResponse) FastWrite(buf []byte) int
- func (p *MultiplicationResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MultiplicationResponse) Field1DeepEqual(src string) bool
- func (p *MultiplicationResponse) GetProduct() (v string)
- func (p *MultiplicationResponse) InitDefault()
- func (p *MultiplicationResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *MultiplicationResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *MultiplicationResponse) SetProduct(val string)
- func (p *MultiplicationResponse) String() string
- func (p *MultiplicationResponse) Write(oprot thrift.TProtocol) (err error)
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 MultiplicationManagement ¶
type MultiplicationManagement interface {
MultiplyNumbers(ctx context.Context, req *MultiplicationRequest) (r *MultiplicationResponse, err error)
}
type MultiplicationManagementClient ¶
type MultiplicationManagementClient struct {
// contains filtered or unexported fields
}
func NewMultiplicationManagementClient ¶
func NewMultiplicationManagementClient(c thrift.TClient) *MultiplicationManagementClient
func NewMultiplicationManagementClientFactory ¶
func NewMultiplicationManagementClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *MultiplicationManagementClient
func NewMultiplicationManagementClientProtocol ¶
func NewMultiplicationManagementClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *MultiplicationManagementClient
func (*MultiplicationManagementClient) Client_ ¶
func (p *MultiplicationManagementClient) Client_() thrift.TClient
func (*MultiplicationManagementClient) MultiplyNumbers ¶
func (p *MultiplicationManagementClient) MultiplyNumbers(ctx context.Context, req *MultiplicationRequest) (r *MultiplicationResponse, err error)
type MultiplicationManagementMultiplyNumbersArgs ¶
type MultiplicationManagementMultiplyNumbersArgs struct {
Req *MultiplicationRequest `thrift:"req,1" frugal:"1,default,MultiplicationRequest" json:"req"`
}
func NewMultiplicationManagementMultiplyNumbersArgs ¶
func NewMultiplicationManagementMultiplyNumbersArgs() *MultiplicationManagementMultiplyNumbersArgs
func (*MultiplicationManagementMultiplyNumbersArgs) BLength ¶
func (p *MultiplicationManagementMultiplyNumbersArgs) BLength() int
func (*MultiplicationManagementMultiplyNumbersArgs) DeepEqual ¶
func (p *MultiplicationManagementMultiplyNumbersArgs) DeepEqual(ano *MultiplicationManagementMultiplyNumbersArgs) bool
func (*MultiplicationManagementMultiplyNumbersArgs) FastRead ¶
func (p *MultiplicationManagementMultiplyNumbersArgs) FastRead(buf []byte) (int, error)
func (*MultiplicationManagementMultiplyNumbersArgs) FastReadField1 ¶
func (p *MultiplicationManagementMultiplyNumbersArgs) FastReadField1(buf []byte) (int, error)
func (*MultiplicationManagementMultiplyNumbersArgs) FastWrite ¶
func (p *MultiplicationManagementMultiplyNumbersArgs) FastWrite(buf []byte) int
for compatibility
func (*MultiplicationManagementMultiplyNumbersArgs) FastWriteNocopy ¶
func (p *MultiplicationManagementMultiplyNumbersArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MultiplicationManagementMultiplyNumbersArgs) Field1DeepEqual ¶
func (p *MultiplicationManagementMultiplyNumbersArgs) Field1DeepEqual(src *MultiplicationRequest) bool
func (*MultiplicationManagementMultiplyNumbersArgs) GetFirstArgument ¶
func (p *MultiplicationManagementMultiplyNumbersArgs) GetFirstArgument() interface{}
func (*MultiplicationManagementMultiplyNumbersArgs) GetReq ¶
func (p *MultiplicationManagementMultiplyNumbersArgs) GetReq() (v *MultiplicationRequest)
func (*MultiplicationManagementMultiplyNumbersArgs) InitDefault ¶
func (p *MultiplicationManagementMultiplyNumbersArgs) InitDefault()
func (*MultiplicationManagementMultiplyNumbersArgs) IsSetReq ¶
func (p *MultiplicationManagementMultiplyNumbersArgs) IsSetReq() bool
func (*MultiplicationManagementMultiplyNumbersArgs) Read ¶
func (p *MultiplicationManagementMultiplyNumbersArgs) Read(iprot thrift.TProtocol) (err error)
func (*MultiplicationManagementMultiplyNumbersArgs) ReadField1 ¶
func (p *MultiplicationManagementMultiplyNumbersArgs) ReadField1(iprot thrift.TProtocol) error
func (*MultiplicationManagementMultiplyNumbersArgs) SetReq ¶
func (p *MultiplicationManagementMultiplyNumbersArgs) SetReq(val *MultiplicationRequest)
func (*MultiplicationManagementMultiplyNumbersArgs) String ¶
func (p *MultiplicationManagementMultiplyNumbersArgs) String() string
type MultiplicationManagementMultiplyNumbersResult ¶
type MultiplicationManagementMultiplyNumbersResult struct {
Success *MultiplicationResponse `thrift:"success,0,optional" frugal:"0,optional,MultiplicationResponse" json:"success,omitempty"`
}
func NewMultiplicationManagementMultiplyNumbersResult ¶
func NewMultiplicationManagementMultiplyNumbersResult() *MultiplicationManagementMultiplyNumbersResult
func (*MultiplicationManagementMultiplyNumbersResult) BLength ¶
func (p *MultiplicationManagementMultiplyNumbersResult) BLength() int
func (*MultiplicationManagementMultiplyNumbersResult) DeepEqual ¶
func (p *MultiplicationManagementMultiplyNumbersResult) DeepEqual(ano *MultiplicationManagementMultiplyNumbersResult) bool
func (*MultiplicationManagementMultiplyNumbersResult) FastRead ¶
func (p *MultiplicationManagementMultiplyNumbersResult) FastRead(buf []byte) (int, error)
func (*MultiplicationManagementMultiplyNumbersResult) FastReadField0 ¶
func (p *MultiplicationManagementMultiplyNumbersResult) FastReadField0(buf []byte) (int, error)
func (*MultiplicationManagementMultiplyNumbersResult) FastWrite ¶
func (p *MultiplicationManagementMultiplyNumbersResult) FastWrite(buf []byte) int
for compatibility
func (*MultiplicationManagementMultiplyNumbersResult) FastWriteNocopy ¶
func (p *MultiplicationManagementMultiplyNumbersResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MultiplicationManagementMultiplyNumbersResult) Field0DeepEqual ¶
func (p *MultiplicationManagementMultiplyNumbersResult) Field0DeepEqual(src *MultiplicationResponse) bool
func (*MultiplicationManagementMultiplyNumbersResult) GetResult ¶
func (p *MultiplicationManagementMultiplyNumbersResult) GetResult() interface{}
func (*MultiplicationManagementMultiplyNumbersResult) GetSuccess ¶
func (p *MultiplicationManagementMultiplyNumbersResult) GetSuccess() (v *MultiplicationResponse)
func (*MultiplicationManagementMultiplyNumbersResult) InitDefault ¶
func (p *MultiplicationManagementMultiplyNumbersResult) InitDefault()
func (*MultiplicationManagementMultiplyNumbersResult) IsSetSuccess ¶
func (p *MultiplicationManagementMultiplyNumbersResult) IsSetSuccess() bool
func (*MultiplicationManagementMultiplyNumbersResult) Read ¶
func (p *MultiplicationManagementMultiplyNumbersResult) Read(iprot thrift.TProtocol) (err error)
func (*MultiplicationManagementMultiplyNumbersResult) ReadField0 ¶
func (p *MultiplicationManagementMultiplyNumbersResult) ReadField0(iprot thrift.TProtocol) error
func (*MultiplicationManagementMultiplyNumbersResult) SetSuccess ¶
func (p *MultiplicationManagementMultiplyNumbersResult) SetSuccess(x interface{})
func (*MultiplicationManagementMultiplyNumbersResult) String ¶
func (p *MultiplicationManagementMultiplyNumbersResult) String() string
type MultiplicationManagementProcessor ¶
type MultiplicationManagementProcessor struct {
// contains filtered or unexported fields
}
func NewMultiplicationManagementProcessor ¶
func NewMultiplicationManagementProcessor(handler MultiplicationManagement) *MultiplicationManagementProcessor
func (*MultiplicationManagementProcessor) AddToProcessorMap ¶
func (p *MultiplicationManagementProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*MultiplicationManagementProcessor) GetProcessorFunction ¶
func (p *MultiplicationManagementProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*MultiplicationManagementProcessor) Process ¶
func (p *MultiplicationManagementProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*MultiplicationManagementProcessor) ProcessorMap ¶
func (p *MultiplicationManagementProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type MultiplicationRequest ¶
type MultiplicationRequest struct { FirstNum string `thrift:"FirstNum,1,required" frugal:"1,required,string" json:"FirstNum"` SecondNum string `thrift:"SecondNum,2,required" frugal:"2,required,string" json:"SecondNum"` }
var MultiplicationManagementMultiplyNumbersArgs_Req_DEFAULT *MultiplicationRequest
func NewMultiplicationRequest ¶
func NewMultiplicationRequest() *MultiplicationRequest
func (*MultiplicationRequest) BLength ¶
func (p *MultiplicationRequest) BLength() int
func (*MultiplicationRequest) DeepEqual ¶
func (p *MultiplicationRequest) DeepEqual(ano *MultiplicationRequest) bool
func (*MultiplicationRequest) FastRead ¶
func (p *MultiplicationRequest) FastRead(buf []byte) (int, error)
func (*MultiplicationRequest) FastReadField1 ¶
func (p *MultiplicationRequest) FastReadField1(buf []byte) (int, error)
func (*MultiplicationRequest) FastReadField2 ¶
func (p *MultiplicationRequest) FastReadField2(buf []byte) (int, error)
func (*MultiplicationRequest) FastWrite ¶
func (p *MultiplicationRequest) FastWrite(buf []byte) int
for compatibility
func (*MultiplicationRequest) FastWriteNocopy ¶
func (p *MultiplicationRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MultiplicationRequest) Field1DeepEqual ¶
func (p *MultiplicationRequest) Field1DeepEqual(src string) bool
func (*MultiplicationRequest) Field2DeepEqual ¶
func (p *MultiplicationRequest) Field2DeepEqual(src string) bool
func (*MultiplicationRequest) GetFirstNum ¶
func (p *MultiplicationRequest) GetFirstNum() (v string)
func (*MultiplicationRequest) GetSecondNum ¶
func (p *MultiplicationRequest) GetSecondNum() (v string)
func (*MultiplicationRequest) InitDefault ¶
func (p *MultiplicationRequest) InitDefault()
func (*MultiplicationRequest) Read ¶
func (p *MultiplicationRequest) Read(iprot thrift.TProtocol) (err error)
func (*MultiplicationRequest) ReadField1 ¶
func (p *MultiplicationRequest) ReadField1(iprot thrift.TProtocol) error
func (*MultiplicationRequest) ReadField2 ¶
func (p *MultiplicationRequest) ReadField2(iprot thrift.TProtocol) error
func (*MultiplicationRequest) SetFirstNum ¶
func (p *MultiplicationRequest) SetFirstNum(val string)
func (*MultiplicationRequest) SetSecondNum ¶
func (p *MultiplicationRequest) SetSecondNum(val string)
func (*MultiplicationRequest) String ¶
func (p *MultiplicationRequest) String() string
type MultiplicationResponse ¶
type MultiplicationResponse struct {
Product string `thrift:"Product,1" frugal:"1,default,string" json:"Product"`
}
var MultiplicationManagementMultiplyNumbersResult_Success_DEFAULT *MultiplicationResponse
func NewMultiplicationResponse ¶
func NewMultiplicationResponse() *MultiplicationResponse
func (*MultiplicationResponse) BLength ¶
func (p *MultiplicationResponse) BLength() int
func (*MultiplicationResponse) DeepEqual ¶
func (p *MultiplicationResponse) DeepEqual(ano *MultiplicationResponse) bool
func (*MultiplicationResponse) FastRead ¶
func (p *MultiplicationResponse) FastRead(buf []byte) (int, error)
func (*MultiplicationResponse) FastReadField1 ¶
func (p *MultiplicationResponse) FastReadField1(buf []byte) (int, error)
func (*MultiplicationResponse) FastWrite ¶
func (p *MultiplicationResponse) FastWrite(buf []byte) int
for compatibility
func (*MultiplicationResponse) FastWriteNocopy ¶
func (p *MultiplicationResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*MultiplicationResponse) Field1DeepEqual ¶
func (p *MultiplicationResponse) Field1DeepEqual(src string) bool
func (*MultiplicationResponse) GetProduct ¶
func (p *MultiplicationResponse) GetProduct() (v string)
func (*MultiplicationResponse) InitDefault ¶
func (p *MultiplicationResponse) InitDefault()
func (*MultiplicationResponse) Read ¶
func (p *MultiplicationResponse) Read(iprot thrift.TProtocol) (err error)
func (*MultiplicationResponse) ReadField1 ¶
func (p *MultiplicationResponse) ReadField1(iprot thrift.TProtocol) error
func (*MultiplicationResponse) SetProduct ¶
func (p *MultiplicationResponse) SetProduct(val string)
func (*MultiplicationResponse) String ¶
func (p *MultiplicationResponse) String() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.