-
-
Notifications
You must be signed in to change notification settings - Fork 93
/
doc.go
19 lines (19 loc) · 1.09 KB
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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-safe except cases where
// one-time operations like setting callback handlers performed, also your
// code inside event handlers should be synchronized since event handlers
// can be called concurrently. Library expects that code inside event handlers
// will not block. See more information about client connection lifetime and
// event handler order/concurrency in README on GitHub.
//
// Also check out examples in repo to see main library concepts in action.
package centrifuge