snapshot of https://github.com/centrifugal/centrifugo.git (master, 2026-09-16; blobs > 131072B omitted)
This commit is contained in:
20
internal/subsource/source.go
Normal file
20
internal/subsource/source.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package subsource
|
||||
|
||||
// Known sources of subscriptions in Centrifugo.
|
||||
// Note: not using iota here intentionally.
|
||||
const (
|
||||
Unknown = 0
|
||||
ConnectionToken = 1
|
||||
ConnectProxy = 2
|
||||
SubscriptionToken = 3
|
||||
SubscribeProxy = 4
|
||||
UserLimited = 5
|
||||
ClientAllowed = 6
|
||||
ClientInsecure = 7
|
||||
UniConnect = 8
|
||||
UserPersonal = 9
|
||||
ServerAPI = 10
|
||||
ConnectionCap = 11
|
||||
Expression = 12
|
||||
StreamProxy = 13
|
||||
)
|
||||
Reference in New Issue
Block a user