Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionConfig ¶
type ConnectionConfig struct { DBType DatabaseType Host string Port string Username string Password string Database string }
func (ConnectionConfig) DSN ¶
func (c ConnectionConfig) DSN() (string, error)
type DatabaseType ¶
type DatabaseType string
const ( Postgres DatabaseType = "POSTGRES" ClickHouse DatabaseType = "CLICKHOUSE" MySQL DatabaseType = "MYSQL" )
Click to show internal directories.
Click to hide internal directories.