From d1980f96745856299a784c5f43aa2ee5fd9fe8b5 Mon Sep 17 00:00:00 2001 From: 554325746@qq.com <554325746@qq.com> Date: 星期四, 22 八月 2019 14:33:36 +0800 Subject: [PATCH] bug fix --- mode.go | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/mode.go b/mode.go index f64f576..2da1e6d 100644 --- a/mode.go +++ b/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 +) -- Gitblit v1.8.0