tsk-8: Added docker support (#13)
Closes #8 Reviewed-on: phoenix/textsender-auth#13 Co-authored-by: phoenix <kundeng00@pm.me> Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
@@ -27,11 +27,9 @@ type ConnectionInfo struct {
|
||||
SslMode string
|
||||
}
|
||||
|
||||
|
||||
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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user