Skip to main content

dog_core/
lib.rs

1//! Library template created with FerrisUp
2
3//! dog-core: framework-agnostic core for DogRS.
4
5pub mod app;
6pub mod config;
7pub mod hooks;
8pub mod registry;
9pub mod service;
10pub mod tenant;
11pub mod events;
12pub mod errors;
13pub mod schema;
14
15#[cfg(feature = "adapters")]
16pub mod adapters;
17
18pub use app::{DogApp, ServiceCaller};
19pub use config::{DogConfig, DogConfigSnapshot };
20pub use hooks::{
21    DogAfterHook, DogAroundHook, DogBeforeHook, DogErrorHook, HookContext, Next, ServiceHooks, HookResult,
22};
23pub use registry::DogServiceRegistry;
24pub use service::{DogService, ServiceCapabilities, ServiceMethodKind};
25pub use tenant::{TenantContext, TenantId};
26pub use events::{DogEventHub, ServiceEventKind, ServiceEventData, method_to_standard_event, };
27pub use errors::{DogError, ErrorKind, DogResult};
28pub use schema::{HookMeta, ResolveData, Rules, SchemaHooksExt, ValidateData, WriteMethods};