package
0.0.0-20241004173815-ee1b27ad00f1
Repository: https://github.com/gearframework/urlshort.git
Documentation: pkg.go.dev
# Functions
BatchEncodeURLs return short urls for urls in batch json content type request.
DecodeURL return url by short code.
DeleteUserURLs remove user saved urls codes by codes from request.
EncodeURL return short url for requested url.
EncodeURLFromJSON return short url for url in json content type request.
GetUserURLs handler of request on get all saved urls by user.
InvalidMethod handler if request is bad.
Ping check connection to storage.
# Structs
RequestJSON request struct for handler EncodeURLFromJSON.
ResponseJSON response on request RequestJSON.
# Type aliases
RequestBatchJSON request struct for handler BatchEncodeURLs.
ResponseBatchJSON response on request RequestBatchJSON.