Documentation ¶
Index ¶
- func MySQLDSN(dbName string, options ...Option) string
- func PostgresDSN(dbName string, options ...Option) string
- func ResolveMySQLDSN(ctx context.Context, connector schema.DatabaseConnector) (string, error)
- func ResolvePostgresDSN(ctx context.Context, connector schema.DatabaseConnector) (string, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PostgresDSN ¶
PostgresDSN returns a PostgresDSN string for connecting to the FTL Controller PG database.
func ResolveMySQLDSN ¶
func ResolvePostgresDSN ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.