Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string `yaml:"name"` Host string `yaml:"host"` Port int64 `yaml:"port"` User string `yaml:"user"` Password string `yaml:"password"` SSLMode string `yaml:"ssl_mode,omitempty"` Schema string `yaml:"schema,omitempty"` MaxOpenConnections int `yaml:"max_open_connections"` MaxIdleConnections int `yaml:"max_idle_connections"` PartitionSize int64 `yaml:"partition_size"` PartitionBatchSize int64 `yaml:"partition_batch"` }
func DefaultDatabaseConfig ¶
func DefaultDatabaseConfig() Config
DefaultDatabaseConfig returns the default instance of Config
Click to show internal directories.
Click to hide internal directories.