From 9599aa449e27be1f2a05833afa0bf9addaf7f5a0 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期四, 16 五月 2019 16:55:13 +0800 Subject: [PATCH] update deliver --- deliver | 2 +- main.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deliver b/deliver index c0dcd11..e6cfa59 160000 --- a/deliver +++ b/deliver @@ -1 +1 @@ -Subproject commit c0dcd1189b06b2f4380f48fa6cf8899cdc945c09 +Subproject commit e6cfa59401d45f74a2815d33b62e22e02765d94e diff --git a/main.go b/main.go index 4b95ff6..a73e2ec 100644 --- a/main.go +++ b/main.go @@ -35,7 +35,7 @@ } func sender(url string, args ...interface{}) { - s := deliver.NewListener(deliver.Mode(mode), url, args...) + s := deliver.NewPush(deliver.Mode(mode), url, args...) go senderImpl(s) @@ -47,7 +47,7 @@ } func recvImpl(url string, index int) { - c := deliver.NewDialer(deliver.Mode(mode), url) + c := deliver.NewPull(deliver.Mode(mode), url) var msg []byte var err error -- Gitblit v1.8.0