Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultPort = "5432" SSLModeVerifyFull = "verify-full" SSLModeDisable = "disable" SSLModeRequire = "require" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
User string
Pass string
Host string
DatabaseName string
Port string
SSLMode string
MaxLifetime string
MaxIdleConns string
MaxOpenConns string
}
Config is a model for connect PosgreSQL
type PostgreSQLDriver ¶
PostgreSQLDriver is the interface
Click to show internal directories.
Click to hide internal directories.