Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClosableWrite ¶
type ClosableWrite interface {
CloseWrite() error
}
type ProxyParams ¶ added in v0.0.298
type ProxyParams struct {
RemoteAddr string
LocalAddr string
Dialer agent.Dialer
}
type Server ¶
type Server struct {
LocalAddr string
Addr string
Listener net.Listener
Dial func(ctx context.Context, network, addr string) (net.Conn, error)
}
func (*Server) ProxyServer ¶ added in v0.0.298
func (srv *Server) ProxyServer(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.