Documentation
¶
Overview ¶
Package chatops is the chat-frontend-agnostic command dispatcher.
Both transports — the legacy /slash HTTP handler and the pull-mode WebSocket listener that natsie uses against Mattermost servers without outbound slash-command support — feed text through Dispatch and render the returned reply verbatim. Anything that wants to add a new sink (Slack RTM, Matrix, an IRC bridge) only needs to plug into Dispatch.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Deps ¶ added in v0.7.0
Deps is the set of dependencies the chat commands need. Both transports (HTTP /slash and the pull-mode WebSocket listener) build one of these and pass it to Dispatch.
Store + Audit are always required. BaseURL + SigningKey are needed only by the on-demand scan command (which embeds a signed approve URL in its reply); other commands ignore them.