Files
blackroad-apps/pitstop/main.go
Your Name bbc1926dc0 📱 11 BlackRoad OS Apps
All published on BlackRoad OS App Store:
- Dashboard, Metrics, Vault, Agent Hub
- Commander, Analytics, Monitor
- Deployer, Studio, Sync
- Plus the original First App

Zero gatekeepers. Zero fees.
2026-02-10 14:41:25 -06:00

36 lines
600 B
Go

package main
import (
"github.com/gin-gonic/gin"
"os"
)
func main() {
port := os.Getenv("PORT")
if port == "" {
port = "8080"
}
r := gin.Default()
r.GET("/health", func(c *gin.Context) {
c.JSON(200, gin.H{"status": "healthy", "service": "PitStop"})
})
r.GET("/", func(c *gin.Context) {
c.JSON(200, gin.H{
"name": "PitStop",
"description": "Infrastructure Dashboard & Monitoring",
"features": []string{
"Real-time metrics",
"Container management",
"DNS management",
"Deployment tracking",
"Resource monitoring",
},
})
})
r.Run(":" + port)
}