Directories
¶
| Path | Synopsis |
|---|---|
|
Package activity collects what the Activity Monitor draws: performance counters, waits, file I/O, memory, schedulers and session counts.
|
Package activity collects what the Activity Monitor draws: performance counters, waits, file I/O, memory, schedulers and session counts. |
|
Package cli is gossms's command-line mode: `gossms <command> …` runs one command and exits, and never starts the TUI.
|
Package cli is gossms's command-line mode: `gossms <command> …` runs one command and exits, and never starts the TUI. |
|
agent
Package agent is the command line's self-description for AI agents: `agent schema`, the machine-readable catalog (docs/cli.md § Agent schema), and `agent guide`, the manual (§ Agent guide).
|
Package agent is the command line's self-description for AI agents: `agent schema`, the machine-readable catalog (docs/cli.md § Agent schema), and `agent guide`, the manual (§ Agent guide). |
|
args
Package args parses a command line against the spec tree: it finds the command, then reads its options and positional arguments into a typed spec.Invocation.
|
Package args parses a command line against the spec tree: it finds the command, then reads its options and positional arguments into a typed spec.Invocation. |
|
audit
Package audit is the command line's audit log: one JSON line per call that reached a class above read, or was refused (docs/cli.md § Audit log).
|
Package audit is the command line's audit log: one JSON line per call that reached a class above read, or was refused (docs/cli.md § Audit log). |
|
clitest
Package clitest is test support shared by the command line's test packages (internal/cli and internal/cli/cmd): gosmo's catalog reads as gosmotest rows, one encoder per read.
|
Package clitest is test support shared by the command line's test packages (internal/cli and internal/cli/cmd): gosmo's catalog reads as gosmotest rows, one encoder per read. |
|
cmd
Package cmd holds the command line's command handlers, one file per command group.
|
Package cmd holds the command line's command handlers, one file per command group. |
|
connect
Package connect turns a command line into a SQL Server connection: the connection options, a saved profile with the caller's overrides, the password sources, and Connect's failures as exit codes (docs/cli.md § Connecting).
|
Package connect turns a command line into a SQL Server connection: the connection options, a saved profile with the caller's overrides, the password sources, and Connect's failures as exit codes (docs/cli.md § Connecting). |
|
output
Package output is the command line's result envelope, its error model and one renderer per --output format (docs/cli.md § Output).
|
Package output is the command line's result envelope, its error model and one renderer per --output format (docs/cli.md § Output). |
|
safety
Package safety is the command line's guardrail over T-SQL (docs/cli.md § Safety): Classify puts every statement of a script into an operation class — read, write, ddl or admin — and flags what the safety checks refuse or cannot see through.
|
Package safety is the command line's guardrail over T-SQL (docs/cli.md § Safety): Classify puts every statement of a script into an operation class — read, write, ddl or admin — and flags what the safety checks refuse or cannot see through. |
|
spec
Package spec is the command line's command tree as data: each command's path, help, arguments, options, operation class, examples and handler.
|
Package spec is the command line's command tree as data: each command's path, help, arguments, options, operation class, examples and handler. |
|
Package config holds persistent application state (saved connections, settings).
|
Package config holds persistent application state (saved connections, settings). |
|
Package db wraps gosmo for gossms connection management.
|
Package db wraps gosmo for gossms connection management. |
|
Package export writes result rows as delimited text — CSV, and TSV with the same rules — for every consumer that saves a result: the TUI's Results To File and the command line's csv/tsv output.
|
Package export writes result rows as delimited text — CSV, and TSV with the same rules — for every consumer that saves a result: the TUI's Results To File and the command line's csv/tsv output. |
|
Package fileutil holds shared file-writing helpers.
|
Package fileutil holds shared file-writing helpers. |
|
Package format is Edit > Format Document's engine: per-language pretty-printers for a query panel's text (SQL, XML, JSON).
|
Package format is Edit > Format Document's engine: per-language pretty-printers for a query panel's text (SQL, XML, JSON). |
|
Package query executes T-SQL scripts as SSMS does: split into GO batches, all run on one dedicated connection (so temp tables and SET options survive across batches), with PRINT output, "(n rows affected)" and errors captured into Result.Messages.
|
Package query executes T-SQL scripts as SSMS does: split into GO batches, all run on one dedicated connection (so temp tables and SET options survive across batches), with PRINT output, "(n rows affected)" and errors captured into Result.Messages. |
|
Package scripting is Script As without a screen: for each object family, the verbs it can be scripted at and how each verb's text is generated through gosmo's Scripter.
|
Package scripting is Script As without a screen: for each object family, the verbs it can be scripted at and how each verb's text is generated through gosmo's Scripter. |
|
Package showplan parses SQL Server ShowPlanXML (estimated or actual) into an operator tree.
|
Package showplan parses SQL Server ShowPlanXML (estimated or actual) into an operator tree. |
|
Package tui is the gossms application layer.
|
Package tui is the gossms application layer. |
|
dashboard
Package dashboard lays out the Activity Monitor's dashboards: History, Sample, TempDB, and — on an Azure engine edition — Instance.
|
Package dashboard lays out the Activity Monitor's dashboards: History, Sample, TempDB, and — on an Azure engine edition — Instance. |
|
gate
Package gate answers one question for the application layer: may this connection be offered this action?
|
Package gate answers one question for the application layer: may this connection be offered this action? |
|
planview
Package planview is a reusable TUI control that renders a parsed SQL Server execution plan (internal/showplan.Plan) as a tabbed view: a graphical operator plan, an expandable tree, and the raw plan XML.
|
Package planview is a reusable TUI control that renders a parsed SQL Server execution plan (internal/showplan.Plan) as a tabbed view: a graphical operator plan, an expandable tree, and the raw plan XML. |
|
sqlparse
Package sqlparse is the lexical T-SQL scanner behind the query editor's completion: it turns editor lines into a token stream, locates the statement the cursor sits in, and reports what that statement puts in scope.
|
Package sqlparse is the lexical T-SQL scanner behind the query editor's completion: it turns editor lines into a token stream, locates the statement the cursor sits in, and reports what that statement puts in scope. |
|
tuikit
|
|
|
charts
Package charts renders terminal charts from generic series data.
|
Package charts renders terminal charts from generic series data. |
|
controls
Package controls provides higher-level, reusable TUI controls:
|
Package controls provides higher-level, reusable TUI controls: |
|
core
Package core provides the foundational types and drawing primitives used by every other tuikit sub-package.
|
Package core provides the foundational types and drawing primitives used by every other tuikit sub-package. |
|
dialogs
Package dialogs provides the ModalDialog base type and generic re-usable dialog implementations (AlertDialog, ConfirmDialog, TypedConfirmDialog, PromptDialog, ProgressDialog, PropertiesDialog, FileDialog).
|
Package dialogs provides the ModalDialog base type and generic re-usable dialog implementations (AlertDialog, ConfirmDialog, TypedConfirmDialog, PromptDialog, ProgressDialog, PropertiesDialog, FileDialog). |
|
layout
Package layout provides Panel interface, PanelManager (tab/combo switcher), and Splitter (draggable/keyboard-resizable divider between two regions).
|
Package layout provides Panel interface, PanelManager (tab/combo switcher), and Splitter (draggable/keyboard-resizable divider between two regions). |
|
propsheet
Package propsheet provides a reusable, multi-page, editable "properties dialog": a modal with a page list on the left and a scrollable form on the right (OK/Cancel/Apply/Script Changes below), the pattern SSMS uses for Server/Database/Login Properties.
|
Package propsheet provides a reusable, multi-page, editable "properties dialog": a modal with a page list on the left and a scrollable form on the right (OK/Cancel/Apply/Script Changes below), the pattern SSMS uses for Server/Database/Login Properties. |
|
sqltext
Package sqltext holds the T-SQL text rules more than one package must agree on, as plain functions over runes and strings.
|
Package sqltext holds the T-SQL text rules more than one package must agree on, as plain functions over runes and strings. |
|
theme
Package theme defines the SSMS-inspired dark palette and base tcell styles.
|
Package theme defines the SSMS-inspired dark palette and base tcell styles. |
|
widgets
Package widgets provides stateful, self-contained input controls that render themselves onto a tcell.Screen.
|
Package widgets provides stateful, self-contained input controls that render themselves onto a tcell.Screen. |
|
Package version holds gossms's version metadata, mirroring gosmo/version.
|
Package version holds gossms's version metadata, mirroring gosmo/version. |
|
Package xevent is the Extended Events viewer's in-memory side: the bounded event store, the registry of columns events have shown, the ring_buffer dedupe, and the client-side filter expression.
|
Package xevent is the Extended Events viewer's in-memory side: the bounded event store, the registry of columns events have shown, the ring_buffer dedupe, and the client-side filter expression. |
Click to show internal directories.
Click to hide internal directories.