Documentation ¶ Index ¶ Variables func ReadSSHTunnelConfig(config Config) (conf *stunnel.Config, err error) func ReadString(key string, config Config) (*string, error) func SQLConnectThroughTunnel(dsn string, tunnelConfig Config) (*sql.DB, error) type Config type TunnelInfo type Type Constants ¶ This section is empty. Variables ¶ View Source var ( ErrMissingKey = errors.New("missing mandatory key") ErrUnexpectedType = errors.New("unexpected type") ) Functions ¶ func ReadSSHTunnelConfig ¶ func ReadSSHTunnelConfig(config Config) (conf *stunnel.Config, err error) func ReadString ¶ func ReadString(key string, config Config) (*string, error) func SQLConnectThroughTunnel ¶ func SQLConnectThroughTunnel(dsn string, tunnelConfig Config) (*sql.DB, error) Types ¶ type Config ¶ type Config map[string]interface{} type TunnelInfo ¶ type TunnelInfo struct { Config Config } type Type ¶ type Type string Source Files ¶ View all Source files connect.go Click to show internal directories. Click to hide internal directories.