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
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Start 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

2026-05-18