Documentation ¶
Index ¶
- func CreateConfigLog(rw http.ResponseWriter, r *http.Request)
- func CreateUser(rw http.ResponseWriter, r *http.Request)
- func DeleteUser(rw http.ResponseWriter, r *http.Request)
- func GetConfigLogs(rw http.ResponseWriter, r *http.Request)
- func GetUser(rw http.ResponseWriter, r *http.Request)
- func GetUsers(rw http.ResponseWriter, r *http.Request)
- func UpdateUser(rw http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateConfigLog ¶
func CreateConfigLog(rw http.ResponseWriter, r *http.Request)
func CreateUser ¶
func CreateUser(rw http.ResponseWriter, r *http.Request)
CreateUser create new user in the database
func DeleteUser ¶
func DeleteUser(rw http.ResponseWriter, r *http.Request)
DeleteUser removes the user from database
func GetConfigLogs ¶
func GetConfigLogs(rw http.ResponseWriter, r *http.Request)
GetConfigLogs handles GET requests and returns all config logs from
func GetUser ¶
func GetUser(rw http.ResponseWriter, r *http.Request)
GetUser list one user from database
func GetUsers ¶
func GetUsers(rw http.ResponseWriter, r *http.Request)
GetUsers list all user from database
func UpdateUser ¶
func UpdateUser(rw http.ResponseWriter, r *http.Request)
UpdateUser modify user information in the database
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.