Documentation ¶
Overview ¶
Code generated by Kitex v0.0.1. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SayArgs_Req_DEFAULT *pb.BenchmarkMessage
View Source
var SayResult_Success_DEFAULT *pb.BenchmarkMessage
Functions ¶
func NewInvoker ¶
NewInvoker creates a server.Invoker with the given handler and options.
Types ¶
type Client ¶
type Client interface {
Say(ctx context.Context, Req *pb.BenchmarkMessage, callOptions ...callopt.Option) (r *pb.BenchmarkMessage, 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 SayArgs ¶
type SayArgs struct {
Req *pb.BenchmarkMessage
}
func (*SayArgs) GetReq ¶
func (p *SayArgs) GetReq() *pb.BenchmarkMessage
type SayResult ¶
type SayResult struct {
Success *pb.BenchmarkMessage
}
func (*SayResult) GetSuccess ¶
func (p *SayResult) GetSuccess() *pb.BenchmarkMessage
func (*SayResult) IsSetSuccess ¶
func (*SayResult) SetSuccess ¶
func (p *SayResult) SetSuccess(x interface{})
Click to show internal directories.
Click to hide internal directories.