Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RegisterUserRoutes = func(router *mux.Router) { router.HandleFunc("/api/user/", controllers.CreateUser).Methods("POST") router.HandleFunc("/api/user/", controllers.GetUser).Methods("GET") router.HandleFunc("/api/user/{id}", controllers.GetUserById).Methods("GET") router.HandleFunc("/api/user/{id}", controllers.UpdateUser).Methods("PUT") router.HandleFunc("/api/user/{id}", controllers.DeleteUser).Methods("DELETE") }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.