From fa924718b1e8d5f566f7655807e77df1bcfe8f86 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期二, 27 八月 2019 14:41:54 +0800
Subject: [PATCH] add recv2 return len

---
 deliver.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/deliver.go b/deliver.go
index 465a6c1..9f566eb 100644
--- a/deliver.go
+++ b/deliver.go
@@ -12,7 +12,7 @@
 	Recv() ([]byte, error)
 
 	// Recv2 recv to param
-	Recv2([]byte) error
+	Recv2([]byte) (int, error)
 
 	// Close close Deliver
 	Close()

--
Gitblit v1.8.0