Debian Codegraph @

doc.go

raw
1 // Package centrifuge is a real-time messaging library that abstracts
2 // several bidirectional transports (Websocket, SockJS) and provides
3 // primitives to build scalable real-time applications with Go. It's
4 // also used as a core of Centrifugo server (https://github.com/centrifugal/centrifugo).
5 //
6 // Centrifuge library provides several features on top of plain Websocket
7 // implementation - read highlights in library README on Github –
8 // https://github.com/centrifugal/centrifuge.
9 //
10 // The API of this library is almost all goroutine-safe except cases where
11 // one-time operations like setting callback handlers performed, also your
12 // code inside event handlers should be synchronized since event handlers
13 // can be called concurrently. Library expects that code inside event handlers
14 // will not block. See more information about client connection lifetime and
15 // event handler order/concurrency in README on Github.
16 //
17 // Also check out examples in repo to see main library concepts in action.
18 package centrifuge