feat: add supervisor prototype with embedded frontend

This commit is contained in:
root
2026-03-09 19:15:53 +01:00
parent 96c4ce1697
commit 84de557052
56 changed files with 4044 additions and 10 deletions

15
internal/config/config.go Normal file
View File

@ -0,0 +1,15 @@
package config
import "os"
type Config struct {
Addr string
}
func Load() Config {
addr := os.Getenv("SUPERVISOR_ADDR")
if addr == "" {
addr = ":8080"
}
return Config{Addr: addr}
}