gPanel/pkg/api/README.md
2017-10-30 16:09:45 -05:00

422 B

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