dsn

package
v0.402.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MySQLDSN added in v0.398.0

func MySQLDSN(dbName string, options ...Option) string

MySQLDSN returns a MySQLDSN string for connecting to the local MySQL database.

func PostgresDSN added in v0.398.0

func PostgresDSN(dbName string, options ...Option) string

PostgresDSN returns a PostgresDSN string for connecting to the FTL Controller PG database.

Types

type Option

type Option func(*dsnOptions)

func Host

func Host(host string) Option

func Port

func Port(port int) Option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL