554325746@qq.com
2019-08-21 3603e569db5a358cdb8ff7d645566e7718a815f9
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
)