websocket

command
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

WebSocket client example demonstrating CQI WebSocket client usage with auto-reconnect, message handlers, and graceful shutdown.

To run:

  1. Start a WebSocket test server (e.g., wss://ws.postman-echo.com/raw)
  2. Set environment: export WEBSOCKET_WEBSOCKET_URL=wss://ws.postman-echo.com/raw
  3. Run: go run main.go

Jump to

Keyboard shortcuts

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