'packet'
This commit is contained in:
1 parent
0a6456f1e3
commit
c732d395e1
20 files changed
+1294
-51
No files matched your search
+5
-2
@@ -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 (
|
||||
|
||||
Reference in new issue
Block a user