JavaScript is disabled, refresh for a better experience. ambee/giterated

ambee/giterated

Git repository hosting, collaboration, and discovery for the Fediverse.

More progress :)

Amber - ⁨1⁩ year ago

parent: tbd commit: ⁨92c3f32

⁨plugins/giterated-backend/src/lib.rs⁩ - ⁨324⁩ bytes
Raw
1 pub mod handlers;
2 pub mod value;
3
4 use giterated_models::instance::Instance;
5
6 use sqlx::PgPool;
7
8 /// A backend implementation which attempts to resolve data from the instance's database.
9 #[derive(Debug, Clone)]
10 #[allow(unused)]
11 pub struct DatabaseBackend {
12 pub(self) our_instance: Instance,
13 pub(self) pool: PgPool,
14 }
15