Documentation
¶
Overview ¶
Code generated by Kitex v0.0.6. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EchoArgs_Req_DEFAULT *pbapi.Request
View Source
var EchoResult_Success_DEFAULT *pbapi.Response
Functions ¶
func NewInvoker ¶
NewInvoker creates a server.Invoker with the given handler and options.
Types ¶
type Client ¶
type Client interface {
Echo(ctx context.Context, Req *pbapi.Request, callOptions ...callopt.Option) (r *pbapi.Response, 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.
type EchoResult ¶
func (*EchoResult) GetSuccess ¶
func (p *EchoResult) GetSuccess() *pbapi.Response
func (*EchoResult) IsSetSuccess ¶
func (p *EchoResult) IsSetSuccess() bool
func (*EchoResult) SetSuccess ¶
func (p *EchoResult) SetSuccess(x interface{})
func (*EchoResult) Unmarshal ¶
func (p *EchoResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.