gPanel/pkg/api
2017-11-06 11:43:26 -06:00
..
user referencing issue #57 2017-11-06 11:43:26 -06:00
api_handler.go refactored user api and removed some debug things in webhost 2017-11-03 17:23:10 -05:00
README.md refactoring/renaming/commenting/documenting 2017-10-30 16:09:45 -05:00

Working API Calls

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

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