Directories
¶
| Path | Synopsis |
|---|---|
|
Package api embeds the OpenAPI contract.
|
Package api embeds the OpenAPI contract. |
|
cmd
|
|
|
lctl
command
Command lctl is the LinkCtrl operator CLI.
|
Command lctl is the LinkCtrl operator CLI. |
|
linkctrl
command
Command linkctrl is the LinkCtrl server.
|
Command linkctrl is the LinkCtrl server. |
|
internal
|
|
|
alias
Package alias generates and validates the short codes that appear after the host in a LinkCtrl URL.
|
Package alias generates and validates the short codes that appear after the host in a LinkCtrl URL. |
|
analytics
Package analytics records and reads click data.
|
Package analytics records and reads click data. |
|
auth
Package auth handles passwords, sessions, API keys and permission checks.
|
Package auth handles passwords, sessions, API keys and permission checks. |
|
build
Package build carries identifying information about the running binary.
|
Package build carries identifying information about the running binary. |
|
config
Package config loads and validates runtime configuration from the environment.
|
Package config loads and validates runtime configuration from the environment. |
|
domain
Package domain holds the types the services exchange.
|
Package domain holds the types the services exchange. |
|
geoip
Package geoip resolves a client address to a country code.
|
Package geoip resolves a client address to a country code. |
|
httpx
Package httpx contains the HTTP layer: routing, middleware and handlers.
|
Package httpx contains the HTTP layer: routing, middleware and handlers. |
|
link
Package link owns link and tag business logic.
|
Package link owns link and tag business logic. |
|
observability
Package observability wires up logging and metrics.
|
Package observability wires up logging and metrics. |
|
platform/httpserver
Package httpserver runs an HTTP server with a drain-aware shutdown sequence.
|
Package httpserver runs an HTTP server with a drain-aware shutdown sequence. |
|
platform/postgres
Package postgres builds the connection pools.
|
Package postgres builds the connection pools. |
|
platform/redis
Package redis builds the cache client.
|
Package redis builds the cache client. |
|
ratelimit
Package ratelimit is an in-memory, fixed-cost request limiter.
|
Package ratelimit is an in-memory, fixed-cost request limiter. |
|
redirect
Package redirect resolves an alias to a destination.
|
Package redirect resolves an alias to a destination. |
|
store
Package store owns the database layer: migrations, partition maintenance and the sqlc-generated queries.
|
Package store owns the database layer: migrations, partition maintenance and the sqlc-generated queries. |
|
ui
Package ui owns the dashboard's templates, static assets and rendering.
|
Package ui owns the dashboard's templates, static assets and rendering. |
Click to show internal directories.
Click to hide internal directories.