Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveHopByHopHeaders ¶
RemoveHopByHopHeaders remove hop-by-hop header
Types ¶
type HTTPAdapter ¶
HTTPAdapter is a adapter for HTTP connection
func NewHTTP ¶
func NewHTTP(request *http.Request, conn net.Conn) *HTTPAdapter
NewHTTP is HTTPAdapter generator
func (*HTTPAdapter) Metadata ¶
func (h *HTTPAdapter) Metadata() *C.Metadata
Metadata return destination metadata
type PacketAdapter ¶ added in v0.17.0
PacketAdapter is a UDP Packet adapter for socks/redir/tun
func (*PacketAdapter) Metadata ¶ added in v0.17.0
func (s *PacketAdapter) Metadata() *C.Metadata
Metadata returns destination metadata
type SocketAdapter ¶
SocketAdapter is a adapter for socks and redir connection
func NewHTTPS ¶
func NewHTTPS(request *http.Request, conn net.Conn) *SocketAdapter
NewHTTPS is HTTPAdapter generator
func (*SocketAdapter) Metadata ¶
func (s *SocketAdapter) Metadata() *C.Metadata
Metadata return destination metadata
Click to show internal directories.
Click to hide internal directories.