更多的东西用config.json保存
This commit is contained in:
@@ -4,7 +4,6 @@ import (
|
||||
"container/list"
|
||||
"fmt"
|
||||
"github.com/TransX/log"
|
||||
"github.com/TransX/model"
|
||||
"sync"
|
||||
)
|
||||
|
||||
@@ -60,14 +59,9 @@ func (this *TunnelStatusManager) chanListener() {
|
||||
select {
|
||||
case r := <-this.regChan:
|
||||
this.register(r)
|
||||
m := r.(*model.Tunnel)
|
||||
log.Debug("A tunnel registered id %s", m.GetID())
|
||||
log.Debug(this.QueryStatString())
|
||||
case ur := <-this.unregChan:
|
||||
|
||||
this.unregister(ur)
|
||||
m := ur.(*model.Tunnel)
|
||||
log.Debug("A tunnel unregistered id %s", m.GetID())
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user