This commit is contained in:
zhouyuyan
2017-08-23 19:24:27 +08:00
parent fe936d0e37
commit 00abbac00f
5 changed files with 141 additions and 24 deletions
-11
View File
@@ -1,11 +0,0 @@
package lib
// type MessagePool struct {
// sync.Mutex
// queue chan *Message
// }
// func (p *MessagePool) Init(len int, maxusernum int) {
// p.maxuser = maxusernum
// p.queue = make(chan *Message, len)
// }