Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
func Generate(w http.ResponseWriter, r *http.Request)
Generate handles the creation of shorten url.
func InfoURL ¶
func InfoURL(w http.ResponseWriter, r *http.Request)
InfoURL handles responding information about url.
func RedirectURL ¶
func RedirectURL(w http.ResponseWriter, r *http.Request)
RedirectURL redirects client to the target url.
Types ¶
Click to show internal directories.
Click to hide internal directories.