fedimovies/src/activitypub/handlers/mod.rs
2022-12-07 21:00:54 +00:00

21 lines
455 B
Rust

pub use super::receiver::HandlerError;
// Handlers should return object type if activity has been accepted
// or None if it has been ignored
pub type HandlerResult = Result<Option<&'static str>, HandlerError>;
pub mod accept;
pub mod add;
pub mod announce;
pub mod create;
pub mod delete;
pub mod follow;
pub mod like;
pub mod r#move;
pub mod reject;
pub mod remove;
pub mod undo;
mod undo_follow;
pub mod update;
mod update_note;
pub mod update_person;