internal/

directory
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MIT

Directories

Path Synopsis
Package cli will hold command/flag parsing as the surface grows beyond the Phase 0 single-shot entrypoint in cmd/s9l.
Package cli will hold command/flag parsing as the surface grows beyond the Phase 0 single-shot entrypoint in cmd/s9l.
Package config loads and persists s9l's YAML connection configuration from $XDG_CONFIG_HOME/s9l/config.yaml (falling back to ~/.config/s9l/config.yaml).
Package config loads and persists s9l's YAML connection configuration from $XDG_CONFIG_HOME/s9l/config.yaml (falling back to ~/.config/s9l/config.yaml).
Package dial opens a database connection for a configured connection, transparently setting up an SSH tunnel first when the connection requests one.
Package dial opens a database connection for a configured connection, transparently setting up an SSH tunnel first when the connection requests one.
Package driver defines the database driver abstraction for s9l.
Package driver defines the database driver abstraction for s9l.
clickhouse
Package clickhouse implements the s9l driver for ClickHouse using the pure-Go ClickHouse/clickhouse-go/v2 adapter (database/sql, no CGO).
Package clickhouse implements the s9l driver for ClickHouse using the pure-Go ClickHouse/clickhouse-go/v2 adapter (database/sql, no CGO).
drivertest
Package drivertest provides a conformance suite that every driver.Driver implementation must pass.
Package drivertest provides a conformance suite that every driver.Driver implementation must pass.
mysql
Package mysql implements the s9l driver for MySQL using the pure-Go go-sql-driver/mysql adapter (database/sql, no CGO).
Package mysql implements the s9l driver for MySQL using the pure-Go go-sql-driver/mysql adapter (database/sql, no CGO).
postgres
Package postgres implements the s9l driver for PostgreSQL using the pure-Go jackc/pgx stdlib adapter (database/sql, no CGO).
Package postgres implements the s9l driver for PostgreSQL using the pure-Go jackc/pgx stdlib adapter (database/sql, no CGO).
sqlite
Package sqlite implements the s9l driver for SQLite using the pure-Go modernc.org/sqlite driver (CGO-free), keeping cross-compilation and single-binary distribution intact.
Package sqlite implements the s9l driver for SQLite using the pure-Go modernc.org/sqlite driver (CGO-free), keeping cross-compilation and single-binary distribution intact.
sqlserver
Package sqlserver implements the s9l driver for Microsoft SQL Server using the pure-Go microsoft/go-mssqldb adapter (database/sql, no CGO).
Package sqlserver implements the s9l driver for Microsoft SQL Server using the pure-Go microsoft/go-mssqldb adapter (database/sql, no CGO).
Package history persists query history and saved queries in a SQLite database at ~/.config/s9l/history.db (honoring $XDG_CONFIG_HOME).
Package history persists query history and saved queries in a SQLite database at ~/.config/s9l/history.db (honoring $XDG_CONFIG_HOME).
Package render formats query results for terminal output.
Package render formats query results for terminal output.
Package repl provides the interactive read-eval-print loop: it reads lines from a LineReader, splits them into `;`-terminated statements, and dispatches each to an exec callback.
Package repl provides the interactive read-eval-print loop: it reads lines from a LineReader, splits them into `;`-terminated statements, and dispatches each to an exec callback.
Package schemacache persists table/column names per connection in a SQLite database at ~/.cache/s9l/schema.db (honoring $XDG_CACHE_HOME).
Package schemacache persists table/column names per connection in a SQLite database at ~/.cache/s9l/schema.db (honoring $XDG_CACHE_HOME).
Package secret abstracts credential storage behind a SecretStore interface, so connection passwords never live in config.yaml.
Package secret abstracts credential storage behind a SecretStore interface, so connection passwords never live in config.yaml.
Package tui implements s9l's full-screen, lazygit-style terminal UI (Phase T).
Package tui implements s9l's full-screen, lazygit-style terminal UI (Phase T).
Package tunnel forwards a local TCP port to a remote address through an SSH bastion, so s9l can reach a database that's only accessible from behind a jump host.
Package tunnel forwards a local TCP port to a remote address through an SSH bastion, so s9l can reach a database that's only accessible from behind a jump host.

Jump to

Keyboard shortcuts

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