ws

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: GPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BlueColor = color.New(color.FgBlue).SprintfFunc()
View Source
var GreenColor = color.New(color.FgGreen).SprintfFunc()

Functions

func Connect

func Connect() (*websocket.Conn, func(), error)

func ReadMessages

func ReadMessages(conn *websocket.Conn, wg *sync.WaitGroup, l *readline.Instance)

func WriteToServer

func WriteToServer(conn *websocket.Conn, message string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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