Documentation ¶
Index ¶
- func ConnectDb() (*gorm.DB, error)
- func DeleteUserHandler(w http.ResponseWriter, r *http.Request)
- func GetAllUsersHandler(w http.ResponseWriter, r *http.Request)
- func GetUserHandler(w http.ResponseWriter, r *http.Request)
- func PostDataHandler(w http.ResponseWriter, r *http.Request)
- func UpdateUserHandler(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteUserHandler ¶
func DeleteUserHandler(w http.ResponseWriter, r *http.Request)
delete user <identifier>
func GetAllUsersHandler ¶
func GetAllUsersHandler(w http.ResponseWriter, r *http.Request)
read data of all users
func GetUserHandler ¶
func GetUserHandler(w http.ResponseWriter, r *http.Request)
read data of one user <identifier>
func PostDataHandler ¶
func PostDataHandler(w http.ResponseWriter, r *http.Request)
book-in new user
func UpdateUserHandler ¶
func UpdateUserHandler(w http.ResponseWriter, r *http.Request)
update user data
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.