zhangmeng
2019-05-31 25d8c3b20051ebe448d787e3a1be974a276f8215
mode.go
@@ -6,7 +6,7 @@
// Constants for protocols.
const (
   ModeStart = iota
   ModeStart = Mode(iota)
   PushPull
   PubSub
   ReqRep
@@ -14,5 +14,16 @@
   Bus
   Pair
   ModeNNG
   Shm
   ModeEnd
)
// type deliver
type td int
const (
   // as server active
   agent = td(iota)
   // as client passive
   coactee
)