fedimovies/src/activitypub/handlers/mod.rs

20 lines
471 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;
2022-05-11 12:50:36 +00:00
pub mod update_note;
pub mod update_person;