Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPObfs ¶
NewHTTPObfs return a HTTPObfs
Types ¶
type SimpleObfs ¶
type SimpleObfs struct {
// contains filtered or unexported fields
}
SimpleObfs is a base http-obfs struct
func NewSimpleObfs ¶
func NewSimpleObfs(s string, d netproxy.Dialer) (*SimpleObfs, error)
NewSimpleobfs returns a simpleobfs proxy.
func (*SimpleObfs) Dial ¶
func (s *SimpleObfs) Dial(network, addr string) (c netproxy.Conn, err error)
func (*SimpleObfs) DialTcp ¶
func (s *SimpleObfs) DialTcp(addr string) (c netproxy.Conn, err error)
DialTcp connects to the address addr on the network net via the proxy.
func (*SimpleObfs) DialUdp ¶
func (s *SimpleObfs) DialUdp(addr string) (conn netproxy.PacketConn, err error)
Click to show internal directories.
Click to hide internal directories.