Versions in this module Expand all Collapse all v0 v0.0.1 Nov 22, 2024 Changes in this version + var Bridge *bridge.Bridge + var RunList sync.Map + func AddTask(t *file.Tunnel) error + func DealBridgeTask() + func DelClientConnect(clientId int) + func DelTask(id int) error + func DelTunnelAndHostByClientId(clientId int, justDelNoStore bool) + func GetClientList(start, length int, search, sort, order string, clientId int) (list []*file.Client, cnt int) + func GetDashboardData() map[string]interface + func GetTunnel(start, length int, typeVal string, clientId int, search string, ...) ([]*file.Tunnel, int) + func InitFromCsv() + func NewMode(Bridge *bridge.Bridge, c *file.Tunnel) proxy.Service + func StartNewServer(bridgePort int, cnf *file.Tunnel, bridgeType string, bridgeDisconnect int) + func StartTask(id int) error + func StopServer(id int) error