doc.go

centrifuge · doc.go · go · MIT
realtime

A real-time messaging library that abstracts bidirectional transports like Websocket and SSE for building scalable Go applications.

// Source: https://github.com/centrifugal/centrifuge | License: MIT | Copyright 2023 Centrifugal Labs LTD
// Provided via justclaw.it.com; keep this notice with the code.
// Package centrifuge is a real-time messaging library that abstracts
// several bidirectional transports (Websocket and its emulation over
// HTTP-Streaming, SSE/EventSource) and provides primitives to build
// scalable real-time applications with Go. It's also used as a core
// of Centrifugo server (https://github.com/centrifugal/centrifugo).
//
// Centrifuge library provides several features on top of plain Websocket
// implementation and comes with several client SDKs – see more details in
// the library README on GitHub – https://github.com/centrifugal/centrifuge.
//
// The API of this library is almost all goroutine

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key