Directories
¶
| Path | Synopsis |
|---|---|
|
Package auth implements the Auth0 device-code OAuth flow and the operator auth subcommands.
|
Package auth implements the Auth0 device-code OAuth flow and the operator auth subcommands. |
|
Package buildinfo holds release metadata set via -ldflags at link time.
|
Package buildinfo holds release metadata set via -ldflags at link time. |
|
Package config resolves XDG-compliant paths for the yomiro CLI.
|
Package config resolves XDG-compliant paths for the yomiro CLI. |
|
Package credentials stores the operator's API token + identity hints.
|
Package credentials stores the operator's API token + identity hints. |
|
connectors
Package connectors holds the ServiceHandler abstraction and the built-in connectors (postgres, mqtt, modbus, opcua, sonos, otel, generic).
|
Package connectors holds the ServiceHandler abstraction and the built-in connectors (postgres, mqtt, modbus, opcua, sonos, otel, generic). |
|
connectors/generic
Package generic is the fallback connector: TCP connect, banner grab, TLS cert read.
|
Package generic is the fallback connector: TCP connect, banner grab, TLS cert read. |
|
connectors/modbus
Package modbus implements the Modbus TCP connector — read holding registers, device ID via function 0x2B/0x0E.
|
Package modbus implements the Modbus TCP connector — read holding registers, device ID via function 0x2B/0x0E. |
|
connectors/mqtt
Package mqtt implements the MQTT broker connector.
|
Package mqtt implements the MQTT broker connector. |
|
connectors/opcua
Package opcua implements the OPC-UA connector — namespace browse, node listing.
|
Package opcua implements the OPC-UA connector — namespace browse, node listing. |
|
connectors/otel
Package otel implements the OTEL collector connector — gRPC health + config R/W.
|
Package otel implements the OTEL collector connector — gRPC health + config R/W. |
|
connectors/sonos
Package sonos discovers Sonos speakers via UPnP SSDP.
|
Package sonos discovers Sonos speakers via UPnP SSDP. |
|
connregistry
Package connregistry constructs a connectors.TargetResolver with the built-in connectors enabled.
|
Package connregistry constructs a connectors.TargetResolver with the built-in connectors enabled. |
|
control
Package control implements a tiny request/response protocol over a Unix socket so `yomiro gw status/pause/resume/reload` can talk to a running daemon.
|
Package control implements a tiny request/response protocol over a Unix socket so `yomiro gw status/pause/resume/reload` can talk to a running daemon. |
|
daemon
Package daemon ties together the tunnel client, dbproxy, control socket, and reconnect loop into one runnable unit.
|
Package daemon ties together the tunnel client, dbproxy, control socket, and reconnect loop into one runnable unit. |
|
dbproxy
Package dbproxy proxies database queries on the gateway side, enforcing allowlists and row limits before any SQL hits the customer DB.
|
Package dbproxy proxies database queries on the gateway side, enforcing allowlists and row limits before any SQL hits the customer DB. |
|
svcwrap
Package svcwrap wraps kardianos/service to install, start, stop, and uninstall the gateway as a launchd / systemd / SCM service.
|
Package svcwrap wraps kardianos/service to install, start, stop, and uninstall the gateway as a launchd / systemd / SCM service. |
|
tunnel
Package tunnel implements the gateway-side WSS protocol client.
|
Package tunnel implements the gateway-side WSS protocol client. |
|
Package output renders platform API responses for the CLI in the format selected by the persistent --output flag (json, yaml).
|
Package output renders platform API responses for the CLI in the format selected by the persistent --output flag (json, yaml). |
|
Package platform is a typed HTTP client for the platform's REST API.
|
Package platform is a typed HTTP client for the platform's REST API. |
|
bindings
Package bindings wires generated platform-cmd subcommands to cobra flags and JSON request bodies.
|
Package bindings wires generated platform-cmd subcommands to cobra flags and JSON request bodies. |
|
client
Package client provides primitives to interact with the openapi HTTP API.
|
Package client provides primitives to interact with the openapi HTTP API. |
|
generated
Code generated by gen-platform-cmds.
|
Code generated by gen-platform-cmds. |
|
overrides
Package overrides holds hand-written cobra subcommands that take precedence over the OpenAPI-generated ones.
|
Package overrides holds hand-written cobra subcommands that take precedence over the OpenAPI-generated ones. |
Click to show internal directories.
Click to hide internal directories.