Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
api
command
Command api is the MekongTunnel REST API server.
|
Command api is the MekongTunnel REST API server. |
|
apibench
command
|
|
|
mekong
command
auth.go — mekong login / logout / whoami commands and local config management.
|
auth.go — mekong login / logout / whoami commands and local config management. |
|
mekongtunnel
command
Command mekongtunnel is the entry point for the MekongTunnel SSH tunnel service.
|
Command mekongtunnel is the entry point for the MekongTunnel SSH tunnel service. |
|
internal
|
|
|
api
Package api wires together all handlers and middleware into an HTTP server.
|
Package api wires together all handlers and middleware into an HTTP server. |
|
api/handlers
Package handlers contains all HTTP request handlers for MekongTunnel API.
|
Package handlers contains all HTTP request handlers for MekongTunnel API. |
|
api/middleware
Package middleware provides HTTP middleware for the MekongTunnel API.
|
Package middleware provides HTTP middleware for the MekongTunnel API. |
|
api/response
Package response provides JSON HTTP response helpers.
|
Package response provides JSON HTTP response helpers. |
|
apierr
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. |
|
auth
Package auth provides authentication helpers for MekongTunnel.
|
Package auth provides authentication helpers for MekongTunnel. |
|
billing
Package billing runs the daily auto-billing job for deploy subscriptions.
|
Package billing runs the daily auto-billing job for deploy subscriptions. |
|
config
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. |
|
db
Package db provides PostgreSQL access for MekongTunnel API.
|
Package db provides PostgreSQL access for MekongTunnel API. |
|
domain
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. |
|
hub
Package hub manages Server-Sent Events connections per user.
|
Package hub manages Server-Sent Events connections per user. |
|
mailer
Package mailer sends transactional emails.
|
Package mailer sends transactional emails. |
|
mdserve
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. |
|
models
Package models defines all data models for MekongTunnel.
|
Package models defines all data models for MekongTunnel. |
|
notify
Package notify provides a service for creating and pushing real-time notifications.
|
Package notify provides a service for creating and pushing real-time notifications. |
|
proxy
Abuse protection for MekongTunnel.
|
Abuse protection for MekongTunnel. |
|
system
Package system provides server resource monitoring utilities.
|
Package system provides server resource monitoring utilities. |
|
telegrambot
Package telegrambot implements the Telegram bot integration for MekongTunnel.
|
Package telegrambot implements the Telegram bot integration for MekongTunnel. |
|
tunnel
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.