Documentation ¶
Overview ¶
Code generated by Kitex v0.3.2. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FeedArgs_Req_DEFAULT *feed.FeedRequest
View Source
var FeedResult_Success_DEFAULT *feed.FeedResponse
Functions ¶
func NewInvoker ¶
NewInvoker creates a server.Invoker with the given handler and options.
func NewServiceInfo ¶
func NewServiceInfo() *kitex.ServiceInfo
Types ¶
type Client ¶
type Client interface {
Feed(ctx context.Context, Req *feed.FeedRequest, callOptions ...callopt.Option) (r *feed.FeedResponse, 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 FeedArgs ¶
type FeedArgs struct {
Req *feed.FeedRequest
}
func (*FeedArgs) GetReq ¶
func (p *FeedArgs) GetReq() *feed.FeedRequest
type FeedResult ¶
type FeedResult struct {
Success *feed.FeedResponse
}
func (*FeedResult) GetSuccess ¶
func (p *FeedResult) GetSuccess() *feed.FeedResponse
func (*FeedResult) IsSetSuccess ¶
func (p *FeedResult) IsSetSuccess() bool
func (*FeedResult) SetSuccess ¶
func (p *FeedResult) SetSuccess(x interface{})
func (*FeedResult) Unmarshal ¶
func (p *FeedResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.