mirror of
https://github.com/tiennm99/miti99bot.git
synced 2026-10-05 02:13:50 +00:00
Correct comments that described the retired webhook transport, a removed /cron route, the old KV store and wrapper types, and behaviour that has since changed; drop plan and review labels; reword two startup log lines that overstated or misnamed what they report.
11 lines
630 B
Go
11 lines
630 B
Go
// Package modules is the bot's module framework: the Module, Command, Callback
|
|
// and Cron types a feature package declares, the Registry that Build assembles
|
|
// from the MODULES selection, and the dispatcher that Install wires into the
|
|
// Telegram bot with visibility-based authorization.
|
|
//
|
|
// The module catalog (name → Factory) does not live here. Concrete modules are
|
|
// subpackages (internal/modules/util, /misc, …) that import this package, so
|
|
// keeping the catalog here would create an import cycle. The composition root
|
|
// in cmd/server owns it instead, and tests pass their own catalog into Build.
|
|
package modules
|