This commit is contained in:
phoenix
2025-11-01 17:27:26 -04:00
parent 25c283434d
commit 60241a2b16
4 changed files with 3 additions and 15 deletions
+2 -1
View File
@@ -27,10 +27,11 @@ type ConnectionInfo struct {
SslMode string
}
const Port = "9080"
const Port = "9080"
const App_Name = "textsender_auth"
func (ci ConnectionInfo) Parse() string {
return fmt.Sprintf("postgres://%s:%s@%s:%d/%s?sslmode=%s", ci.Username, ci.Password, ci.Host, ci.Port, ci.Database, ci.SslMode)
}