Documentation ¶
Index ¶
- func AddTrailingSlash(next http.Handler) http.Handler
- func CreateUser(w http.ResponseWriter, r *http.Request)
- func GetAllUsers(w http.ResponseWriter, r *http.Request)
- func GetImage(w http.ResponseWriter, r *http.Request)
- func GetUserByID(w http.ResponseWriter, r *http.Request)
- func MethodNotAllowed(w http.ResponseWriter, r *http.Request)
- func NotFound(w http.ResponseWriter, r *http.Request)
- func Recovery(next http.Handler) http.Handler
- type UserJSON
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUser ¶
func CreateUser(w http.ResponseWriter, r *http.Request)
func GetAllUsers ¶
func GetAllUsers(w http.ResponseWriter, r *http.Request)
func GetUserByID ¶
func GetUserByID(w http.ResponseWriter, r *http.Request)
func MethodNotAllowed ¶
func MethodNotAllowed(w http.ResponseWriter, r *http.Request)
Types ¶
Click to show internal directories.
Click to hide internal directories.