059ea8a047
add html index page when not authenticated fixed auth's handling of empty permissions
60 lines
719 B
Go
60 lines
719 B
Go
package api
|
|
|
|
import "github.com/gin-gonic/gin"
|
|
|
|
func handleGetServers(c *gin.Context) {
|
|
|
|
}
|
|
|
|
func handlePostServers(c *gin.Context) {
|
|
|
|
}
|
|
|
|
func handleDeleteServers(c *gin.Context) {
|
|
|
|
}
|
|
|
|
func handleGetServer(c *gin.Context) {
|
|
|
|
}
|
|
|
|
func handlePatchServer(c *gin.Context) {
|
|
|
|
}
|
|
|
|
func handlePutServer(c *gin.Context) {
|
|
|
|
}
|
|
|
|
func handlePostServerReinstall(c *gin.Context) {
|
|
|
|
}
|
|
|
|
func handlePostServerPassword(c *gin.Context) {
|
|
|
|
}
|
|
|
|
func handlePostServerRebuild(c *gin.Context) {
|
|
|
|
}
|
|
|
|
func handlePutServerPower(c *gin.Context) {
|
|
|
|
}
|
|
|
|
func handlePostServerCommand(c *gin.Context) {
|
|
|
|
}
|
|
|
|
func handleGetServerLog(c *gin.Context) {
|
|
|
|
}
|
|
|
|
func handlePostServerSuspend(c *gin.Context) {
|
|
|
|
}
|
|
|
|
func handlePostServerUnsuspend(c *gin.Context) {
|
|
|
|
}
|