Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { URL string `yaml:"url"` MaxOpenConnections int `yaml:"max_open_connections"` MaxIdleConnections int `yaml:"max_idle_connections"` PartitionSize int64 `yaml:"partition_size"` PartitionBatchSize int64 `yaml:"partition_batch"` SSLModeEnable string `yaml:"ssl_mode_enable"` SSLRootCert string `yaml:"ssl_root_cert"` SSLCert string `yaml:"ssl_cert"` SSLKey string `yaml:"ssl_key"` }
func DefaultDatabaseConfig ¶
func DefaultDatabaseConfig() Config
DefaultDatabaseConfig returns the default instance of Config
func NewDatabaseConfig ¶
func (*Config) GetPassword ¶
func (*Config) GetSSLMode ¶
Click to show internal directories.
Click to hide internal directories.