websocket

package
v0.32.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

nolint

Index

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

Disconnect implements websocket.ConnectionServiceClient

func (*ConnectionServiceClient) Get

Get implements websocket.ConnectionServiceClient

func (*ConnectionServiceClient) Send

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

func NewWebsocket(g func(ctx context.Context) (*grpc.ClientConn, error)) *Websocket

NewWebsocket creates instance of Websocket

func (*Websocket) Connection

func (w *Websocket) Connection() *ConnectionServiceClient

Connection gets ConnectionService client

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL