client

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 24, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WsClient

type WsClient struct {
	// contains filtered or unexported fields
}

func NewWsClient

func NewWsClient(ctx context.Context, address string) *WsClient

func (*WsClient) Close

func (ws *WsClient) Close()

func (*WsClient) Connect

func (ws *WsClient) Connect()

func (*WsClient) GetConnId

func (ws *WsClient) GetConnId() string

func (*WsClient) Send

func (ws *WsClient) Send(message string)

func (*WsClient) WriteToServer added in v1.0.0

func (ws *WsClient) WriteToServer()

Jump to

Keyboard shortcuts

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