package
1.14.0
Repository: https://github.com/rudderlabs/sqlconnect-go.git
Documentation: pkg.go.dev

# Functions

NewSocks5Tunnel creates a new socks5 proxy using the ssh tunnel.
NewTcpTunnel creates a new ssh tunnel forwading tcp traffic.
ParseInlineConfig parses the given data as a JSON object and returns a Config if the "useSSH" field is true.
Socks5HTTPTransport returns an http.Transport that uses the provided host and port as a socks5 proxy.

# Variables

NoTunnelCloser is a function that does nothing and returns nil.

# Structs

Config represents the configuration for an SSH tunnel.

# Interfaces

Tunnel is an ssh tunnel.