command
module
Version:
v0.0.4
Opens a new window with list of versions in this module.
Published: Dec 27, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
tinyUrl
A simple tinyUrl
Simple usage
Create URL
curl -d '{"url":"https://ya.ru"}' localhost/short && echo
URL created!
"{\"url\":\"https://ya.ru\",\"short\":\"kc6fc\"}"
Get URL
curl -L localhost/kc6fc
... Redirect to https://ya.ru
Default expiration
Docker usage
Compose
docker-compose up
To rebuild use this cmd
docker-compose -f docker-compose.yml up -d --no-deps --build
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.