hardware n monitoring
This commit is contained in:
@@ -74,6 +74,8 @@ func main() {
|
||||
|
||||
r.GET("/api/hardware/power-status", controllers.GetPowerStatus)
|
||||
|
||||
r.POST("/api/cutoff", controllers.CutOffAllPower)
|
||||
|
||||
r.Run(":8080")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user