Documentation ¶
Index ¶
- type Tunnel
- func (s *Tunnel) DelClientSignal(cFlag string)
- func (s *Tunnel) DelClientTunnel(cFlag string)
- func (s *Tunnel) GetSignal(cFlag string) (err error, conn *utils.Conn)
- func (s *Tunnel) GetTunnel(cFlag string, en, de int, crypt, mux bool) (c *utils.Conn, err error)
- func (s *Tunnel) ReturnSignal(conn *utils.Conn, cFlag string)
- func (s *Tunnel) ReturnTunnel(conn *utils.Conn, cFlag string)
- func (s *Tunnel) StartTunnel() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tunnel ¶
type Tunnel struct { TunnelPort int //通信隧道端口 SignalList map[string]*list //通信 TunnelList map[string]*list //隧道 RunList map[string]interface{} //运行中的任务 // contains filtered or unexported fields }
func (*Tunnel) ReturnSignal ¶
重回slice 复用
func (*Tunnel) ReturnTunnel ¶
重回slice 复用
func (*Tunnel) StartTunnel ¶
Click to show internal directories.
Click to hide internal directories.