Login (#6)
Reviewed-on: phoenix/textsender-auth#6 Co-authored-by: phoenix <kundeng00@pm.me> Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
@@ -51,6 +51,10 @@ func Load() *Config {
|
||||
}
|
||||
}
|
||||
|
||||
func GetSecretKey() string {
|
||||
return os.Getenv("SECRET_KEY")
|
||||
}
|
||||
|
||||
func UnpackDBConnString() (connInfo ConnectionInfo) {
|
||||
username := os.Getenv("DB_USER")
|
||||
password := os.Getenv("DB_PASSWORD")
|
||||
|
||||
Reference in New Issue
Block a user