Documentation ¶
Index ¶
- type Bridge
- func (s *Bridge) DelClientSignal(id int)
- func (s *Bridge) DelClientTunnel(id int)
- func (s *Bridge) GetSignal(id int) (err error, conn *utils.Conn)
- func (s *Bridge) GetTunnel(id int, en, de int, crypt, mux bool) (c *utils.Conn, err error)
- func (s *Bridge) ReturnSignal(conn *utils.Conn, id int)
- func (s *Bridge) ReturnTunnel(conn *utils.Conn, id int)
- func (s *Bridge) StartTunnel() error
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 //通信隧道端口 SignalList map[int]*list //通信 TunnelList map[int]*list //隧道 RunList map[int]interface{} //运行中的任务 // contains filtered or unexported fields }
func (*Bridge) ReturnSignal ¶ added in v0.0.10
重回slice 复用
func (*Bridge) ReturnTunnel ¶ added in v0.0.10
重回slice 复用
func (*Bridge) StartTunnel ¶ added in v0.0.10
Click to show internal directories.
Click to hide internal directories.