internal/

directory
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2026 License: MIT

Directories

Path Synopsis
Package auth provides API key generation, hashing, and comparison utilities used by both the server and CLI admin commands.
Package auth provides API key generation, hashing, and comparison utilities used by both the server and CLI admin commands.
Package cli implements the expose command-line interface, dispatching subcommands for server, client, login, and API key administration.
Package cli implements the expose command-line interface, dispatching subcommands for server, client, login, and API key administration.
Package client implements the expose tunnel client that registers with the server, maintains a WebSocket session, and proxies traffic to a local port.
Package client implements the expose tunnel client that registers with the server, maintains a WebSocket session, and proxies traffic to a local port.
settings
Package settings persists and loads client credentials (server URL and API key) in a JSON file under the user's home directory.
Package settings persists and loads client credentials (server URL and API key) in a JSON file under the user's home directory.
Package config defines the configuration structs and flag/env parsing for the expose server and client.
Package config defines the configuration structs and flag/env parsing for the expose server and client.
Package domain defines the core data types shared across the expose server, store, and tunnel protocol layers.
Package domain defines the core data types shared across the expose server, store, and tunnel protocol layers.
Package log provides a minimal factory for structured slog loggers.
Package log provides a minimal factory for structured slog loggers.
Package netutil provides shared HTTP/network normalization helpers.
Package netutil provides shared HTTP/network normalization helpers.
Package selfupdate checks for newer releases on GitHub and replaces the running binary in-place.
Package selfupdate checks for newer releases on GitHub and replaces the running binary in-place.
Package server implements the expose HTTPS reverse-proxy server with WebSocket-based tunnel management, ACME TLS, and session lifecycle.
Package server implements the expose HTTPS reverse-proxy server with WebSocket-based tunnel management, ACME TLS, and session lifecycle.
store
sqlite
Package sqlite implements the expose data store backed by a SQLite database.
Package sqlite implements the expose data store backed by a SQLite database.
Package tunnelproto defines the JSON wire protocol exchanged between the expose server and its tunnel clients over a WebSocket connection.
Package tunnelproto defines the JSON wire protocol exchanged between the expose server and its tunnel clients over a WebSocket connection.
Package waf implements a lightweight Web Application Firewall middleware that inspects incoming HTTP requests and blocks common attack patterns.
Package waf implements a lightweight Web Application Firewall middleware that inspects incoming HTTP requests and blocks common attack patterns.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL