handlers

package
v0.0.0-...-9cccc27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL