shortener

module
v0.0.0-...-1d2f786 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2022 License: MIT

README

shortener

Distributed URL shortener service.

  • Get short URL from a long URL
  • Redirect to long URL when a user clicks on the short URL
  • Delete short URL`s

Run

Easy to run: docker compose up -d
Easy to test: import postman collection
Full integration test support: make test-integration

scheme

Directories

Path Synopsis
cmd
internal
adapters/urlgenerator/generator
Distributed short URL generator, each node has an ints interval for generating links in order.
Distributed short URL generator, each node has an ints interval for generating links in order.
adapters/urlgenerator/memgen
Simplest implementation of a new random shortURL
Simplest implementation of a new random shortURL
app
ports/mock
Package mock_ports is a generated GoMock package.
Package mock_ports is a generated GoMock package.
web
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL