Browse free open source Go WebSocket Libraries and projects below. Use the toggles on the left to filter open source Go WebSocket Libraries by OS, license, language, programming language, and project status.

  • Our Free Plans just got better! | Auth0 Icon
    Our Free Plans just got better! | Auth0

    With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

    You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
    Try free now
  • 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
  • 1
    GoWebSocket

    GoWebSocket

    golang supports million-connection distributed chat (IM) system

    GoWebSocket is a Go-based distributed WebSocket chat and instant messaging system designed around very high connection counts. It demonstrates how to build a scalable IM architecture using Go, Gin, Nginx load balancing, horizontal deployment, and internal service communication. The project uses gRPC for communication between program components and is structured to support distributed real-time messaging rather than a single-process chat demo. Its documentation highlights single-machine million-connection goals, making performance and concurrency central to the design. gowebsocket is useful for developers studying large-scale WebSocket systems, chat backends, connection management, and Go network programming. It is best treated as a technical reference and learning project for distributed real-time architecture.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 2
    GWS

    GWS

    Simple, fast, reliable websocket server & client

    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.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 3
    Gorilla WebSocket

    Gorilla WebSocket

    Fast, well-tested and widely used WebSocket implementation for Go

    Gorilla WebSocket is a Go implementation of the WebSocket protocol. The Gorilla WebSocket package provides a complete and tested implementation of the WebSocket protocol. The package API is stable. An application can also send and receive messages using the io.WriteCloser and io.Reader interfaces. To send a message, call the connection NextWriter method to get an io.WriteCloser, write the message to the writer and close the writer when done. To receive a message, call the connection NextReader method to get an io.Reader and read until io.EOF is returned. The WebSocket protocol distinguishes between text and binary data messages. Text messages are interpreted as UTF-8 encoded text. The interpretation of binary messages is left to the application. The Gorilla WebSocket package passes the server tests in the Autobahn Test Suite using the application in the examples/autobahn subdirectory.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 4
    Melody

    Melody

    Minimalist websocket framework for Go

    Melody is a minimalist WebSocket framework for Go that wraps the standard WebSocket workflow in a simple, developer-friendly API. It is designed to make real-time server features easier to build without requiring a large framework or complex setup. Developers can use it for chat systems, live notifications, dashboards, multiplayer coordination, collaborative tools, and other bidirectional communication features. Melody provides connection lifecycle hooks, message handlers, broadcasting, session management, and grouped communication patterns. It is built to feel familiar to Go developers and can be integrated into existing HTTP applications. The project is especially useful when a team needs straightforward WebSocket behavior without building connection handling and broadcast logic from scratch.
    Downloads: 0 This Week
    Last Update:
    See Project
  • Earn up to 16% annual interest with Nexo. Icon
    Earn up to 16% annual interest with Nexo.

    More flexibility. More control.

    Generate interest, access liquidity without selling, and execute trades seamlessly. All in one platform. Geographic restrictions, eligibility, and terms apply.
    Get started with Nexo.
  • 5
    go-socket.io

    go-socket.io

    socket.io library for golang, a realtime application framework

    go-socket.io is the library implementation of Socket.IO in Golang, which is a real-time application framework. Current this library supports 1.4 version of the Socket.IO client. It supports room, namespaces and broadcast at now. This project is looking for contributors to help fix bugs and implement new features.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 6
    websocket for Go

    websocket for Go

    Minimal and idiomatic WebSocket library for Go

    websocket is a minimal and idiomatic WebSocket library for Go. Minimal and idiomatic API. First class context.Context support. Fully passes the WebSocket autobahn-testsuite. Single dependency. JSON and protobuf helpers in the wsjson and wspb subpackages. Zero alloc reads and writes. Concurrent writes. Close handshake. net.Conn wrapper. Ping pong API. RFC 7692 permessage-deflate compression. Compile to Wasm. Transparent message buffer reuse with wsjson and wspb subpackages. Gorilla writes directly to a net.Conn and so duplicates features of net/http.Client. Gorilla requires registering a pong callback before sending a Ping. Compare godoc of nhooyr.io/websocket with gorilla/websocket side by side. Will enable easy HTTP/2 support in the future.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 7
    ws

    ws

    Tiny WebSocket library for Go

    Zero-copy upgrade. No intermediate allocations during I/O. Low-level API which allows building your own logic of packet handling and buffers reuse. High-level wrappers and helpers around API in wsutil package, which allow to start fast without digging the protocol internals. Existing WebSocket implementations do not allow users to reuse I/O buffers between connections in clear way. This library aims to export efficient low-level interface for working with the protocol without forcing only one way it could be used. Library is tagged as v1* so its API must not be broken during some improvements or refactoring. Example applications using ws are developed in separate repository ws-examples. We can apply the same pattern to read and write structured responses through a JSON encoder and decoder.Zero-copy upgrade helps to avoid unnecessary allocations and copying while handling HTTP Upgrade request.
    Downloads: 0 This Week
    Last Update:
    See Project
  • Previous
  • You're on page 1
  • Next
MongoDB Logo MongoDB