# Functions

AddTrafficJam adds a new traffic jam to the store.
CorsHeaderSetter middleware sets the Access-Control-Allow-Origin header and returns the handler.
DeleteTrafficJam removes a TrafficJam from the store.
GetAllTrafficJams returns a list of all TrafficJam objects.
GetTrafficJam returns a TrafficJam by id.
Logger is a logging middleware to output requests and their response times.
NewRouter returns the API routing with middlewares attached.
PutTrafficJam updates the data of a TrafficJam.

# Structs

Route stores http and handler information of an API route.

# Type aliases

Routes is a list of all supported routes.