internal/

directory
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: MIT

Directories

Path Synopsis
Package cli holds the cobra commands.
Package cli holds the cobra commands.
Package config holds the data dir layout, config.json, env switches and file-mode helpers.
Package config holds the data dir layout, config.json, env switches and file-mode helpers.
Package guard refuses every MTProto request that is not on an exact read allowlist before it leaves the process.
Package guard refuses every MTProto request that is not on an exact read allowlist before it leaves the process.
Package hook is the Claude Code PreToolUse guard and its settings installer.
Package hook is the Claude Code PreToolUse guard and its settings installer.
Package output holds the JSON envelope and the stable error/exit-code contract.
Package output holds the JSON envelope and the stable error/exit-code contract.
Package tgclient wraps gotd: connection, locking, session storage, peer resolution and the JSON shapes.
Package tgclient wraps gotd: connection, locking, session storage, peer resolution and the JSON shapes.
tgfake
Package tgfake is an in-memory tgclient.Telegram for tests: no network.
Package tgfake is an in-memory tgclient.Telegram for tests: no network.
Package waitnew finds incoming messages newer than a per-chat watermark.
Package waitnew finds incoming messages newer than a per-chat watermark.
Package watch holds the watcher registry, per-watcher state, the send logs and the gate that decides whether a watcher may send one reply.
Package watch holds the watcher registry, per-watcher state, the send logs and the gate that decides whether a watcher may send one reply.

Jump to

Keyboard shortcuts

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