ws

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrClosed       = errors.New("closed")
	ErrPongDeadline = errors.New("deadline exceeded waiting for pong message")
)

Functions

This section is empty.

Types

type Client

type Client websocket.Dialer

Client implements only parts of the api.Client interface

func NewClient

func NewClient(tlsConfig *tls.Config) *Client

func (*Client) OpenSocket

func (c *Client) OpenSocket(ctx context.Context, authz *api.Authz) (api.Socket, error)

Jump to

Keyboard shortcuts

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