Documentation
¶
Overview ¶
Code generated by Kitex v0.13.1. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServiceInfo ¶
func NewServiceInfo() *kitex.ServiceInfo
NewServiceInfo creates a new ServiceInfo
func RegisterService ¶
func RegisterService(svr server.Server, handler push.PushService, opts ...server.RegisterOption) error
Types ¶
type Client ¶
type Client interface {
Receive(ctx context.Context, request *push.PushMessageRequest, callOptions ...streamcall.Option) (stream PushService_ReceiveClient, 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 PushService_ReceiveClient ¶
type PushService_ReceiveClient streaming.ServerStreamingClient[push.PushMessageResponse]
Click to show internal directories.
Click to hide internal directories.