Documentation ¶
Index ¶
- func NewHTTPDialer(s string, dialer proxy.Dialer) (proxy.Dialer, error)
- func NewHTTPServer(s string, dialer proxy.Dialer) (proxy.Server, error)
- type HTTP
- func (s *HTTP) Addr() string
- func (s *HTTP) Dial(network, addr string) (net.Conn, error)
- func (s *HTTP) DialUDP(network, addr string) (pc net.PacketConn, writeTo net.Addr, err error)
- func (s *HTTP) ListenAndServe()
- func (s *HTTP) NextDialer(dstAddr string) proxy.Dialer
- func (s *HTTP) Serve(c net.Conn)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPDialer ¶
NewHTTPDialer returns a http proxy dialer
Types ¶
type HTTP ¶
type HTTP struct {
// contains filtered or unexported fields
}
HTTP struct
func (*HTTP) NextDialer ¶
NextDialer returns the next dialer
Click to show internal directories.
Click to hide internal directories.