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 ¶
type HTTPProxy ¶
type HTTPProxy struct {
// contains filtered or unexported fields
}
HTTPProxy implement DynamicProxy
type Socks5Proxy ¶
type Socks5Proxy struct {
// contains filtered or unexported fields
}
Socks5Proxy implement DynamicProxy
func (*Socks5Proxy) Listen ¶
func (p *Socks5Proxy) Listen()
type Wspc ¶
type Wspc struct {
// contains filtered or unexported fields
}
func New ¶
func New(config WspcConfig) *Wspc
func (*Wspc) DynamicForward ¶
func (c *Wspc) DynamicForward()
func (*Wspc) ListenAndServe ¶
func (c *Wspc) ListenAndServe()
func (*Wspc) ListenDynamic ¶
func (*Wspc) ListenLocal ¶
func (*Wspc) LocalForward ¶
func (c *Wspc) LocalForward()
type WspcConfig ¶
Click to show internal directories.
Click to hide internal directories.