From f5368c38ae7d538ae37b1fa0444b66a688e299d0 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期三, 15 五月 2019 10:20:38 +0800
Subject: [PATCH] hide internel func

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

diff --git a/deliver.go b/deliver.go
index 4314c94..87effb0 100644
--- a/deliver.go
+++ b/deliver.go
@@ -14,7 +14,7 @@
 func NewProducer(m Mode, url string, args ...interface{}) Deliver {
 
 	if m > ModeStart && m < ModeNNG {
-		return NewNNGProducer(m, url, args)
+		return nngProducer(m, url, args)
 	}
 	return nil
 }
@@ -23,7 +23,7 @@
 func NewConsumer(m Mode, url string, args ...interface{}) Deliver {
 
 	if m > ModeStart && m < ModeNNG {
-		return NewNNGConsumer(m, url, args)
+		return nngConsumer(m, url, args)
 	}
 
 	return nil

--
Gitblit v1.8.0