gPanel/pkg/api
2017-11-03 17:18:26 -05:00
..
user added jwt authentication 2017-11-03 17:18:26 -05:00
api_handler.go added jwt authentication 2017-11-03 17:18:26 -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