Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bookmark ¶
type Bookmark struct {
ID string // ID generated from the filename
URL string // Postgres connection URL
Host string // Server hostname
Port int // Server port
User string // Database user
UserVar string // Database user environment variable
Password string // User password
PasswordVar string // User password environment variable
Database string // Database name
SSLMode string // Connection SSL mode
SSH *shared.SSHInfo // SSH tunnel config
ReadOnly bool // Enable read-only transaction mode
}
Bookmark contains information about bookmarked database connection
func (Bookmark) ConvertToOptions ¶ added in v0.9.6
ConvertToOptions returns an options struct from connection details
func (Bookmark) SSHInfoIsEmpty ¶ added in v0.9.6
SSHInfoIsEmpty returns true if ssh configuration is not provided
type Manager ¶ added in v0.13.0
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶ added in v0.13.0
Click to show internal directories.
Click to hide internal directories.