GWS is a high-performance WebSocket library for Go that provides both server and client capabilities. It is designed for high-concurrency use cases such as API gateways, chat systems, reverse proxies, online games, real-time streaming, and push or subscription services. The library exposes a minimal event-driven API, allowing developers to build WebSocket applications with relatively little code. It supports standard TCP usage as well as WebSocket operation over KCP and Unix domain sockets. GWS also includes practical features for connection handling, compression, heartbeat management, UTF-8 validation, and scalable read or write loops. It is a strong fit for Go developers who need a lightweight but feature-complete WebSocket foundation for real-time applications.

Features

  • WebSocket server and client support
  • Event-driven Go API
  • High-concurrency connection handling
  • TCP, KCP, and Unix socket transport support
  • Compression and heartbeat options
  • Real-time gateway and chat use cases

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow GWS

GWS Web Site

Other Useful Business Software
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of GWS!

Additional Project Details

Operating Systems

Linux

Programming Language

Go

Related Categories

Go WebSocket Libraries

Registered

1 day ago