Versions in this module Expand all Collapse all v0 v0.0.8 Sep 25, 2018 v0.0.7 Nov 9, 2016 Changes in this version + func ListenAndServe(network, addr string) error + func PrintEnv() + func Run() + func SSHDial(ctx context.Context, network, addr string) (net.Conn, error) + func SetEnv() + func SetSSHConfigDefaults(sshConfig *SSHConfig) + type AppConfig struct + LocalAddr string + SSH SSHConfig + type CountingSSHClient struct + func NewCountingSSHClient(sshClient *ssh.Client) *CountingSSHClient + func (c CountingSSHClient) Dial(network, addr string) (net.Conn, error) + type EmptyResolver struct + func (EmptyResolver) Resolve(ctx context.Context, name string) (context.Context, net.IP, error) + type SSHConfig struct + AgentAddr string + Password string + PublicKeys []string + ServerAddr string + Username string + func (s SSHConfig) AuthMethods() ([]ssh.AuthMethod, error) + func (s SSHConfig) ClientConfig() (*ssh.ClientConfig, error)