提交 v1.3.0 beta

This commit is contained in:
dushixiang
2022-10-23 20:05:13 +08:00
parent 4ff4d37442
commit 112435199a
329 changed files with 18340 additions and 58458 deletions

View File

@ -3,7 +3,6 @@ package gateway
import (
"sync"
"next-terminal/server/log"
"next-terminal/server/model"
)
@ -33,7 +32,6 @@ func (m *manager) Add(model *model.AccessGateway) *Gateway {
tunnels: make(map[string]*Tunnel),
}
m.gateways.Store(g.ID, g)
log.Infof("add Gateway: %s", g.ID)
return g
}
@ -43,7 +41,6 @@ func (m *manager) Del(id string) {
g.Close()
}
m.gateways.Delete(id)
log.Infof("del Gateway: %s", id)
}
var GlobalGatewayManager *manager