30 lines
683 B
Go
30 lines
683 B
Go
package main
|
||
|
||
import (
|
||
"log/slog"
|
||
"os"
|
||
)
|
||
|
||
func main() {
|
||
log := slog.New(slog.NewJSONHandler(os.Stdout, &slog.HandlerOptions{
|
||
Level: slog.LevelInfo,
|
||
}))
|
||
|
||
enabled := os.Getenv("EDGE_GATEWAY_ENABLED")
|
||
if enabled != "true" && enabled != "1" {
|
||
log.Info("edge gateway disabled for MVP",
|
||
"feature", "edge-gateway",
|
||
"status", "not_implemented",
|
||
"message", "Join-to-Start TCP/UDP gateway is planned for Phase 8; set EDGE_GATEWAY_ENABLED=true to acknowledge early enablement",
|
||
)
|
||
os.Exit(0)
|
||
}
|
||
|
||
log.Info("edge gateway not implemented in MVP",
|
||
"feature", "edge-gateway",
|
||
"status", "not_implemented",
|
||
"roadmap", "Phase 8 – DNS and Join-to-Start",
|
||
)
|
||
os.Exit(0)
|
||
}
|