mirror of
https://github.com/h44z/wg-portal.git
synced 2025-09-15 07:11:15 +00:00
chore: use interfaces for all other services
This commit is contained in:
@@ -2,6 +2,8 @@ package config
|
||||
|
||||
import "time"
|
||||
|
||||
// SupportedDatabase is a type for the supported database types.
|
||||
// Supported: mysql, mssql, postgres, sqlite
|
||||
type SupportedDatabase string
|
||||
|
||||
const (
|
||||
@@ -11,6 +13,7 @@ const (
|
||||
DatabaseSQLite SupportedDatabase = "sqlite"
|
||||
)
|
||||
|
||||
// DatabaseConfig contains the configuration for the database connection.
|
||||
type DatabaseConfig struct {
|
||||
// Debug enables logging of all database statements
|
||||
Debug bool `yaml:"debug"`
|
||||
|
Reference in New Issue
Block a user