Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
User, Pass string
Host string
Port int
DBName string
SSLMode string
StatementTimeout int
}
Options holds information for connecting to a postgres instance
func (Options) ConnectionInfo ¶
ConnectionInfo returns the postgresql connection string from an options struct.
Click to show internal directories.
Click to hide internal directories.