Initial ORION Telemetry service

This commit is contained in:
Lyra
2026-07-11 18:08:12 +08:00
commit 5e54a0aaed
8 changed files with 284 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
package config
import "os"
type Config struct {
Port string
}
func Load() Config {
port := os.Getenv("PORT")
if port == "" {
port = "18080"
}
return Config{
Port: port,
}
}