Documentation ¶
Index ¶
- func ConnWithAddr(conn net.Conn, addr net.Addr) net.Conn
- func NewAddr(network, string string) net.Addr
- func NewAgentManager() types.AgentManager
- func NewHandleHijackListener() *lys
- func NewHub(c types.Config) types.Hub
- func ToRPC(conn net.Conn) types.RPC
- type YS
- func (ys *YS) Actions() <-chan func(types.Hub)
- func (ys *YS) Close()
- func (ys *YS) Done() <-chan struct{}
- func (ys *YS) ID() string
- func (ys *YS) Name() string
- func (ys *YS) NewFS()
- func (ys *YS) NewMetrics()
- func (ys *YS) NewSession()
- func (ys *YS) NewSocks5()
- func (ys *YS) Ping()
- func (ys *YS) RemoteIP() string
- func (ys *YS) Time() time.Time
- func (ys *YS) Unregister(h types.Hub)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnWithAddr ¶
attach ip info to net.Conn produced by websocket.NetConn
func NewAgentManager ¶
func NewAgentManager() types.AgentManager
func NewHandleHijackListener ¶
func NewHandleHijackListener() *lys
Types ¶
type YS ¶
func (*YS) NewMetrics ¶
func (ys *YS) NewMetrics()
func (*YS) NewSession ¶
func (ys *YS) NewSession()
func (*YS) Unregister ¶
Click to show internal directories.
Click to hide internal directories.