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.UDPAddr, target proxy.Address) net.PacketConn
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) PacketConn ¶
func (s *Shadowsocks) PacketConn(tar proxy.Address) (net.PacketConn, error)
PacketConn .
Click to show internal directories.
Click to hide internal directories.