fedimovies/src/activitypub/handlers/mod.rs

21 lines
483 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>;
pub mod accept_follow;
pub mod add;
pub mod announce;
pub mod create_note;
pub mod delete;
pub mod follow;
pub mod like;
pub mod move_person;
pub mod reject_follow;
pub mod remove;
pub mod undo;
pub mod undo_follow;
pub mod update;
mod update_note;
pub mod update_person;