Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit 9e238b52 authored by noQils's avatar noQils
Browse files

Create Notification service struct skeleton.

parent a2ac8156
No related branches found
No related tags found
No related merge requests found
pub mod notification;
use rocket::fairing::AdHoc;
pub fn route_stage() -> AdHoc {
......
use rocket::serde::json::Json;
use bambangshop_receiver::Result;
use crate::model::notification::Notification;
use crate::model::subscriber::SubscriberRequest;
use crate::service::notification::NotificationService;
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::notification::Notification;
use crate::model::subscriber::SubscriberRequest;
use crate::repository::notification::NotificationRepository;
pub struct NotificationService;
impl NotificationService {
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment