- update: major refactor of the database-service to make it easy to add newer api services
- add: character database api
This commit is contained in:
7
database-service/src/grpc/database_service.rs
Normal file
7
database-service/src/grpc/database_service.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
use crate::db::Database;
|
||||
use std::sync::Arc;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct MyDatabaseService {
|
||||
pub db: Arc<Database>, // Use the Database struct from users.rs
|
||||
}
|
||||
Reference in New Issue
Block a user