internal/

directory
v0.8.9 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: GPL-3.0

Directories

Path Synopsis
Package auth verifies credentials against the user store.
Package auth verifies credentials against the user store.
Package bridge relays a live 3270 session between the end user's connection and a backend TN3270 host, watching for the escape AID (PA3) that returns the user to the gateway menu.
Package bridge relays a live 3270 session between the end user's connection and a backend TN3270 host, watching for the escape AID (PA3) that returns the user to the gateway menu.
Package config loads the gateway's deployment configuration: which listeners to open, connection limits, logging, the database path, and the MFA master key.
Package config loads the gateway's deployment configuration: which listeners to open, connection limits, logging, the database path, and the MFA master key.
Package dummy is a throwaway TN3270 server used as a bridge target for demos and tests.
Package dummy is a throwaway TN3270 server used as a bridge target for demos and tests.
Package listen builds the proxy's network listeners (plaintext and TLS) from configuration.
Package listen builds the proxy's network listeners (plaintext and TLS) from configuration.
Package logging provides a configurable slog-based logger for the proxy.
Package logging provides a configurable slog-based logger for the proxy.
Package mfa provides TOTP (RFC 6238) generation/validation and AES-256-GCM encryption of TOTP secrets at rest.
Package mfa provides TOTP (RFC 6238) generation/validation and AES-256-GCM encryption of TOTP secrets at rest.
Package quickstart provisions a fresh data directory for the opinionated Docker quick-start: a generated admin, sample users, a demo service, an MFA key, a self-signed cert, a MOTD, and a human-readable credentials file.
Package quickstart provisions a fresh data directory for the opinionated Docker quick-start: a generated admin, sample users, a demo service, an MFA key, a self-signed cert, a MOTD, and a human-readable credentials file.
Package screens builds the go3270 screens the gateway renders to clients.
Package screens builds the go3270 screens the gateway renders to clients.
Package seed populates the store with users, groups, and services from a declarative description (used by the `seed` subcommand and tests).
Package seed populates the store with users, groups, and services from a declarative description (used by the `seed` subcommand and tests).
Package server accepts TCP connections and drives each one through the gateway's session state machine: telnet/terminal negotiation, login, an optional MFA gate, the MOTD/NEWS screen, the group-filtered service menu, and finally a bridged session to a backend (internal/bridge).
Package server accepts TCP connections and drives each one through the gateway's session state machine: telnet/terminal negotiation, login, an optional MFA gate, the MOTD/NEWS screen, the group-filtered service menu, and finally a bridged session to a backend (internal/bridge).
Package store owns ALL SQL in the gateway: users, groups, services, trusted networks, runtime system parameters, MFA state, and the audit trail, in one SQLite database (modernc.org/sqlite — pure Go, no cgo).
Package store owns ALL SQL in the gateway: users, groups, services, trusted networks, runtime system parameters, MFA state, and the audit trail, in one SQLite database (modernc.org/sqlite — pure Go, no cgo).
Package sysconfig defines the catalog of runtime system parameters that operators can edit via the admin UI.
Package sysconfig defines the catalog of runtime system parameters that operators can edit via the admin UI.
Package ui3270 is the generic 3270 screen-widget engine: paginated line-command lists (RunList), labeled-input forms (RunForm), read-only snapshot lists (RunSnapshotList), and detail records (RunDetail).
Package ui3270 is the generic 3270 screen-widget engine: paginated line-command lists (RunList), labeled-input forms (RunForm), read-only snapshot lists (RunSnapshotList), and detail records (RunDetail).
Package version resolves the effective version string for the binary.
Package version resolves the effective version string for the binary.

Jump to

Keyboard shortcuts

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