Documentation
¶
Overview ¶
nolint
Index ¶
- type ConnectionServiceClient
- func (c *ConnectionServiceClient) Disconnect(ctx context.Context, in *websocket.DisconnectRequest, opts ...grpc.CallOption) (*websocket.DisconnectResponse, error)
- func (c *ConnectionServiceClient) Get(ctx context.Context, in *websocket.GetConnectionRequest, ...) (*websocket.Connection, error)
- func (c *ConnectionServiceClient) Send(ctx context.Context, in *websocket.SendToConnectionRequest, ...) (*websocket.SendToConnectionResponse, error)
- type Websocket
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionServiceClient ¶
type ConnectionServiceClient struct {
// contains filtered or unexported fields
}
ConnectionServiceClient is a websocket.ConnectionServiceClient with lazy GRPC connection initialization.
func (*ConnectionServiceClient) Disconnect ¶
func (c *ConnectionServiceClient) Disconnect(ctx context.Context, in *websocket.DisconnectRequest, opts ...grpc.CallOption) (*websocket.DisconnectResponse, error)
Disconnect implements websocket.ConnectionServiceClient
func (*ConnectionServiceClient) Get ¶
func (c *ConnectionServiceClient) Get(ctx context.Context, in *websocket.GetConnectionRequest, opts ...grpc.CallOption) (*websocket.Connection, error)
Get implements websocket.ConnectionServiceClient
func (*ConnectionServiceClient) Send ¶
func (c *ConnectionServiceClient) Send(ctx context.Context, in *websocket.SendToConnectionRequest, opts ...grpc.CallOption) (*websocket.SendToConnectionResponse, error)
Send implements websocket.ConnectionServiceClient
type Websocket ¶
type Websocket struct {
// contains filtered or unexported fields
}
Websocket provides access to "websocket" component of Yandex.Cloud
func NewWebsocket ¶
NewWebsocket creates instance of Websocket
func (*Websocket) Connection ¶
func (w *Websocket) Connection() *ConnectionServiceClient
Connection gets ConnectionService client
Click to show internal directories.
Click to hide internal directories.