Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ServerTlsEnable bool = false
Functions ¶
This section is empty.
Types ¶
type Bridge ¶
type Bridge struct {
TunnelPort int //通信隧道端口
Client sync.Map
Register sync.Map
OpenTask chan *file.Tunnel
CloseTask chan *file.Tunnel
CloseClient chan int
SecretChan chan *conn.Secret
// contains filtered or unexported fields
}
func (*Bridge) GetHealthFromClient ¶
get health information form client
func (*Bridge) SendLinkInfo ¶
func (*Bridge) StartTunnel ¶
Click to show internal directories.
Click to hide internal directories.