mastering bridging
This commit is contained in:
@@ -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"),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user