Directories
¶
| Path | Synopsis |
|---|---|
|
Package api wires together all handlers and middleware into an HTTP server.
|
Package api wires together all handlers and middleware into an HTTP server. |
|
handlers
Package handlers contains all HTTP request handlers for MekongTunnel API.
|
Package handlers contains all HTTP request handlers for MekongTunnel API. |
|
middleware
Package middleware provides HTTP middleware for the MekongTunnel API.
|
Package middleware provides HTTP middleware for the MekongTunnel API. |
|
response
Package response provides JSON HTTP response helpers.
|
Package response provides JSON HTTP response helpers. |
|
Package apierr defines typed API-facing errors for the target handler -> service -> repository shape.
|
Package apierr defines typed API-facing errors for the target handler -> service -> repository shape. |
|
Package auth provides authentication helpers for MekongTunnel.
|
Package auth provides authentication helpers for MekongTunnel. |
|
Package billing runs the daily auto-billing job for deploy subscriptions.
|
Package billing runs the daily auto-billing job for deploy subscriptions. |
|
Package config holds all compile-time constants and the runtime Config struct for the MekongTunnel SSH tunnel service.
|
Package config holds all compile-time constants and the runtime Config struct for the MekongTunnel SSH tunnel service. |
|
Package db provides PostgreSQL access for MekongTunnel API.
|
Package db provides PostgreSQL access for MekongTunnel API. |
|
Package domain generates and validates memorable random subdomains in the format adjective-noun-hexsuffix (e.g.
|
Package domain generates and validates memorable random subdomains in the format adjective-noun-hexsuffix (e.g. |
|
Package hub manages Server-Sent Events connections per user.
|
Package hub manages Server-Sent Events connections per user. |
|
Package mailer sends transactional emails.
|
Package mailer sends transactional emails. |
|
mdserve — server-side Markdown renderer shared by the deploy handler and tunnel proxy.
|
mdserve — server-side Markdown renderer shared by the deploy handler and tunnel proxy. |
|
Package models defines all data models for MekongTunnel.
|
Package models defines all data models for MekongTunnel. |
|
Package notify provides a service for creating and pushing real-time notifications.
|
Package notify provides a service for creating and pushing real-time notifications. |
|
Abuse protection for MekongTunnel.
|
Abuse protection for MekongTunnel. |
|
Package system provides server resource monitoring utilities.
|
Package system provides server resource monitoring utilities. |
|
Package telegrambot implements the Telegram bot integration for MekongTunnel.
|
Package telegrambot implements the Telegram bot integration for MekongTunnel. |
|
Async request logger that streams formatted HTTP request lines to an SSH terminal (io.Writer) without blocking the proxy goroutine.
|
Async request logger that streams formatted HTTP request lines to an SSH terminal (io.Writer) without blocking the proxy goroutine. |
Click to show internal directories.
Click to hide internal directories.