Documentation ¶
Index ¶
- Variables
- type AdditionManagement
- type AdditionManagementAddNumbersArgs
- func (p *AdditionManagementAddNumbersArgs) BLength() int
- func (p *AdditionManagementAddNumbersArgs) DeepEqual(ano *AdditionManagementAddNumbersArgs) bool
- func (p *AdditionManagementAddNumbersArgs) FastRead(buf []byte) (int, error)
- func (p *AdditionManagementAddNumbersArgs) FastReadField1(buf []byte) (int, error)
- func (p *AdditionManagementAddNumbersArgs) FastWrite(buf []byte) int
- func (p *AdditionManagementAddNumbersArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *AdditionManagementAddNumbersArgs) Field1DeepEqual(src *AdditionRequest) bool
- func (p *AdditionManagementAddNumbersArgs) GetFirstArgument() interface{}
- func (p *AdditionManagementAddNumbersArgs) GetReq() (v *AdditionRequest)
- func (p *AdditionManagementAddNumbersArgs) InitDefault()
- func (p *AdditionManagementAddNumbersArgs) IsSetReq() bool
- func (p *AdditionManagementAddNumbersArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *AdditionManagementAddNumbersArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *AdditionManagementAddNumbersArgs) SetReq(val *AdditionRequest)
- func (p *AdditionManagementAddNumbersArgs) String() string
- func (p *AdditionManagementAddNumbersArgs) Write(oprot thrift.TProtocol) (err error)
- type AdditionManagementAddNumbersResult
- func (p *AdditionManagementAddNumbersResult) BLength() int
- func (p *AdditionManagementAddNumbersResult) DeepEqual(ano *AdditionManagementAddNumbersResult) bool
- func (p *AdditionManagementAddNumbersResult) FastRead(buf []byte) (int, error)
- func (p *AdditionManagementAddNumbersResult) FastReadField0(buf []byte) (int, error)
- func (p *AdditionManagementAddNumbersResult) FastWrite(buf []byte) int
- func (p *AdditionManagementAddNumbersResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *AdditionManagementAddNumbersResult) Field0DeepEqual(src *AdditionResponse) bool
- func (p *AdditionManagementAddNumbersResult) GetResult() interface{}
- func (p *AdditionManagementAddNumbersResult) GetSuccess() (v *AdditionResponse)
- func (p *AdditionManagementAddNumbersResult) InitDefault()
- func (p *AdditionManagementAddNumbersResult) IsSetSuccess() bool
- func (p *AdditionManagementAddNumbersResult) Read(iprot thrift.TProtocol) (err error)
- func (p *AdditionManagementAddNumbersResult) ReadField0(iprot thrift.TProtocol) error
- func (p *AdditionManagementAddNumbersResult) SetSuccess(x interface{})
- func (p *AdditionManagementAddNumbersResult) String() string
- func (p *AdditionManagementAddNumbersResult) Write(oprot thrift.TProtocol) (err error)
- type AdditionManagementClient
- func NewAdditionManagementClient(c thrift.TClient) *AdditionManagementClient
- func NewAdditionManagementClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *AdditionManagementClient
- func NewAdditionManagementClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *AdditionManagementClient
- type AdditionManagementProcessor
- func (p *AdditionManagementProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *AdditionManagementProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *AdditionManagementProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *AdditionManagementProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type AdditionRequest
- func (p *AdditionRequest) BLength() int
- func (p *AdditionRequest) DeepEqual(ano *AdditionRequest) bool
- func (p *AdditionRequest) FastRead(buf []byte) (int, error)
- func (p *AdditionRequest) FastReadField1(buf []byte) (int, error)
- func (p *AdditionRequest) FastReadField2(buf []byte) (int, error)
- func (p *AdditionRequest) FastWrite(buf []byte) int
- func (p *AdditionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *AdditionRequest) Field1DeepEqual(src string) bool
- func (p *AdditionRequest) Field2DeepEqual(src string) bool
- func (p *AdditionRequest) GetFirstNum() (v string)
- func (p *AdditionRequest) GetSecondNum() (v string)
- func (p *AdditionRequest) InitDefault()
- func (p *AdditionRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *AdditionRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *AdditionRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *AdditionRequest) SetFirstNum(val string)
- func (p *AdditionRequest) SetSecondNum(val string)
- func (p *AdditionRequest) String() string
- func (p *AdditionRequest) Write(oprot thrift.TProtocol) (err error)
- type AdditionResponse
- func (p *AdditionResponse) BLength() int
- func (p *AdditionResponse) DeepEqual(ano *AdditionResponse) bool
- func (p *AdditionResponse) FastRead(buf []byte) (int, error)
- func (p *AdditionResponse) FastReadField1(buf []byte) (int, error)
- func (p *AdditionResponse) FastWrite(buf []byte) int
- func (p *AdditionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *AdditionResponse) Field1DeepEqual(src string) bool
- func (p *AdditionResponse) GetSum() (v string)
- func (p *AdditionResponse) InitDefault()
- func (p *AdditionResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *AdditionResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *AdditionResponse) SetSum(val string)
- func (p *AdditionResponse) String() string
- func (p *AdditionResponse) 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 AdditionManagement ¶
type AdditionManagement interface {
AddNumbers(ctx context.Context, req *AdditionRequest) (r *AdditionResponse, err error)
}
type AdditionManagementAddNumbersArgs ¶
type AdditionManagementAddNumbersArgs struct {
Req *AdditionRequest `thrift:"req,1" frugal:"1,default,AdditionRequest" json:"req"`
}
func NewAdditionManagementAddNumbersArgs ¶
func NewAdditionManagementAddNumbersArgs() *AdditionManagementAddNumbersArgs
func (*AdditionManagementAddNumbersArgs) BLength ¶
func (p *AdditionManagementAddNumbersArgs) BLength() int
func (*AdditionManagementAddNumbersArgs) DeepEqual ¶
func (p *AdditionManagementAddNumbersArgs) DeepEqual(ano *AdditionManagementAddNumbersArgs) bool
func (*AdditionManagementAddNumbersArgs) FastRead ¶
func (p *AdditionManagementAddNumbersArgs) FastRead(buf []byte) (int, error)
func (*AdditionManagementAddNumbersArgs) FastReadField1 ¶
func (p *AdditionManagementAddNumbersArgs) FastReadField1(buf []byte) (int, error)
func (*AdditionManagementAddNumbersArgs) FastWrite ¶
func (p *AdditionManagementAddNumbersArgs) FastWrite(buf []byte) int
for compatibility
func (*AdditionManagementAddNumbersArgs) FastWriteNocopy ¶
func (p *AdditionManagementAddNumbersArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*AdditionManagementAddNumbersArgs) Field1DeepEqual ¶
func (p *AdditionManagementAddNumbersArgs) Field1DeepEqual(src *AdditionRequest) bool
func (*AdditionManagementAddNumbersArgs) GetFirstArgument ¶
func (p *AdditionManagementAddNumbersArgs) GetFirstArgument() interface{}
func (*AdditionManagementAddNumbersArgs) GetReq ¶
func (p *AdditionManagementAddNumbersArgs) GetReq() (v *AdditionRequest)
func (*AdditionManagementAddNumbersArgs) InitDefault ¶
func (p *AdditionManagementAddNumbersArgs) InitDefault()
func (*AdditionManagementAddNumbersArgs) IsSetReq ¶
func (p *AdditionManagementAddNumbersArgs) IsSetReq() bool
func (*AdditionManagementAddNumbersArgs) Read ¶
func (p *AdditionManagementAddNumbersArgs) Read(iprot thrift.TProtocol) (err error)
func (*AdditionManagementAddNumbersArgs) ReadField1 ¶
func (p *AdditionManagementAddNumbersArgs) ReadField1(iprot thrift.TProtocol) error
func (*AdditionManagementAddNumbersArgs) SetReq ¶
func (p *AdditionManagementAddNumbersArgs) SetReq(val *AdditionRequest)
func (*AdditionManagementAddNumbersArgs) String ¶
func (p *AdditionManagementAddNumbersArgs) String() string
type AdditionManagementAddNumbersResult ¶
type AdditionManagementAddNumbersResult struct {
Success *AdditionResponse `thrift:"success,0,optional" frugal:"0,optional,AdditionResponse" json:"success,omitempty"`
}
func NewAdditionManagementAddNumbersResult ¶
func NewAdditionManagementAddNumbersResult() *AdditionManagementAddNumbersResult
func (*AdditionManagementAddNumbersResult) BLength ¶
func (p *AdditionManagementAddNumbersResult) BLength() int
func (*AdditionManagementAddNumbersResult) DeepEqual ¶
func (p *AdditionManagementAddNumbersResult) DeepEqual(ano *AdditionManagementAddNumbersResult) bool
func (*AdditionManagementAddNumbersResult) FastRead ¶
func (p *AdditionManagementAddNumbersResult) FastRead(buf []byte) (int, error)
func (*AdditionManagementAddNumbersResult) FastReadField0 ¶
func (p *AdditionManagementAddNumbersResult) FastReadField0(buf []byte) (int, error)
func (*AdditionManagementAddNumbersResult) FastWrite ¶
func (p *AdditionManagementAddNumbersResult) FastWrite(buf []byte) int
for compatibility
func (*AdditionManagementAddNumbersResult) FastWriteNocopy ¶
func (p *AdditionManagementAddNumbersResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*AdditionManagementAddNumbersResult) Field0DeepEqual ¶
func (p *AdditionManagementAddNumbersResult) Field0DeepEqual(src *AdditionResponse) bool
func (*AdditionManagementAddNumbersResult) GetResult ¶
func (p *AdditionManagementAddNumbersResult) GetResult() interface{}
func (*AdditionManagementAddNumbersResult) GetSuccess ¶
func (p *AdditionManagementAddNumbersResult) GetSuccess() (v *AdditionResponse)
func (*AdditionManagementAddNumbersResult) InitDefault ¶
func (p *AdditionManagementAddNumbersResult) InitDefault()
func (*AdditionManagementAddNumbersResult) IsSetSuccess ¶
func (p *AdditionManagementAddNumbersResult) IsSetSuccess() bool
func (*AdditionManagementAddNumbersResult) Read ¶
func (p *AdditionManagementAddNumbersResult) Read(iprot thrift.TProtocol) (err error)
func (*AdditionManagementAddNumbersResult) ReadField0 ¶
func (p *AdditionManagementAddNumbersResult) ReadField0(iprot thrift.TProtocol) error
func (*AdditionManagementAddNumbersResult) SetSuccess ¶
func (p *AdditionManagementAddNumbersResult) SetSuccess(x interface{})
func (*AdditionManagementAddNumbersResult) String ¶
func (p *AdditionManagementAddNumbersResult) String() string
type AdditionManagementClient ¶
type AdditionManagementClient struct {
// contains filtered or unexported fields
}
func NewAdditionManagementClient ¶
func NewAdditionManagementClient(c thrift.TClient) *AdditionManagementClient
func NewAdditionManagementClientFactory ¶
func NewAdditionManagementClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *AdditionManagementClient
func NewAdditionManagementClientProtocol ¶
func NewAdditionManagementClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *AdditionManagementClient
func (*AdditionManagementClient) AddNumbers ¶
func (p *AdditionManagementClient) AddNumbers(ctx context.Context, req *AdditionRequest) (r *AdditionResponse, err error)
func (*AdditionManagementClient) Client_ ¶
func (p *AdditionManagementClient) Client_() thrift.TClient
type AdditionManagementProcessor ¶
type AdditionManagementProcessor struct {
// contains filtered or unexported fields
}
func NewAdditionManagementProcessor ¶
func NewAdditionManagementProcessor(handler AdditionManagement) *AdditionManagementProcessor
func (*AdditionManagementProcessor) AddToProcessorMap ¶
func (p *AdditionManagementProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*AdditionManagementProcessor) GetProcessorFunction ¶
func (p *AdditionManagementProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*AdditionManagementProcessor) Process ¶
func (p *AdditionManagementProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*AdditionManagementProcessor) ProcessorMap ¶
func (p *AdditionManagementProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type AdditionRequest ¶
type AdditionRequest 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 AdditionManagementAddNumbersArgs_Req_DEFAULT *AdditionRequest
func NewAdditionRequest ¶
func NewAdditionRequest() *AdditionRequest
func (*AdditionRequest) BLength ¶
func (p *AdditionRequest) BLength() int
func (*AdditionRequest) DeepEqual ¶
func (p *AdditionRequest) DeepEqual(ano *AdditionRequest) bool
func (*AdditionRequest) FastReadField1 ¶
func (p *AdditionRequest) FastReadField1(buf []byte) (int, error)
func (*AdditionRequest) FastReadField2 ¶
func (p *AdditionRequest) FastReadField2(buf []byte) (int, error)
func (*AdditionRequest) FastWrite ¶
func (p *AdditionRequest) FastWrite(buf []byte) int
for compatibility
func (*AdditionRequest) FastWriteNocopy ¶
func (p *AdditionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*AdditionRequest) Field1DeepEqual ¶
func (p *AdditionRequest) Field1DeepEqual(src string) bool
func (*AdditionRequest) Field2DeepEqual ¶
func (p *AdditionRequest) Field2DeepEqual(src string) bool
func (*AdditionRequest) GetFirstNum ¶
func (p *AdditionRequest) GetFirstNum() (v string)
func (*AdditionRequest) GetSecondNum ¶
func (p *AdditionRequest) GetSecondNum() (v string)
func (*AdditionRequest) InitDefault ¶
func (p *AdditionRequest) InitDefault()
func (*AdditionRequest) ReadField1 ¶
func (p *AdditionRequest) ReadField1(iprot thrift.TProtocol) error
func (*AdditionRequest) ReadField2 ¶
func (p *AdditionRequest) ReadField2(iprot thrift.TProtocol) error
func (*AdditionRequest) SetFirstNum ¶
func (p *AdditionRequest) SetFirstNum(val string)
func (*AdditionRequest) SetSecondNum ¶
func (p *AdditionRequest) SetSecondNum(val string)
func (*AdditionRequest) String ¶
func (p *AdditionRequest) String() string
type AdditionResponse ¶
type AdditionResponse struct {
Sum string `thrift:"Sum,1" frugal:"1,default,string" json:"Sum"`
}
var AdditionManagementAddNumbersResult_Success_DEFAULT *AdditionResponse
func NewAdditionResponse ¶
func NewAdditionResponse() *AdditionResponse
func (*AdditionResponse) BLength ¶
func (p *AdditionResponse) BLength() int
func (*AdditionResponse) DeepEqual ¶
func (p *AdditionResponse) DeepEqual(ano *AdditionResponse) bool
func (*AdditionResponse) FastReadField1 ¶
func (p *AdditionResponse) FastReadField1(buf []byte) (int, error)
func (*AdditionResponse) FastWrite ¶
func (p *AdditionResponse) FastWrite(buf []byte) int
for compatibility
func (*AdditionResponse) FastWriteNocopy ¶
func (p *AdditionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*AdditionResponse) Field1DeepEqual ¶
func (p *AdditionResponse) Field1DeepEqual(src string) bool
func (*AdditionResponse) GetSum ¶
func (p *AdditionResponse) GetSum() (v string)
func (*AdditionResponse) InitDefault ¶
func (p *AdditionResponse) InitDefault()
func (*AdditionResponse) ReadField1 ¶
func (p *AdditionResponse) ReadField1(iprot thrift.TProtocol) error
func (*AdditionResponse) SetSum ¶
func (p *AdditionResponse) SetSum(val string)
func (*AdditionResponse) String ¶
func (p *AdditionResponse) String() string
Click to show internal directories.
Click to hide internal directories.