Documentation ¶
Overview ¶
Code generated by Kitex v0.3.2. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ChatArgs_Req_DEFAULT *grpcproxy.Request
View Source
var ChatResult_Success_DEFAULT *grpcproxy.Reply
Functions ¶
func NewInvoker ¶
NewInvoker creates a server.Invoker with the given handler and options.
func NewServiceInfo ¶
func NewServiceInfo() *kitex.ServiceInfo
Types ¶
type ChatResult ¶
func (*ChatResult) GetSuccess ¶
func (p *ChatResult) GetSuccess() *grpcproxy.Reply
func (*ChatResult) IsSetSuccess ¶
func (p *ChatResult) IsSetSuccess() bool
func (*ChatResult) SetSuccess ¶
func (p *ChatResult) SetSuccess(x interface{})
func (*ChatResult) Unmarshal ¶
func (p *ChatResult) Unmarshal(in []byte) error
type Client ¶
type Client interface {
Chat(ctx context.Context, callOptions ...callopt.Option) (stream ServiceA_ChatClient, 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.