client

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 25, 2025 License: Apache-2.0 Imports: 8 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) ListenForInput

func (ws *WsClient) ListenForInput(reader *bufio.Reader)

func (*WsClient) Send

func (ws *WsClient) Send(message string)

Jump to

Keyboard shortcuts

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