routes

package
v0.0.0-...-4fae40e Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RegisterBookStoreRoutes = func(router *mux.Router) {

	router.HandleFunc("/records", controllers.CreateRecord).Methods("POST")
	router.HandleFunc("/records/{id}", controllers.DeleteRecord).Methods("DELETE")
	router.HandleFunc("/records", controllers.GetURLs)
	router.HandleFunc("/records/short-to-long", controllers.GetShortURL)
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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