This commit is contained in:
@@ -2,7 +2,7 @@ package config
|
||||
|
||||
import (
|
||||
"github.com/spf13/viper"
|
||||
"hub.cybercinch.nz/guisea/go-template/internal/config/key"
|
||||
"hub.cybercinch.nz/guisea/gosqldump/internal/config/key"
|
||||
)
|
||||
|
||||
// fields is the config fields with their default values and descriptions
|
||||
@@ -25,6 +25,26 @@ fatal, error, warn, info, debug`,
|
||||
false,
|
||||
"Whether the logger should report the caller location.",
|
||||
},
|
||||
{
|
||||
Key: key.MySQLHost,
|
||||
DefaultValue: "localhost",
|
||||
Description: "The MySQL/MariaDB hostname",
|
||||
},
|
||||
{
|
||||
Key: key.MySQLPort,
|
||||
DefaultValue: 3306,
|
||||
Description: "The MySQL/MariaDB Port to Connect to",
|
||||
},
|
||||
{
|
||||
Key: key.MySQLUser,
|
||||
DefaultValue: "~",
|
||||
Description: "The MySQL/MariaDB Username to connect with",
|
||||
},
|
||||
{
|
||||
Key: key.MySQLPassword,
|
||||
DefaultValue: "~",
|
||||
Description: "The MySQL/MariaDB Password to connect with",
|
||||
},
|
||||
//{
|
||||
// key.TenantId,
|
||||
// "some_client_id",
|
||||
|
||||
Reference in New Issue
Block a user