Documentation ¶
Index ¶
Constants ¶
View Source
const DriverName = "postgres+ssh"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialer ¶ added in v0.2.0
type Dialer interface { Connect() error Dial(network, address string) (net.Conn, error) Close() error }
Dialer is interface type for SSH Dialer.
type Driver ¶
type Driver struct {
Dialer
}
Driver is driver.Driver and pq.Dialer for PostgreSQL via SSH.
func (*Driver) DialTimeout ¶
DialTimeout makes socket connection via SSH (compatible pq.Dialer interface).
Click to show internal directories.
Click to hide internal directories.