Documentation ¶
Index ¶
- Variables
- 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) BLength() int
- func (p *DivisionManagementDivideNumbersArgs) DeepEqual(ano *DivisionManagementDivideNumbersArgs) bool
- func (p *DivisionManagementDivideNumbersArgs) FastRead(buf []byte) (int, error)
- func (p *DivisionManagementDivideNumbersArgs) FastReadField1(buf []byte) (int, error)
- func (p *DivisionManagementDivideNumbersArgs) FastWrite(buf []byte) int
- func (p *DivisionManagementDivideNumbersArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DivisionManagementDivideNumbersArgs) Field1DeepEqual(src *DivisionRequest) bool
- func (p *DivisionManagementDivideNumbersArgs) GetFirstArgument() interface{}
- func (p *DivisionManagementDivideNumbersArgs) GetReq() (v *DivisionRequest)
- func (p *DivisionManagementDivideNumbersArgs) InitDefault()
- 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) SetReq(val *DivisionRequest)
- func (p *DivisionManagementDivideNumbersArgs) String() string
- func (p *DivisionManagementDivideNumbersArgs) Write(oprot thrift.TProtocol) (err error)
- type DivisionManagementDivideNumbersResult
- func (p *DivisionManagementDivideNumbersResult) BLength() int
- func (p *DivisionManagementDivideNumbersResult) DeepEqual(ano *DivisionManagementDivideNumbersResult) bool
- func (p *DivisionManagementDivideNumbersResult) FastRead(buf []byte) (int, error)
- func (p *DivisionManagementDivideNumbersResult) FastReadField0(buf []byte) (int, error)
- func (p *DivisionManagementDivideNumbersResult) FastWrite(buf []byte) int
- func (p *DivisionManagementDivideNumbersResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DivisionManagementDivideNumbersResult) Field0DeepEqual(src *DivisionResponse) bool
- func (p *DivisionManagementDivideNumbersResult) GetResult() interface{}
- func (p *DivisionManagementDivideNumbersResult) GetSuccess() (v *DivisionResponse)
- func (p *DivisionManagementDivideNumbersResult) InitDefault()
- 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) SetSuccess(x interface{})
- 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) BLength() int
- func (p *DivisionRequest) DeepEqual(ano *DivisionRequest) bool
- func (p *DivisionRequest) FastRead(buf []byte) (int, error)
- func (p *DivisionRequest) FastReadField1(buf []byte) (int, error)
- func (p *DivisionRequest) FastReadField2(buf []byte) (int, error)
- func (p *DivisionRequest) FastWrite(buf []byte) int
- func (p *DivisionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DivisionRequest) Field1DeepEqual(src string) bool
- func (p *DivisionRequest) Field2DeepEqual(src string) bool
- func (p *DivisionRequest) GetFirstNum() (v string)
- func (p *DivisionRequest) GetSecondNum() (v string)
- func (p *DivisionRequest) InitDefault()
- 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) SetFirstNum(val string)
- func (p *DivisionRequest) SetSecondNum(val string)
- func (p *DivisionRequest) String() string
- func (p *DivisionRequest) Write(oprot thrift.TProtocol) (err error)
- type DivisionResponse
- func (p *DivisionResponse) BLength() int
- func (p *DivisionResponse) DeepEqual(ano *DivisionResponse) bool
- func (p *DivisionResponse) FastRead(buf []byte) (int, error)
- func (p *DivisionResponse) FastReadField1(buf []byte) (int, error)
- func (p *DivisionResponse) FastWrite(buf []byte) int
- func (p *DivisionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DivisionResponse) Field1DeepEqual(src string) bool
- func (p *DivisionResponse) GetQuotient() (v string)
- func (p *DivisionResponse) InitDefault()
- func (p *DivisionResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *DivisionResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *DivisionResponse) SetQuotient(val string)
- func (p *DivisionResponse) String() string
- func (p *DivisionResponse) 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 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" frugal:"1,default,DivisionRequest" json:"req"`
}
func NewDivisionManagementDivideNumbersArgs ¶
func NewDivisionManagementDivideNumbersArgs() *DivisionManagementDivideNumbersArgs
func (*DivisionManagementDivideNumbersArgs) BLength ¶
func (p *DivisionManagementDivideNumbersArgs) BLength() int
func (*DivisionManagementDivideNumbersArgs) DeepEqual ¶
func (p *DivisionManagementDivideNumbersArgs) DeepEqual(ano *DivisionManagementDivideNumbersArgs) bool
func (*DivisionManagementDivideNumbersArgs) FastRead ¶
func (p *DivisionManagementDivideNumbersArgs) FastRead(buf []byte) (int, error)
func (*DivisionManagementDivideNumbersArgs) FastReadField1 ¶
func (p *DivisionManagementDivideNumbersArgs) FastReadField1(buf []byte) (int, error)
func (*DivisionManagementDivideNumbersArgs) FastWrite ¶
func (p *DivisionManagementDivideNumbersArgs) FastWrite(buf []byte) int
for compatibility
func (*DivisionManagementDivideNumbersArgs) FastWriteNocopy ¶
func (p *DivisionManagementDivideNumbersArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*DivisionManagementDivideNumbersArgs) Field1DeepEqual ¶
func (p *DivisionManagementDivideNumbersArgs) Field1DeepEqual(src *DivisionRequest) bool
func (*DivisionManagementDivideNumbersArgs) GetFirstArgument ¶
func (p *DivisionManagementDivideNumbersArgs) GetFirstArgument() interface{}
func (*DivisionManagementDivideNumbersArgs) GetReq ¶
func (p *DivisionManagementDivideNumbersArgs) GetReq() (v *DivisionRequest)
func (*DivisionManagementDivideNumbersArgs) InitDefault ¶
func (p *DivisionManagementDivideNumbersArgs) InitDefault()
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) SetReq ¶
func (p *DivisionManagementDivideNumbersArgs) SetReq(val *DivisionRequest)
func (*DivisionManagementDivideNumbersArgs) String ¶
func (p *DivisionManagementDivideNumbersArgs) String() string
type DivisionManagementDivideNumbersResult ¶
type DivisionManagementDivideNumbersResult struct {
Success *DivisionResponse `thrift:"success,0,optional" frugal:"0,optional,DivisionResponse" json:"success,omitempty"`
}
func NewDivisionManagementDivideNumbersResult ¶
func NewDivisionManagementDivideNumbersResult() *DivisionManagementDivideNumbersResult
func (*DivisionManagementDivideNumbersResult) BLength ¶
func (p *DivisionManagementDivideNumbersResult) BLength() int
func (*DivisionManagementDivideNumbersResult) DeepEqual ¶
func (p *DivisionManagementDivideNumbersResult) DeepEqual(ano *DivisionManagementDivideNumbersResult) bool
func (*DivisionManagementDivideNumbersResult) FastRead ¶
func (p *DivisionManagementDivideNumbersResult) FastRead(buf []byte) (int, error)
func (*DivisionManagementDivideNumbersResult) FastReadField0 ¶
func (p *DivisionManagementDivideNumbersResult) FastReadField0(buf []byte) (int, error)
func (*DivisionManagementDivideNumbersResult) FastWrite ¶
func (p *DivisionManagementDivideNumbersResult) FastWrite(buf []byte) int
for compatibility
func (*DivisionManagementDivideNumbersResult) FastWriteNocopy ¶
func (p *DivisionManagementDivideNumbersResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*DivisionManagementDivideNumbersResult) Field0DeepEqual ¶
func (p *DivisionManagementDivideNumbersResult) Field0DeepEqual(src *DivisionResponse) bool
func (*DivisionManagementDivideNumbersResult) GetResult ¶
func (p *DivisionManagementDivideNumbersResult) GetResult() interface{}
func (*DivisionManagementDivideNumbersResult) GetSuccess ¶
func (p *DivisionManagementDivideNumbersResult) GetSuccess() (v *DivisionResponse)
func (*DivisionManagementDivideNumbersResult) InitDefault ¶
func (p *DivisionManagementDivideNumbersResult) InitDefault()
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) SetSuccess ¶
func (p *DivisionManagementDivideNumbersResult) SetSuccess(x interface{})
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" frugal:"1,required,string" json:"FirstNum"` SecondNum string `thrift:"SecondNum,2,required" frugal:"2,required,string" json:"SecondNum"` }
var DivisionManagementDivideNumbersArgs_Req_DEFAULT *DivisionRequest
func NewDivisionRequest ¶
func NewDivisionRequest() *DivisionRequest
func (*DivisionRequest) BLength ¶
func (p *DivisionRequest) BLength() int
func (*DivisionRequest) DeepEqual ¶
func (p *DivisionRequest) DeepEqual(ano *DivisionRequest) bool
func (*DivisionRequest) FastReadField1 ¶
func (p *DivisionRequest) FastReadField1(buf []byte) (int, error)
func (*DivisionRequest) FastReadField2 ¶
func (p *DivisionRequest) FastReadField2(buf []byte) (int, error)
func (*DivisionRequest) FastWrite ¶
func (p *DivisionRequest) FastWrite(buf []byte) int
for compatibility
func (*DivisionRequest) FastWriteNocopy ¶
func (p *DivisionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*DivisionRequest) Field1DeepEqual ¶
func (p *DivisionRequest) Field1DeepEqual(src string) bool
func (*DivisionRequest) Field2DeepEqual ¶
func (p *DivisionRequest) Field2DeepEqual(src string) bool
func (*DivisionRequest) GetFirstNum ¶
func (p *DivisionRequest) GetFirstNum() (v string)
func (*DivisionRequest) GetSecondNum ¶
func (p *DivisionRequest) GetSecondNum() (v string)
func (*DivisionRequest) InitDefault ¶
func (p *DivisionRequest) InitDefault()
func (*DivisionRequest) ReadField1 ¶
func (p *DivisionRequest) ReadField1(iprot thrift.TProtocol) error
func (*DivisionRequest) ReadField2 ¶
func (p *DivisionRequest) ReadField2(iprot thrift.TProtocol) error
func (*DivisionRequest) SetFirstNum ¶
func (p *DivisionRequest) SetFirstNum(val string)
func (*DivisionRequest) SetSecondNum ¶
func (p *DivisionRequest) SetSecondNum(val string)
func (*DivisionRequest) String ¶
func (p *DivisionRequest) String() string
type DivisionResponse ¶
type DivisionResponse struct {
Quotient string `thrift:"Quotient,1" frugal:"1,default,string" json:"Quotient"`
}
var DivisionManagementDivideNumbersResult_Success_DEFAULT *DivisionResponse
func NewDivisionResponse ¶
func NewDivisionResponse() *DivisionResponse
func (*DivisionResponse) BLength ¶
func (p *DivisionResponse) BLength() int
func (*DivisionResponse) DeepEqual ¶
func (p *DivisionResponse) DeepEqual(ano *DivisionResponse) bool
func (*DivisionResponse) FastReadField1 ¶
func (p *DivisionResponse) FastReadField1(buf []byte) (int, error)
func (*DivisionResponse) FastWrite ¶
func (p *DivisionResponse) FastWrite(buf []byte) int
for compatibility
func (*DivisionResponse) FastWriteNocopy ¶
func (p *DivisionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*DivisionResponse) Field1DeepEqual ¶
func (p *DivisionResponse) Field1DeepEqual(src string) bool
func (*DivisionResponse) GetQuotient ¶
func (p *DivisionResponse) GetQuotient() (v string)
func (*DivisionResponse) InitDefault ¶
func (p *DivisionResponse) InitDefault()
func (*DivisionResponse) ReadField1 ¶
func (p *DivisionResponse) ReadField1(iprot thrift.TProtocol) error
func (*DivisionResponse) SetQuotient ¶
func (p *DivisionResponse) SetQuotient(val string)
func (*DivisionResponse) String ¶
func (p *DivisionResponse) String() string
Click to show internal directories.
Click to hide internal directories.