mastering bridging

This commit is contained in:
gigihshs
2025-11-24 09:13:08 +07:00
commit e1b99f8f38
115 changed files with 12298 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
package config
import (
"os"
"satusehat-rssa/internal/model"
)
func LoadConfig() *model.Akses {
return &model.Akses{
AuthUrl: os.Getenv("AUTH_URL"),
BaseUrl: os.Getenv("BASE_URL"),
ConsentUrl: os.Getenv("CONSENT_URL"),
KfaUrl: os.Getenv("KFA_URL"),
ClientId: os.Getenv("CLIENT_ID"),
ClientSecret: os.Getenv("CLIENT_SECRET"),
}
}