Documentation ¶
Index ¶
- func GetOriginalHandler(w http.ResponseWriter, r *http.Request)
- func IndexHandler(w http.ResponseWriter, r *http.Request)
- func PrivacyHandler(w http.ResponseWriter, r *http.Request)
- func RedirectHandler(w http.ResponseWriter, r *http.Request)
- func ShortenHandler(w http.ResponseWriter, r *http.Request)
- type App
- type RequestBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOriginalHandler ¶
func GetOriginalHandler(w http.ResponseWriter, r *http.Request)
GetOriginalHandler : Getting Original URL from Short URL
func IndexHandler ¶
func IndexHandler(w http.ResponseWriter, r *http.Request)
IndexHandler : Index Page
func PrivacyHandler ¶
func PrivacyHandler(w http.ResponseWriter, r *http.Request)
func RedirectHandler ¶
func RedirectHandler(w http.ResponseWriter, r *http.Request)
RedirectHandler Redirect short url
func ShortenHandler ¶
func ShortenHandler(w http.ResponseWriter, r *http.Request)
ShortenHandler : Shorten URL
Types ¶
type RequestBody ¶
RequestBody : Request body
Click to show internal directories.
Click to hide internal directories.