Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
binsight
command
|
|
|
internal
|
|
|
adapter
Package adapter defines the Decoder interface — the ONLY contract the core knows about binlog parsing libraries — plus the registry that assigns adapters to roles (indexer/detail/diff/stream).
|
Package adapter defines the Decoder interface — the ONLY contract the core knows about binlog parsing libraries — plus the registry that assigns adapters to roles (indexer/detail/diff/stream). |
|
adapter/execadapter
Package execadapter bridges any subprocess speaking the JSON-lines protocol into the Decoder interface.
|
Package execadapter bridges any subprocess speaking the JSON-lines protocol into the Decoder interface. |
|
adapter/gomysql
Package gomysql is the builtin adapter wrapping github.com/go-mysql-org/go-mysql/replication.
|
Package gomysql is the builtin adapter wrapping github.com/go-mysql-org/go-mysql/replication. |
|
adapter/mysqlbinlog
Package mysqlbinlog wraps the official mysqlbinlog CLI as an exec adapter.
|
Package mysqlbinlog wraps the official mysqlbinlog CLI as an exec adapter. |
|
adapter/mysqlbinlog/probe
command
|
|
|
anomaly
Package anomaly defines a pluggable Detector interface and an Engine that runs detectors over the committed SQLite index, emitting findings into the anomalies table.
|
Package anomaly defines a pluggable Detector interface and an Engine that runs detectors over the committed SQLite index, emitting findings into the anomalies table. |
|
config
Package config implements settings precedence: env vars (BINSIGHT_*) → persisted UI settings (SQLite) → built-in defaults.
|
Package config implements settings precedence: env vars (BINSIGHT_*) → persisted UI settings (SQLite) → built-in defaults. |
|
corpus
Package corpus describes the multi-version conformance fixture set: the manifest schema shared by the offline generator (tools/gen-corpus) and the always-on conformance matrix (internal/conformance), plus the version→feature gating used to decide which workload add-ons and which assertions apply.
|
Package corpus describes the multi-version conformance fixture set: the manifest schema shared by the offline generator (tools/gen-corpus) and the always-on conformance matrix (internal/conformance), plus the version→feature gating used to decide which workload add-ons and which assertions apply. |
|
ddl
Package ddl parses MySQL/MariaDB CREATE/ALTER DDL SQL into a structured Schema model.
|
Package ddl parses MySQL/MariaDB CREATE/ALTER DDL SQL into a structured Schema model. |
|
diffsvc
Package diffsvc decodes one event with every adapter in the diff set and aligns the results.
|
Package diffsvc decodes one event with every adapter in the diff set and aligns the results. |
|
hexsvc
Package hexsvc reads raw event bytes straight from the binlog file — independent of all adapters — and annotates the 19-byte common header.
|
Package hexsvc reads raw event bytes straight from the binlog file — independent of all adapters — and annotates the 19-byte common header. |
|
indexer
Package indexer streams normalized events from an adapter into the SQLite index.
|
Package indexer streams normalized events from an adapter into the SQLite index. |
|
scanner
Package scanner discovers binlog files: via the *.index file when present (authoritative, like MySQL itself), else by treating every regular file in the directory as a candidate and keeping those whose first four bytes are the binlog magic (0xfe 'bin').
|
Package scanner discovers binlog files: via the *.index file when present (authoritative, like MySQL itself), else by treating every regular file in the directory as a candidate and keeping those whose first four bytes are the binlog magic (0xfe 'bin'). |
|
schema
Package schema defines normalized event schema v1 — the contract between all decoder adapters and the core.
|
Package schema defines normalized event schema v1 — the contract between all decoder adapters and the core. |
|
server
Package server wires store, adapter registry, indexer, scanner and the embedded web UI behind an HTTP API.
|
Package server wires store, adapter registry, indexer, scanner and the embedded web UI behind an HTTP API. |
|
sqlkw
Package sqlkw provides lightweight, dependency-free detection of the leading keyword of a SQL statement.
|
Package sqlkw provides lightweight, dependency-free detection of the leading keyword of a SQL statement. |
|
store
Package store is the SQLite index.
|
Package store is the SQLite index. |
|
streamer
Package streamer connects to a remote MySQL/MariaDB server as a replica and spools raw binlog bytes into local files that byte-identically mirror the server's binlogs.
|
Package streamer connects to a remote MySQL/MariaDB server as a replica and spools raw binlog bytes into local files that byte-identically mirror the server's binlogs. |
|
watcher
Package watcher reports directory changes via a debounced callback.
|
Package watcher reports directory changes via a debounced callback. |
|
tools
|
|
|
gen-corpus
command
Command gen-corpus is the OFFLINE maintainer tool that generates authentic per-version binlog fixtures for the conformance matrix.
|
Command gen-corpus is the OFFLINE maintainer tool that generates authentic per-version binlog fixtures for the conformance matrix. |
Click to show internal directories.
Click to hide internal directories.



