Documentation ¶
Index ¶
- type Bridge
- func (s *Bridge) DelClient(id int)
- func (s *Bridge) GetSignal(id int) (conn *utils.Conn, err error)
- func (s *Bridge) GetStatus(clientId int)
- func (s *Bridge) GetTunnel(id int, en, de int, crypt, mux bool) (conn *utils.Conn, err error)
- func (s *Bridge) SendLinkInfo(clientId int, link *utils.Link) (tunnel *utils.Conn, err error)
- func (s *Bridge) StartTunnel() error
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bridge ¶ added in v0.0.10
type Bridge struct { TunnelPort int //通信隧道端口 Client map[int]*Client RunList map[int]interface{} //运行中的任务 // contains filtered or unexported fields }
func (*Bridge) SendLinkInfo ¶ added in v0.0.12
func (*Bridge) StartTunnel ¶ added in v0.0.10
Click to show internal directories.
Click to hide internal directories.