Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DBConnectionURL ¶
func DBConnectionURL(driver, host, username, password, dbname string, port int, sslMode ...bool) (string, error)
Returns a connection url for the specified database driver build from the given parameters. Supported drivers are:
postgres mysql
Set sslMode = "" when using MySQL
Returns an error if the type is not supported
func StartServer ¶
Starts the given Fiber app.
func StartWithGracefulShutdown ¶
Starts the given Fiber app and shuts it down gracefully if an OS Interrupt occurs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.