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
| package deliver
|
| // Mode is the numeric abstraction to the various protocols or patterns
| // that Mangos supports.
| type Mode int
|
| // Constants for protocols.
| const (
| ModeStart = Mode(iota)
| PushPull
| PubSub
| ReqRep
| SurvResp
| Bus
| Pair
| ModeNNG
| Shm
| ModeEnd
| )
|
| // type deliver
| type td int
|
| const (
| // as server active
| agent = td(iota)
| // as client passive
| coactee
| )
|
|