Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bookmark ¶
type Bookmark struct { URL string `json:"url"` // Postgres connection URL Host string `json:"host"` // Server hostname Port int `json:"port"` // Server port User string `json:"user"` // Database user Password string `json:"password"` // User password Database string `json:"database"` // Database name Ssl string `json:"ssl"` // Connection SSL mode SSH *shared.SSHInfo `json:"ssh"` // SSH tunnel config }
Bookmark contains information about bookmarked database connection
func GetBookmark ¶ added in v0.9.6
GetBookmark reads an existing bookmark
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 configration is not provided
Click to show internal directories.
Click to hide internal directories.