Merge pull request #4 from MarcMagnin/master

fhmq/hmq#2 added full package ref
This commit is contained in:
joy.zhou
2018-01-24 18:14:13 +08:00
committed by GitHub
3 changed files with 6 additions and 3 deletions

View File

@@ -1,9 +1,10 @@
package broker package broker
import ( import (
"hmq/lib/acl"
"strings" "strings"
"github.com/fhmq/hmq/lib/acl"
log "github.com/cihub/seelog" log "github.com/cihub/seelog"
"github.com/fsnotify/fsnotify" "github.com/fsnotify/fsnotify"
) )

View File

@@ -2,7 +2,6 @@ package broker
import ( import (
"crypto/tls" "crypto/tls"
"hmq/lib/acl"
"net" "net"
"net/http" "net/http"
"runtime/debug" "runtime/debug"
@@ -10,6 +9,8 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/fhmq/hmq/lib/acl"
"github.com/eclipse/paho.mqtt.golang/packets" "github.com/eclipse/paho.mqtt.golang/packets"
"github.com/shirou/gopsutil/mem" "github.com/shirou/gopsutil/mem"

View File

@@ -1,11 +1,12 @@
package main package main
import ( import (
"hmq/broker"
"os" "os"
"os/signal" "os/signal"
"runtime" "runtime"
"github.com/fhmq/hmq/broker"
log "github.com/cihub/seelog" log "github.com/cihub/seelog"
) )