Documentation ¶
Index ¶
- type DivisionManagement
- type DivisionManagementClient
- func NewDivisionManagementClient(c thrift.TClient) *DivisionManagementClient
- func NewDivisionManagementClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *DivisionManagementClient
- func NewDivisionManagementClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *DivisionManagementClient
- type DivisionManagementDivideNumbersArgs
- func (p *DivisionManagementDivideNumbersArgs) GetReq() (v *DivisionRequest)
- func (p *DivisionManagementDivideNumbersArgs) IsSetReq() bool
- func (p *DivisionManagementDivideNumbersArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *DivisionManagementDivideNumbersArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *DivisionManagementDivideNumbersArgs) String() string
- func (p *DivisionManagementDivideNumbersArgs) Write(oprot thrift.TProtocol) (err error)
- type DivisionManagementDivideNumbersResult
- func (p *DivisionManagementDivideNumbersResult) GetSuccess() (v *DivisionResponse)
- func (p *DivisionManagementDivideNumbersResult) IsSetSuccess() bool
- func (p *DivisionManagementDivideNumbersResult) Read(iprot thrift.TProtocol) (err error)
- func (p *DivisionManagementDivideNumbersResult) ReadField0(iprot thrift.TProtocol) error
- func (p *DivisionManagementDivideNumbersResult) String() string
- func (p *DivisionManagementDivideNumbersResult) Write(oprot thrift.TProtocol) (err error)
- type DivisionManagementProcessor
- func (p *DivisionManagementProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *DivisionManagementProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *DivisionManagementProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *DivisionManagementProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type DivisionRequest
- func (p *DivisionRequest) GetFirstNum() (v string)
- func (p *DivisionRequest) GetSecondNum() (v string)
- func (p *DivisionRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *DivisionRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *DivisionRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *DivisionRequest) String() string
- func (p *DivisionRequest) Write(oprot thrift.TProtocol) (err error)
- type DivisionResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DivisionManagement ¶
type DivisionManagement interface {
DivideNumbers(ctx context.Context, req *DivisionRequest) (r *DivisionResponse, err error)
}
type DivisionManagementClient ¶
type DivisionManagementClient struct {
// contains filtered or unexported fields
}
func NewDivisionManagementClient ¶
func NewDivisionManagementClient(c thrift.TClient) *DivisionManagementClient
func NewDivisionManagementClientFactory ¶
func NewDivisionManagementClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *DivisionManagementClient
func NewDivisionManagementClientProtocol ¶
func NewDivisionManagementClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *DivisionManagementClient
func (*DivisionManagementClient) Client_ ¶
func (p *DivisionManagementClient) Client_() thrift.TClient
func (*DivisionManagementClient) DivideNumbers ¶
func (p *DivisionManagementClient) DivideNumbers(ctx context.Context, req *DivisionRequest) (r *DivisionResponse, err error)
type DivisionManagementDivideNumbersArgs ¶
type DivisionManagementDivideNumbersArgs struct {
Req *DivisionRequest `thrift:"req,1"`
}
func NewDivisionManagementDivideNumbersArgs ¶
func NewDivisionManagementDivideNumbersArgs() *DivisionManagementDivideNumbersArgs
func (*DivisionManagementDivideNumbersArgs) GetReq ¶
func (p *DivisionManagementDivideNumbersArgs) GetReq() (v *DivisionRequest)
func (*DivisionManagementDivideNumbersArgs) IsSetReq ¶
func (p *DivisionManagementDivideNumbersArgs) IsSetReq() bool
func (*DivisionManagementDivideNumbersArgs) Read ¶
func (p *DivisionManagementDivideNumbersArgs) Read(iprot thrift.TProtocol) (err error)
func (*DivisionManagementDivideNumbersArgs) ReadField1 ¶
func (p *DivisionManagementDivideNumbersArgs) ReadField1(iprot thrift.TProtocol) error
func (*DivisionManagementDivideNumbersArgs) String ¶
func (p *DivisionManagementDivideNumbersArgs) String() string
type DivisionManagementDivideNumbersResult ¶
type DivisionManagementDivideNumbersResult struct {
Success *DivisionResponse `thrift:"success,0,optional"`
}
func NewDivisionManagementDivideNumbersResult ¶
func NewDivisionManagementDivideNumbersResult() *DivisionManagementDivideNumbersResult
func (*DivisionManagementDivideNumbersResult) GetSuccess ¶
func (p *DivisionManagementDivideNumbersResult) GetSuccess() (v *DivisionResponse)
func (*DivisionManagementDivideNumbersResult) IsSetSuccess ¶
func (p *DivisionManagementDivideNumbersResult) IsSetSuccess() bool
func (*DivisionManagementDivideNumbersResult) Read ¶
func (p *DivisionManagementDivideNumbersResult) Read(iprot thrift.TProtocol) (err error)
func (*DivisionManagementDivideNumbersResult) ReadField0 ¶
func (p *DivisionManagementDivideNumbersResult) ReadField0(iprot thrift.TProtocol) error
func (*DivisionManagementDivideNumbersResult) String ¶
func (p *DivisionManagementDivideNumbersResult) String() string
type DivisionManagementProcessor ¶
type DivisionManagementProcessor struct {
// contains filtered or unexported fields
}
func NewDivisionManagementProcessor ¶
func NewDivisionManagementProcessor(handler DivisionManagement) *DivisionManagementProcessor
func (*DivisionManagementProcessor) AddToProcessorMap ¶
func (p *DivisionManagementProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*DivisionManagementProcessor) GetProcessorFunction ¶
func (p *DivisionManagementProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*DivisionManagementProcessor) Process ¶
func (p *DivisionManagementProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*DivisionManagementProcessor) ProcessorMap ¶
func (p *DivisionManagementProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type DivisionRequest ¶
type DivisionRequest struct { FirstNum string `thrift:"FirstNum,1,required" form:"FirstNum,required" json:"FirstNum,required" query:"FirstNum,required"` SecondNum string `thrift:"SecondNum,2,required" form:"SecondNum,required" json:"SecondNum,required" query:"SecondNum,required"` }
var DivisionManagementDivideNumbersArgs_Req_DEFAULT *DivisionRequest
func NewDivisionRequest ¶
func NewDivisionRequest() *DivisionRequest
func (*DivisionRequest) GetFirstNum ¶
func (p *DivisionRequest) GetFirstNum() (v string)
func (*DivisionRequest) GetSecondNum ¶
func (p *DivisionRequest) GetSecondNum() (v string)
func (*DivisionRequest) ReadField1 ¶
func (p *DivisionRequest) ReadField1(iprot thrift.TProtocol) error
func (*DivisionRequest) ReadField2 ¶
func (p *DivisionRequest) ReadField2(iprot thrift.TProtocol) error
func (*DivisionRequest) String ¶
func (p *DivisionRequest) String() string
type DivisionResponse ¶
type DivisionResponse struct {
Quotient string `thrift:"Quotient,1" form:"Quotient" json:"Quotient" query:"Quotient"`
}
var DivisionManagementDivideNumbersResult_Success_DEFAULT *DivisionResponse
func NewDivisionResponse ¶
func NewDivisionResponse() *DivisionResponse
func (*DivisionResponse) GetQuotient ¶
func (p *DivisionResponse) GetQuotient() (v string)
func (*DivisionResponse) ReadField1 ¶
func (p *DivisionResponse) ReadField1(iprot thrift.TProtocol) error
func (*DivisionResponse) String ¶
func (p *DivisionResponse) String() string
Click to show internal directories.
Click to hide internal directories.