Documentation ¶
Index ¶
- func ActiveUsers(w http.ResponseWriter, r *http.Request)
- func GetUserAll(w http.ResponseWriter, r *http.Request)
- func Index(w http.ResponseWriter, r *http.Request)
- func RequestWithToken(w http.ResponseWriter, r *http.Request)
- func UserCreate(w http.ResponseWriter, r *http.Request)
- func UserLogin(w http.ResponseWriter, r *http.Request)
- type CrRequest
- type CrResponse
- type LogRequest
- type LogResponse
- type UserInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActiveUsers ¶
func ActiveUsers(w http.ResponseWriter, r *http.Request)
func GetUserAll ¶
func GetUserAll(w http.ResponseWriter, r *http.Request)
func RequestWithToken ¶
func RequestWithToken(w http.ResponseWriter, r *http.Request)
websocket connection request
func UserCreate ¶
func UserCreate(w http.ResponseWriter, r *http.Request)
Create new use and add to user table
Types ¶
type CrResponse ¶
Response
type LogRequest ¶
Create a struct that models the structure for a user login Request
Click to show internal directories.
Click to hide internal directories.