This commit is contained in:
chowyu08 committed 2017-08-31 22:04:00 +08:00
1 parent 0a6456f1e3
commit c732d395e1
20 files changed
+1294 -51

No files matched your search

+5 -2
View File
@@ -1,6 +1,9 @@
package broker
import "sync"
import (
"hmq/packets"
"sync"
)
const (
MaxUser = 1024 * 1024
@@ -11,7 +14,7 @@ const (
type Message struct {
client *client
msg []byte
msg packets.ControlPacket
}
var (