fedimovies/src/activitypub/handlers/mod.rs

18 lines
398 B
Rust
Raw Normal View History

2022-10-23 22:18:01 +00:00
pub use super::receiver::HandlerError;
// Handlers should return object type if activity has been accepted
// or None if it has been ignored
2022-10-23 22:18:01 +00:00
pub type HandlerResult = Result<Option<&'static str>, HandlerError>;
2022-12-07 20:26:51 +00:00
pub mod accept;
pub mod add;
pub mod announce;
2022-12-07 20:26:51 +00:00
pub mod create;
pub mod delete;
pub mod follow;
pub mod like;
2022-12-07 20:26:51 +00:00
pub mod r#move;
pub mod reject;
pub mod remove;
pub mod undo;
pub mod update;