gPanel/pkg/api
2017-10-30 15:51:58 -05:00
..
api_handler.go boltdb is working as well as authentication and registration for users. you can take it in index.html of the webhost 2017-10-26 14:50:25 -05:00
README.md updated api readme 2017-10-30 15:51:58 -05:00
user.go check if user already exists in registration process 2017-10-27 14:32:00 -05:00

Working API Calls

// User Authentication API
/*
JSON Data Required:
  {
    "user": "test",
    "pass": "test",
  }
*/
func UserAuthentication(res http.ResponseWriter, req *http.Request) bool

// User Registration API
/*
JSON Data Required:
  {
    "user": "test",
    "pass": "test",
  }
*/
func UserRegistration(res http.ResponseWriter, req *http.Request) bool