Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit 3856aa9d authored by dzak27567's avatar dzak27567
Browse files

Create Notification service struct skeleton.

parent 018f9077
No related branches found
No related tags found
No related merge requests found
use rocket::fairing::AdHoc;
pub mod notification;
pub fn route_stage() -> AdHoc {
return AdHoc::on_ignite("Initializing controller routes...", |rocket| async {
rocket
......
use rocket::serde::json::Json;
use bambangshop_receiver::Result;
use crate::model::notification::Notification;
use crate::model::subscriber::SubscriberRequest;
use crate::service::notification::NotificationService;
\ No newline at end of file
pub mod notification;
\ No newline at end of file
use std::thread;
use rocket::http::Status;
use rocket::log;
use rocket::serde::json::to_string;
use rocket::tokio;
use bambangshop_receiver::{APP_CONFIG, REQWEST_CLIENT, Result, compose_error_response};
use crate::model::subscriber::SubscriberRequest;
use crate::repository::notification::NotificationRepository;
pub struct NotificationService;
impl NotificationService {
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment