Expanded token generation

This commit is contained in:
phoenix
2025-10-29 19:31:21 -04:00
parent 878af97859
commit a0d6d8f174
4 changed files with 17 additions and 7 deletions
+2
View File
@@ -27,6 +27,8 @@ type ConnectionInfo struct {
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)
}