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
}
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.
Click to show internal directories.
Click to hide internal directories.