Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPOBFS ¶
func NewHTTPOBFS(config *node.PointProtocol_ObfsHttp) node.WrapProxy
func NewShadowsocks ¶
func NewShadowsocks(config *node.PointProtocol_Shadowsocks) node.WrapProxy
func NewSsPacketConn ¶
func NewSsPacketConn(conn net.PacketConn, host net.Addr, target string) (net.PacketConn, error)
Types ¶
type HTTPObfs ¶
from https://github.com/Dreamacro/clash/blob/master/component/simple-obfs/http.go
HTTPObfs is shadowsocks http simple-obfs implementation
type Shadowsocks ¶
type Shadowsocks struct {
// contains filtered or unexported fields
}
Shadowsocks shadowsocks
func (*Shadowsocks) Conn ¶
func (s *Shadowsocks) Conn(host string) (conn net.Conn, err error)
Conn .
func (*Shadowsocks) PacketConn ¶
func (s *Shadowsocks) PacketConn(tar string) (net.PacketConn, error)
PacketConn .
Click to show internal directories.
Click to hide internal directories.