554325746@qq.com
2019-08-22 0c22e1e1b5c77fa5d09600200239bd3a0907fc78
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
)