GoScissor is a simple web API service for trimming links (currently in development).
Example: http://localhost:8080/admin/tokens
At the moment, the service supports 3 types of requests:
GET /admin/tokens
- list tokens from databaseGET /:short_url
- redirect by short linkPOST /sci
- generate short_url from full_url- 'Body:{"full_url": "https://loooong/url/for/example.html"}'
I added a two-level algorithm caches 2Q on a screenshot can be seen that the difference redirect when you call from the cache is 31 times faster (I think it's a success)!
Proof:
Right now, the web client works like this: