package
0.2.2
Repository: https://github.com/ctrlplanedev/cli.git
Documentation: pkg.go.dev

# Functions

NewClient creates a new WebSocket client.
WithCloseHandler sets the close handler for the client.
WithConnectHandler sets the connect handler for the client.
WithMessageHandler sets the message handler for the client.
WithReadPump starts the read pump for the client.
WithWritePump starts the write pump for the client.

# Structs

Client represents a WebSocket client connection.

# Type aliases

MessageHandler is a function that processes a websocket message.