Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
Driver string
URL string
Host string
Port string
User string
Pass string
DBName string
// PostgreSQL only.
Schema string
Limit uint
Socket string
SSL string
// SSH.
SSHHost string
SSHPort string
SSHUser string
SSHPass string
SSHKeyFile string
SSHKeyPassphrase string
// SSL connection params.
SSLCert string
SSLKey string
SSLPassword string
SSLRootcert string
// oracle specific.
TraceFile string
SSLVerify string
Wallet string
// sql server.
Encrypt string
TrustServerCertificate string
ConnectionTimeout string
// TUI keybidings.
TUIKeyBindings TUIKeyBindings
}
Options is a struct that stores the provided commands by the user.
func SetDefault ¶
SetDefault returns a Options struct and fills the empty values with environment variables if any.
func (*Options) UpdateKeybindings ¶ added in v0.34.0
func (o *Options) UpdateKeybindings(k TUIKeyBindings)
UpdateKeybindings method updates the TUIKeyBindings field, since the keybidings configuration parted ways with the connection configuration.
type TUIKeyBindings ¶ added in v0.32.0
type TUINavigationBindgins ¶ added in v0.32.0
type TUINavigationBindgins struct {
}
Click to show internal directories.
Click to hide internal directories.