Directories
¶
| Path | Synopsis |
|---|---|
|
Package api implements led's JSON HTTP API.
|
Package api implements led's JSON HTTP API. |
|
Package auth implements single-user session authentication using a signed cookie.
|
Package auth implements single-user session authentication using a signed cookie. |
|
Package crypto provides AES-GCM encryption for secrets at rest and HMAC signing for session cookies.
|
Package crypto provides AES-GCM encryption for secrets at rest and HMAC signing for session cookies. |
|
Package db opens the configured database (SQLite or Postgres) through GORM and runs migrations.
|
Package db opens the configured database (SQLite or Postgres) through GORM and runs migrations. |
|
Package dnsprovider abstracts DNS record management across providers.
|
Package dnsprovider abstracts DNS record management across providers. |
|
Package geo resolves a client IP into country/city (optional, via a MaxMind GeoLite2 mmdb) and parses a User-Agent into device/browser/os.
|
Package geo resolves a client IP into country/city (optional, via a MaxMind GeoLite2 mmdb) and parses a User-Agent into device/browser/os. |
|
Package mail parses inbound MIME messages and sends outbound mail via SMTP.
|
Package mail parses inbound MIME messages and sends outbound mail via SMTP. |
|
Package models defines the GORM persistence schema for led.
|
Package models defines the GORM persistence schema for led. |
|
Package notify delivers best-effort notifications about led events.
|
Package notify delivers best-effort notifications about led events. |
|
Package server wires the API, short-link redirector, and embedded SPA behind a single http.Handler.
|
Package server wires the API, short-link redirector, and embedded SPA behind a single http.Handler. |
|
Package shortlink resolves slugs to targets, records click events asynchronously, and renders the password gate when a link is protected.
|
Package shortlink resolves slugs to targets, records click events asynchronously, and renders the password gate when a link is protected. |
Click to show internal directories.
Click to hide internal directories.