package
0.0.0-20220430110732-d7558cd5fe8d
Repository: https://github.com/vstdy/go-shortener.git
Documentation: pkg.go.dev
# Functions
DelUserURLsReqToCanon converts gRPC model to canonical model.
GetUsersURLs GetUsersURLsRespFromCanon converts canonical model to gRPC model.
DeleteUserURLs NewDelUserURLsReq creates gRPC model to canonical model.
GetOriginalURL NewGetOrigURLReq creates new GetOrigURLReq model from url.
ShortenURL NewShortenURLReq creates new ShortenURLReq model from url.
ShortenURLsBatch NewShortenURLsBatchReq creates new ShortenURLsBatchReq model from slice of urls.
ShortenURLReqToCanon converts gRPC model to canonical model.
ShortenURLRespFromCanon converts canonical model to gRPC model.
ShortenURLsBatchReqToCanon converts gRPC model to canonical model.
ShortenURLsBatchRespFromCanon converts canonical model to gRPC model.