Documentation ¶
Index ¶
- type MyWebSocket
- func (e *MyWebSocket) MyWebSocketCall(ctx context.Context, req *MYWebSocket.Request, rsp *MYWebSocket.Response) error
- func (e *MyWebSocket) PingPong(ctx context.Context, stream MYWebSocket.MyWebSocket_PingPongStream) error
- func (e *MyWebSocket) Stream(ctx context.Context, req *MYWebSocket.StreamingRequest, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MyWebSocket ¶
type MyWebSocket struct{}
func (*MyWebSocket) MyWebSocketCall ¶
func (e *MyWebSocket) MyWebSocketCall(ctx context.Context, req *MYWebSocket.Request, rsp *MYWebSocket.Response) error
Call is a single request handler called via client.Call or the generated client code
func (*MyWebSocket) PingPong ¶
func (e *MyWebSocket) PingPong(ctx context.Context, stream MYWebSocket.MyWebSocket_PingPongStream) error
PingPong is a bidirectional stream handler called via client.Stream or the generated client code
func (*MyWebSocket) Stream ¶
func (e *MyWebSocket) Stream(ctx context.Context, req *MYWebSocket.StreamingRequest, stream MYWebSocket.MyWebSocket_StreamStream) error
Stream is a server side stream handler called via client.Stream or the generated client code
Click to show internal directories.
Click to hide internal directories.