Documentation ¶
Overview ¶
Code generated by Kitex v0.8.0. DO NOT EDIT.
Index ¶
- Variables
- func NewInvoker(handler checkout.CheckoutService, opts ...server.Option) server.Invoker
- func NewServer(handler checkout.CheckoutService, opts ...server.Option) server.Server
- func NewServiceInfo() *kitex.ServiceInfo
- type CheckoutArgs
- func (p *CheckoutArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *CheckoutArgs) FastWrite(buf []byte) (n int)
- func (p *CheckoutArgs) GetFirstArgument() interface{}
- func (p *CheckoutArgs) GetReq() *checkout.CheckoutReq
- func (p *CheckoutArgs) IsSetReq() bool
- func (p *CheckoutArgs) Marshal(out []byte) ([]byte, error)
- func (p *CheckoutArgs) Size() (n int)
- func (p *CheckoutArgs) Unmarshal(in []byte) error
- type CheckoutResult
- func (p *CheckoutResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *CheckoutResult) FastWrite(buf []byte) (n int)
- func (p *CheckoutResult) GetResult() interface{}
- func (p *CheckoutResult) GetSuccess() *checkout.CheckoutResp
- func (p *CheckoutResult) IsSetSuccess() bool
- func (p *CheckoutResult) Marshal(out []byte) ([]byte, error)
- func (p *CheckoutResult) SetSuccess(x interface{})
- func (p *CheckoutResult) Size() (n int)
- func (p *CheckoutResult) Unmarshal(in []byte) error
- type Client
Constants ¶
This section is empty.
Variables ¶
View Source
var CheckoutArgs_Req_DEFAULT *checkout.CheckoutReq
View Source
var CheckoutResult_Success_DEFAULT *checkout.CheckoutResp
Functions ¶
func NewInvoker ¶
NewInvoker creates a server.Invoker with the given handler and options.
func NewServiceInfo ¶
func NewServiceInfo() *kitex.ServiceInfo
Types ¶
type CheckoutArgs ¶
type CheckoutArgs struct {
Req *checkout.CheckoutReq
}
func (*CheckoutArgs) FastWrite ¶
func (p *CheckoutArgs) FastWrite(buf []byte) (n int)
func (*CheckoutArgs) GetFirstArgument ¶
func (p *CheckoutArgs) GetFirstArgument() interface{}
func (*CheckoutArgs) GetReq ¶
func (p *CheckoutArgs) GetReq() *checkout.CheckoutReq
func (*CheckoutArgs) IsSetReq ¶
func (p *CheckoutArgs) IsSetReq() bool
func (*CheckoutArgs) Size ¶
func (p *CheckoutArgs) Size() (n int)
func (*CheckoutArgs) Unmarshal ¶
func (p *CheckoutArgs) Unmarshal(in []byte) error
type CheckoutResult ¶
type CheckoutResult struct {
Success *checkout.CheckoutResp
}
func (*CheckoutResult) FastWrite ¶
func (p *CheckoutResult) FastWrite(buf []byte) (n int)
func (*CheckoutResult) GetResult ¶
func (p *CheckoutResult) GetResult() interface{}
func (*CheckoutResult) GetSuccess ¶
func (p *CheckoutResult) GetSuccess() *checkout.CheckoutResp
func (*CheckoutResult) IsSetSuccess ¶
func (p *CheckoutResult) IsSetSuccess() bool
func (*CheckoutResult) SetSuccess ¶
func (p *CheckoutResult) SetSuccess(x interface{})
func (*CheckoutResult) Size ¶
func (p *CheckoutResult) Size() (n int)
func (*CheckoutResult) Unmarshal ¶
func (p *CheckoutResult) Unmarshal(in []byte) error
type Client ¶
type Client interface {
Checkout(ctx context.Context, Req *checkout.CheckoutReq, callOptions ...callopt.Option) (r *checkout.CheckoutResp, err error)
}
Client is designed to provide IDL-compatible methods with call-option parameter for kitex framework.
func MustNewClient ¶
MustNewClient creates a client for the service defined in IDL. It panics if any error occurs.
Click to show internal directories.
Click to hide internal directories.