add missing auth interceptors

This commit is contained in:
timka
2025-12-17 18:54:08 +03:00
parent 276bd2182a
commit 346c5c5ff4
3 changed files with 19 additions and 2 deletions
+2
View File
@@ -25,6 +25,7 @@ type Config struct {
SubmissionServiceAddr string
TaskServiceAddr string
CacheEnabled bool
AuthSvcAddr string
}
func Load() (*Config, error) {
@@ -45,6 +46,7 @@ func Load() (*Config, error) {
SubmissionServiceAddr: getEnv("SUBMISSION_GRPC_ADDR", "localhost:50055"),
TaskServiceAddr: getEnv("TASK_GRPC_ADDR", "localhost:50056"),
CacheEnabled: mustGetBool("CACHE_ENABLED", false),
AuthSvcAddr: getEnv("AUTH_GRPC_ADDR", "localhost:50057"),
}, nil
}