mirror of
https://github.com/donl/gPanel.git
synced 2026-05-30 06:12:31 -06:00
615 B
615 B
User API Documentation
/*
Relative API Path:
api/user/auth
Request:
{
"user": "test",
"pass": "test",
}
Response(204, 400, 401, 405, 500):
N/A
*/
func UserAuthentication(res http.ResponseWriter, req *http.Request) bool
/*
Relative API Path:
api/user/register
Request:
{
"user": "test",
"pass": "test",
}
Response (204, 400, 405, 500):
N/A
*/
func UserRegistration(res http.ResponseWriter, req *http.Request) bool
/*
Relative API Path:
api/user/logout
Request:
N/A
Response (204, 405, 500):
N/A
*/
func UserLogout(res http.ResponseWriter, req *http.Request) bool