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

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 (