management

package
v0.0.0-...-6bb36a6 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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 (*AdditionManagementAddNumbersArgs) DeepEqual

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 (*AdditionManagementAddNumbersArgs) InitDefault

func (p *AdditionManagementAddNumbersArgs) InitDefault()

func (*AdditionManagementAddNumbersArgs) IsSetReq

func (p *AdditionManagementAddNumbersArgs) IsSetReq() bool

func (*AdditionManagementAddNumbersArgs) Read

func (*AdditionManagementAddNumbersArgs) ReadField1

func (*AdditionManagementAddNumbersArgs) SetReq

func (*AdditionManagementAddNumbersArgs) String

func (*AdditionManagementAddNumbersArgs) Write

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 (*AdditionManagementAddNumbersResult) DeepEqual

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 (*AdditionManagementAddNumbersResult) InitDefault

func (p *AdditionManagementAddNumbersResult) InitDefault()

func (*AdditionManagementAddNumbersResult) IsSetSuccess

func (p *AdditionManagementAddNumbersResult) IsSetSuccess() bool

func (*AdditionManagementAddNumbersResult) Read

func (*AdditionManagementAddNumbersResult) ReadField0

func (*AdditionManagementAddNumbersResult) SetSuccess

func (p *AdditionManagementAddNumbersResult) SetSuccess(x interface{})

func (*AdditionManagementAddNumbersResult) String

func (*AdditionManagementAddNumbersResult) Write

type AdditionManagementClient

type AdditionManagementClient struct {
	// contains filtered or unexported fields
}

func NewAdditionManagementClient

func NewAdditionManagementClient(c thrift.TClient) *AdditionManagementClient

func NewAdditionManagementClientProtocol

func NewAdditionManagementClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *AdditionManagementClient

func (*AdditionManagementClient) AddNumbers

func (*AdditionManagementClient) Client_

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

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

func (p *AdditionRequest) FastRead(buf []byte) (int, error)

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

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

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

func (*AdditionRequest) Write

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

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

func (p *AdditionResponse) FastRead(buf []byte) (int, error)

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

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

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

func (*AdditionResponse) Write

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

Directories

Path Synopsis
Code generated by Kitex v0.6.1.
Code generated by Kitex v0.6.1.

Jump to

Keyboard shortcuts

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