Skip to main content

autumn_plugin_slack/
lib.rs

1//! Slack plugin for autumn-web.
2//!
3//! - **Inbound:** signature-checked Events API, slash commands, and interactivity
4//!   routes. Handlers by event type, command, `action_id`, or `callback_id`.
5//! - **Outbound:** a Web API client with retry rules, and `response_url`
6//!   replies.
7//! - **Operations:** health indicator, Prometheus metrics, drain on shutdown.
8//!
9//! See the README for setup.
10
11mod client;
12pub mod config;
13mod engine;
14mod error;
15mod handlers;
16mod health;
17mod metrics;
18pub mod payload;
19mod plugin;
20pub mod policy;
21mod routes;
22pub mod testing;
23pub mod transport;
24mod verify;
25
26pub use client::{AuthTest, MessageRef, SlackClient};
27pub use config::SlackConfig;
28pub use error::{HandlerError, HandlerResult, SlackError};
29pub use handlers::SlackContext;
30pub use health::SlackHealth;
31pub use metrics::SlackMetrics;
32pub use plugin::{DEFAULT_BASE_PATH, PLUGIN_NAME, SlackPlugin, SlackRuntime};
33pub use verify::{SIGNATURE_HEADER, TIMESTAMP_HEADER, Verifier, VerifyError};