gPanel/pkg/api/server/README.md
2017-11-06 12:12:30 -06:00

766 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 {}