Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶ added in v0.3.0
type HTTPOverSSH ¶
type HTTPOverSSH struct {
// contains filtered or unexported fields
}
HTTPOverSSH 表示基于SSH的HTTP代理
type SOCKS5OverSSH ¶ added in v0.7.0
type SOCKS5OverSSH struct {
// contains filtered or unexported fields
}
func NewSOCKS5OverSSH ¶ added in v0.7.0
func NewSOCKS5OverSSH(cfg *config.Config, log *logger.Logger, sshClient *SSHClient, r *router.Router) (*SOCKS5OverSSH, error)
NewSOCKS5OverSSH 创建 SOCKS5 代理实例
func (*SOCKS5OverSSH) Start ¶ added in v0.7.0
func (s *SOCKS5OverSSH) Start() error
Start 启动 SOCKS5 监听循环
Click to show internal directories.
Click to hide internal directories.