mirror of
https://github.com/donl/gPanel.git
synced 2026-06-04 22:06:54 -06:00
751 B
751 B
Server API Documentation
/*
Relative API Path:
api/server/status
Request:
N/A
Response():
N/A
*/
func Status(res http.ResponseWriter, req *http.Request) bool
/*
Relative API Path:
api/server/start
Request:
N/A
Response():
N/A
*/
func Start(res http.ResponseWriter, req *http.Request) bool
/*
Relative API Path:
api/server/Shutdown
Request:
N/A
Response():
N/A
*/
func Shutdown(res http.ResponseWriter, req *http.Request) bool
/*
Relative API Path:
api/server/Restart
Request:
N/A
Response():
N/A
*/
func Restart(res http.ResponseWriter, req *http.Request) bool
/*
Relative API Path:
api/server/maintenance
Request:
N/A
Response():
N/A
*/
func Maintenance(res http.ResponseWriter, req *http.Request) bool