awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

Go WebSocket 服务端库

排名更新于 2026年6月30日

For 用于 Go 实时服务器的 WebSocket 库, the strongest matches are gorilla/websocket (gorilla/websocket is the standard Go library for WebSocket communication), olahol/melody (Melody is a Go WebSocket framework that handles protocol) and gobwas/ws (gobwas/ws is a high-performance, low-level Go WebSocket library that). coder/websocket is also worth a look. Each is ranked by relevance to your query, popularity and recent activity.

用于使用 WebSocket 协议构建可扩展实时通信服务器的高性能 Go 库。

Go WebSocket 服务端库

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • gorilla/websocketgorilla 的头像

    gorilla/websocket

    24,523在 GitHub 上查看↗

    This project provides a comprehensive implementation of the WebSocket protocol, enabling persistent, bidirectional communication between clients and servers. It handles the low-level complexities of the protocol, including the initial HTTP upgrade handshake and the encapsulation of data into discrete binary frames. By managing these connections, it allows applications to exchange data instantly without the overhead associated with repeated standard request cycles. The library distinguishes itself through its focus on high-frequency message exchange and concurrent connection management. It uti

    gorilla/websocket is the standard Go library for WebSocket communication, providing full RFC 6455 support, concurrent-safe message handling, ping/pong keepalives, and easy HTTP integration—exactly what you need for real-time server apps.

    GoWebSocket ImplementationsWebSocketsProtocol Upgrades
    在 GitHub 上查看↗24,523
  • olahol/melodyolahol 的头像

    olahol/melody

    4,066在 GitHub 上查看↗

    Melody is a WebSocket server framework designed to upgrade HTTP connections into bidirectional streams. It functions as a session manager and binary streaming library that facilitates real-time data exchange between a server and multiple remote clients. The project features a broadcast engine that optimizes multi-client transmissions through wire-representation caching. It includes a dedicated session management system for attaching custom state to persistent network connections and an upgrade handler that validates handshake headers. The framework covers broad capability areas including eve

    Melody is a Go WebSocket framework that handles protocol negotiation, session management, and broadcasting, directly matching the need for a library to build real-time server applications with WebSocket support.

    GoHandshake Upgrade HandlersHTTP Upgrade HandlersText and Binary Message Exchanges
    在 GitHub 上查看↗4,066
  • gobwas/wsgobwas 的头像

    gobwas/ws

    6,463在 GitHub 上查看↗

    This Go library provides low-level components for implementing high-performance WebSocket connections. It focuses on minimal memory allocations and efficient data throughput via a dedicated frame processor, an HTTP connection upgrader, and a compression layer. The project distinguishes itself through the use of zero-allocation buffer reuse to reduce garbage collection pressure. It operates directly on raw network bytes for frame parsing and manages the lifecycle of connections through state-based tracking. The library covers core network protocol capabilities including the transformation of

    gobwas/ws is a high-performance, low-level Go WebSocket library that fully implements RFC 6455 and provides an HTTP upgrader and compression, making it a solid choice for building real-time server applications, though it lacks built-in broadcast or pub/sub features.

    GoWebSocket ImplementationsWebSocket Protocol UpgradesGo WebSocket Libraries
    在 GitHub 上查看↗6,463
  • coder/websocketcoder 的头像

    coder/websocket

    5,299在 GitHub 上查看↗

    This is a minimal WebSocket library for Go designed for bidirectional real-time communication. It serves as a network protocol implementation for managing handshakes, frame masking, and control signals to enable the exchange of text and binary messages over persistent connections. The library distinguishes itself by providing a connectivity layer that wraps browser WebSocket APIs for applications compiled to WebAssembly. It also functions as data compression middleware, utilizing deflate compression to reduce bandwidth usage for transmitted messages. The project covers a broad range of netwo

    coder/websocket is a minimal, idiomatic Go WebSocket library implementing RFC 6455 with handshake, framing, ping/pong keepalives, and text/binary message handling, but it does not include built-in broadcast or pub-sub, making it a good match for a WebSocket protocol library though narrower in scope.

    GoWebSocket Ping/Pong KeepalivesGo WebSocket LibrariesProtocol Upgrades
    在 GitHub 上查看↗5,299

Related searches

  • a php library for building websocket servers
  • a lightweight javascript library for websockets
  • a library for implementing WebSockets in Rust
  • a lightweight library for Java WebSockets
  • a C# library for implementing WebSockets
  • 使用 WebSockets 的实时聊天应用
  • a high performance web framework for Go
  • a lightweight HTTP router for Go