Documentation ¶
Index ¶
- type Config
- type LocalConn
- type WebSocksClient
- func (client *WebSocksClient) DialWebSocket(header map[string][]string) (ws *core.WebSocket, err error)
- func (client *WebSocksClient) HandleConn(conn *net.TCPConn)
- func (client *WebSocksClient) OpenMux() (err error)
- func (client *WebSocksClient) Run() (err error)
- func (client *WebSocksClient) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func (*Config) GetClient ¶
func (config *Config) GetClient() (client *WebSocksClient, err error)
GetClient return client from path
type WebSocksClient ¶
type WebSocksClient struct { ServerURL *url.URL ListenAddr *net.TCPAddr Mux bool CreatedAt time.Time Stats *core.Stats // contains filtered or unexported fields }
func (*WebSocksClient) DialWebSocket ¶
func (*WebSocksClient) HandleConn ¶
func (client *WebSocksClient) HandleConn(conn *net.TCPConn)
func (*WebSocksClient) OpenMux ¶
func (client *WebSocksClient) OpenMux() (err error)
func (*WebSocksClient) Run ¶
func (client *WebSocksClient) Run() (err error)
func (*WebSocksClient) Stop ¶
func (client *WebSocksClient) Stop()
Click to show internal directories.
Click to hide internal directories.