config

package
v0.0.0-...-6a020d3 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseCredentials

type DatabaseCredentials struct {
	Username     string
	Password     string
	Host         string
	Port         string
	Database     string
	DatabaseType string
}

DatabaseCredentials is a struct that holds the credentials to connect to a database. This is just a convenient way to transfer the credentials to the database connection function.

func GetDBConfig

func GetDBConfig() DatabaseCredentials

Jump to

Keyboard shortcuts

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