Documentation ¶
Index ¶
- type Config
- type DynamicProxy
- type HTTPProxy
- type Socks5Proxy
- type Wspc
- func (c *Wspc) DynamicForward()
- func (c *Wspc) ListenAndServe()
- func (c *Wspc) ListenDynamic(conf *msg.WspConfig)
- func (c *Wspc) ListenLocal(conf *msg.WspConfig)
- func (c *Wspc) LoadConfig(channel string) (*msg.WspConfig, error)
- func (c *Wspc) LocalForward()
- func (c *Wspc) NewConn(data *msg.Data, req *msg.WspRequest) error
- func (c *Wspc) NewLocalConn(local net.Conn, config *msg.WspConfig)
- type WspcConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Log logger.Config `json:"log,omitempty"` Client []WspcConfig `json:"client,omitempty"` }
type DynamicProxy ¶ added in v0.3.1
type HTTPProxy ¶ added in v0.3.1
type HTTPProxy struct {
// contains filtered or unexported fields
}
HTTPProxy implement DynamicProxy
type Socks5Proxy ¶ added in v0.3.1
type Socks5Proxy struct {
// contains filtered or unexported fields
}
Socks5Proxy implement DynamicProxy
func (*Socks5Proxy) Listen ¶ added in v0.3.1
func (p *Socks5Proxy) Listen()
type Wspc ¶
type Wspc struct {
// contains filtered or unexported fields
}
func New ¶ added in v0.4.1
func New(config WspcConfig) *Wspc
func (*Wspc) DynamicForward ¶ added in v0.2.0
func (c *Wspc) DynamicForward()
func (*Wspc) ListenAndServe ¶
func (c *Wspc) ListenAndServe()
func (*Wspc) ListenDynamic ¶ added in v0.2.0
func (*Wspc) ListenLocal ¶ added in v0.2.0
func (*Wspc) LoadConfig ¶ added in v0.4.1
func (*Wspc) LocalForward ¶ added in v0.2.0
func (c *Wspc) LocalForward()
type WspcConfig ¶ added in v0.5.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.