forked from gammazero/nexus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.go
45 lines (40 loc) · 1.21 KB
/
options.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package wamp
// Consts for message options and option values.
const (
// Message option keywords.
OptAcknowledge = "acknowledge"
OptDiscloseCaller = "disclose_caller"
OptDiscloseMe = "disclose_me"
OptExcludeMe = "exclude_me"
OptInvoke = "invoke"
OptMatch = "match"
OptMessage = "message"
OptError = "error"
OptMode = "mode"
OptProcedure = "procedure"
OptProgress = "progress"
OptReason = "reason"
OptReceiveProgress = "receive_progress"
OptTimeout = "timeout"
OptPPTScheme = "ppt_scheme"
OptPPTSerializer = "ppt_serializer"
OptPPTCipher = "ppt_cipher"
OptPPTKeyId = "ppt_keyid"
// Values for URI matching mode.
MatchExact = "exact"
MatchPrefix = "prefix"
MatchWildcard = "wildcard"
// Values for call cancel mode.
CancelModeKill = "kill"
CancelModeKillNoWait = "killnowait"
CancelModeSkip = "skip"
// Values for call invocation policy.
InvokeSingle = "single"
InvokeRoundRobin = "roundrobin"
InvokeRandom = "random"
InvokeFirst = "first"
InvokeLast = "last"
// Options for subscriber filtering.
BlacklistKey = "exclude"
WhitelistKey = "eligible"
)