websocket

package
v1.14.0-dev.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetWebsocketClientConn

func GetWebsocketClientConn(addr, path string, tlsConfig *tls.Config) (*websocket.Conn, error)

func NewWebSocketConnWrapper

func NewWebSocketConnWrapper(props map[string]interface{}) (clients.ClientWrapper, error)

Types

type WebSocketConnectionConfig

type WebSocketConnectionConfig struct {
	Addr            string `json:"addr"`
	Path            string `json:"path"`
	MaxConnRetry    int    `json:"maxConnRetry"`
	CheckConnection bool   `json:"checkConnection"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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