feat: add internal cluster admin endpoints

This commit is contained in:
Philipp
2026-06-11 09:35:25 +02:00
parent 376f6249b2
commit fd9a99a6d8
15 changed files with 561 additions and 7 deletions
+2
View File
@@ -23,6 +23,7 @@ type Config struct {
RedisAddr string
AppSiteURL string
MasterKeyBase64 string
OperatorToken string
}
func Load() (Config, error) {
@@ -54,6 +55,7 @@ func Load() (Config, error) {
RedisAddr: getenv("REDIS_ADDR", "localhost:6379"),
AppSiteURL: getenv("APP_SITE_URL", "http://localhost:5173"),
MasterKeyBase64: os.Getenv("MASTER_KEY_BASE64"),
OperatorToken: os.Getenv("OPERATOR_TOKEN"),
}, nil
}