This commit is contained in:
lash 2025-01-22 18:37:54 +00:00
parent 6749c632b0
commit 15ce29a1a4
Signed by untrusted user who does not match committer: lash
GPG Key ID: 21D2E7BB88C2A746
2 changed files with 25 additions and 25 deletions

View File

@ -9,31 +9,31 @@ import (
)
var (
logg = logging.NewVanilla().WithDomain("visedriver-config")
defaultLanguage = "eng"
languages []string
DefaultLanguage string
dbConn string
dbConnMissing bool
dbConnMode storage.DbMode
stateDbConn string
stateDbConnMode storage.DbMode
resourceDbConn string
resourceDbConnMode storage.DbMode
userDbConn string
userDbConnMode storage.DbMode
Languages []string
logg = logging.NewVanilla().WithDomain("visedriver-config")
defaultLanguage = "eng"
languages []string
DefaultLanguage string
dbConn string
dbConnMissing bool
dbConnMode storage.DbMode
stateDbConn string
stateDbConnMode storage.DbMode
resourceDbConn string
resourceDbConnMode storage.DbMode
userDbConn string
userDbConnMode storage.DbMode
Languages []string
)
type Override struct {
DbConn *string
DbConnMode storage.DbMode
StateConn *string
StateConnMode storage.DbMode
ResourceConn *string
ResourceConnMode storage.DbMode
UserConn *string
UserConnMode storage.DbMode
DbConn *string
DbConnMode storage.DbMode
StateConn *string
StateConnMode storage.DbMode
ResourceConn *string
ResourceConnMode storage.DbMode
UserConn *string
UserConnMode storage.DbMode
}
func setLanguage() error {

View File

@ -29,8 +29,8 @@ const (
)
var (
DbModeDebug = []string{"ANY", "BIN", "TXT"}
DbTypeDebug = []string{"NONE", "MEM", "FS", "GDBM", "POSTGRES"}
DbModeDebug = []string{"ANY", "BIN", "TXT"}
DbTypeDebug = []string{"NONE", "MEM", "FS", "GDBM", "POSTGRES"}
DbStoreDebug = []string{"STATE", "RESOURCE", "USER"}
)
@ -68,7 +68,7 @@ type ConnData struct {
typ int
str string
domain string
mode DbMode
mode DbMode
}
func (cd *ConnData) DbType() int {