package
0.0.0-20250105235550-d74b9e249dd3
Repository: https://github.com/muchq/moonbase.git
Documentation: pkg.go.dev

# README

r3dr - Another URL Shortener

r3dr.net

Shorten

POST /shorten

{
  "longUrl": "https://www.google.com",
  "expiresAt": 1728445884000
}

expiresAt is optional.

Redirect

GET /r/{slug} -> 302 so we can collect stats

TODO

  • vanity urls
  • stats
  • cache
  • rate limits
  • clean-up worker (archive/delete expired stuff)
  • logs
  • request tracing

Reusing expired slugs

Currently, there's no way to reclaim the nice short slugs associated with low ids even after the redirects expire.

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author