Documentation ¶
Index ¶
- func DeleteCarHandler(w http.ResponseWriter, r *http.Request)
- func GetCarHandler(w http.ResponseWriter, r *http.Request)
- func GetCarListHandler(w http.ResponseWriter, r *http.Request)
- func PostCarHandler(w http.ResponseWriter, r *http.Request)
- func PutCarHandler(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteCarHandler ¶
func DeleteCarHandler(w http.ResponseWriter, r *http.Request)
DeleteCarHandler is the handler that removes a car from the database.
func GetCarHandler ¶
func GetCarHandler(w http.ResponseWriter, r *http.Request)
GetCarHandler is the handler that prints the characteristics of a car.
func GetCarListHandler ¶
func GetCarListHandler(w http.ResponseWriter, r *http.Request)
GetCarListHandler is the handler that prints the list of cars.
func PostCarHandler ¶
func PostCarHandler(w http.ResponseWriter, r *http.Request)
PostCarHandler is the handler that adds a new car.
func PutCarHandler ¶
func PutCarHandler(w http.ResponseWriter, r *http.Request)
PutCarHandler is the handler that updates a car.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.