Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MaybeStartProxy ¶
MaybeStartProxy maybe starts an inner http/tcp proxies
func MaybeStopProxy ¶
func MaybeStopProxy()
MaybeStopProxy stops the http/tcp proxies if it has been started before
Types ¶
type HTTPProxy ¶
type HTTPProxy struct {
// contains filtered or unexported fields
}
HTTPProxy stands for a http proxy based on SSH connection
func NewHTTPProxy ¶
NewHTTPProxy creates and initializes a new http proxy
type TCPProxy ¶
type TCPProxy struct {
// contains filtered or unexported fields
}
TCPProxy represents a simple TCP proxy unlike HTTP proxies, TCP proxies are point-to-point
func NewTCPProxy ¶
NewTCPProxy starts a 1to1 TCP proxy
func (*TCPProxy) GetEndpoints ¶
GetEndpoints returns the endpoint list
Click to show internal directories.
Click to hide internal directories.