mirror of
https://github.com/fhmq/hmq.git
synced 2026-04-26 11:38:33 +00:00
packet
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
package broker
|
||||
|
||||
import (
|
||||
"hmq/packets"
|
||||
"net"
|
||||
"strings"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/eclipse/paho.mqtt.golang/packets"
|
||||
|
||||
log "github.com/cihub/seelog"
|
||||
)
|
||||
|
||||
@@ -20,6 +21,10 @@ const (
|
||||
//REMOTE is the router connect to other cluster
|
||||
REMOTE = 2
|
||||
)
|
||||
const (
|
||||
Connected = 1
|
||||
Disconnected = 2
|
||||
)
|
||||
|
||||
type client struct {
|
||||
typ int
|
||||
|
||||
Reference in New Issue
Block a user