Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
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.