management

package
v0.0.0-...-ecd8b35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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 NewDivisionManagementClientProtocol

func NewDivisionManagementClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *DivisionManagementClient

func (*DivisionManagementClient) Client_

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 (*DivisionManagementDivideNumbersArgs) IsSetReq

func (*DivisionManagementDivideNumbersArgs) Read

func (*DivisionManagementDivideNumbersArgs) ReadField1

func (*DivisionManagementDivideNumbersArgs) String

func (*DivisionManagementDivideNumbersArgs) Write

type DivisionManagementDivideNumbersResult

type DivisionManagementDivideNumbersResult struct {
	Success *DivisionResponse `thrift:"success,0,optional"`
}

func NewDivisionManagementDivideNumbersResult

func NewDivisionManagementDivideNumbersResult() *DivisionManagementDivideNumbersResult

func (*DivisionManagementDivideNumbersResult) GetSuccess

func (*DivisionManagementDivideNumbersResult) IsSetSuccess

func (p *DivisionManagementDivideNumbersResult) IsSetSuccess() bool

func (*DivisionManagementDivideNumbersResult) Read

func (*DivisionManagementDivideNumbersResult) ReadField0

func (*DivisionManagementDivideNumbersResult) String

func (*DivisionManagementDivideNumbersResult) Write

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

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) Read

func (p *DivisionRequest) Read(iprot thrift.TProtocol) (err error)

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

func (*DivisionRequest) Write

func (p *DivisionRequest) Write(oprot thrift.TProtocol) (err error)

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) Read

func (p *DivisionResponse) Read(iprot thrift.TProtocol) (err error)

func (*DivisionResponse) ReadField1

func (p *DivisionResponse) ReadField1(iprot thrift.TProtocol) error

func (*DivisionResponse) String

func (p *DivisionResponse) String() string

func (*DivisionResponse) Write

func (p *DivisionResponse) Write(oprot thrift.TProtocol) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL