mirror of
https://github.com/donl/gPanel.git
synced 2026-05-26 06:12:20 -06:00
| .. | ||
| auth.go | ||
| delete.go | ||
| get_secret.go | ||
| list.go | ||
| logout.go | ||
| README.md | ||
| register.go | ||
| update_password.go | ||
User API Documentation
/*
Relative API Path:
api/user/auth
Request:
{
"user": string,
"pass": string,
}
Response(204, 400, 401, 405, 500):
N/A
*/
func Auth(res http.ResponseWriter, req *http.Request) bool {}
/*
Relative API Path:
api/user/register
Request:
{
"user": string,
"pass": string,
}
Response (204, 400, 405, 500):
N/A
*/
func Register(res http.ResponseWriter, req *http.Request) bool {}
/*
Relative API Path:
api/user/logout
Request:
N/A
Response (204, 405, 500):
N/A
*/
func Logout(res http.ResponseWriter, req *http.Request) bool {}