gPanel/pkg/api/log
George Shaw b9f7c5d065 Fix import paths
* github.com/Ennovar/gPanel -> github.com/kentonh/gPanel
2018-09-21 20:13:49 -05:00
..
log.go fixed issues #87, #88 2017-11-28 16:24:55 -06:00
read.go Fix import paths 2018-09-21 20:13:49 -05:00
README.md issue #73 2017-11-13 16:25:42 -06:00
truncate.go fixed issues #87, #88 2017-11-28 16:24:55 -06:00

Log API Documentation

/*
Relative API Path:
  api/log/read
Request:
  {
    "name": string
  }
Response(200, 404, 405):
  [log contents]
*/
func Read(res http.ResponseWriter, req *http.Request) bool {}

/*
Relative API Path:
  api/log/delete
Request:
  {
    "name": string
  }
Response(204, 404, 405):
  N/A
*/
func Delete(res http.ResponseWriter, req *http.Request) bool {}