Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DSNREnvRegex = regexp.MustCompile(`\$\{([A-Za-z0-9_]+)\}`)
Functions ¶
This section is empty.
Types ¶
type ConnectOptions ¶ added in v0.4.0
type ConnectOptions struct {
DSN string
Scheme string
Host string
Port string
Database string
User string
Password string
Params map[string]string
}
ConnectOptions represents the structured configuration used to build a DSN. Any field may include ${ENV_VAR} placeholders that will be expanded before use.
Click to show internal directories.
Click to hide internal directories.