Documentation ¶
Index ¶
- Variables
- func CreateTinyURL(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func DeleteTinyURL(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func RetrieveLongURL(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func SetRedisClient(client *redis.Client)
- func UpdateTinyURL(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
Constants ¶
This section is empty.
Variables ¶
View Source
var REDIS_CLIENT *redis.Client
Functions ¶
func CreateTinyURL ¶
func CreateTinyURL(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func DeleteTinyURL ¶
func DeleteTinyURL(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func RetrieveLongURL ¶
func RetrieveLongURL(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func SetRedisClient ¶
func SetRedisClient(client *redis.Client)
func UpdateTinyURL ¶
func UpdateTinyURL(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.