Documentation ¶
Overview ¶
Package user is a child of package api to handle api calls concerning users
Package user is a child of package api to handle api calls concerning users ¶
Package user is a child of package api to handle api calls concerning users ¶
Package user is a child of package api to handle api calls concerning users ¶
Package user is a child of package api to handle api calls concerning users
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Auth ¶
func Auth(res http.ResponseWriter, req *http.Request) bool
Auth function is accessed by an API call from the webhost root by accessing /user_auth and sending it a post request with userRequestData struct in JSON format.
func GetSecret ¶
GetSecret is not accessible from the any client side request. It is only used on the server side to help verify users are who they say they are.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.