Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BiCopy ¶
func BiCopy(a, b io.ReadWriteCloser)
BiCopy copies data bidirectionally between two read-write-closers.
func HostFromTarget ¶
HostFromTarget extracts the host from a host:port string.
func PortFromTarget ¶
PortFromTarget extracts the port from a host:port string, defaulting to 22.
Types ¶
type Handler ¶
Handler implements sshclient.ForwardHandler.
func NewHandler ¶
NewHandler creates a Handler with the given logger.
Click to show internal directories.
Click to hide internal directories.