From 75410ef97b8108513a2f23a86edf6e0fa655210a Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Fri, 19 Aug 2022 07:46:16 +0000 Subject: [PATCH] api for frontend is added --- src/c2se/frontend/api/game.rs | 3 +++ src/c2se/frontend/api/mod.rs | 2 ++ src/c2se/frontend/api/vendor.rs | 3 +++ src/c2se/frontend/mod.rs | 1 + 4 files changed, 9 insertions(+) create mode 100644 src/c2se/frontend/api/game.rs create mode 100644 src/c2se/frontend/api/mod.rs create mode 100644 src/c2se/frontend/api/vendor.rs diff --git a/src/c2se/frontend/api/game.rs b/src/c2se/frontend/api/game.rs new file mode 100644 index 0000000..df14503 --- /dev/null +++ b/src/c2se/frontend/api/game.rs @@ -0,0 +1,3 @@ +const SUBJECT: &str = "bet.beteran.c2se.frontend.api.game"; + +pub const SUBJECT_LIST_GAMES: &str = const_format::concatcp!(SUBJECT, ".ListGames"); diff --git a/src/c2se/frontend/api/mod.rs b/src/c2se/frontend/api/mod.rs new file mode 100644 index 0000000..fd2b58f --- /dev/null +++ b/src/c2se/frontend/api/mod.rs @@ -0,0 +1,2 @@ +pub mod game; +pub mod vendor; diff --git a/src/c2se/frontend/api/vendor.rs b/src/c2se/frontend/api/vendor.rs new file mode 100644 index 0000000..e32eda9 --- /dev/null +++ b/src/c2se/frontend/api/vendor.rs @@ -0,0 +1,3 @@ +const SUBJECT: &str = "bet.beteran.c2se.frontend.api.vendor"; + +pub const SUBJECT_LIST_VENDORS: &str = const_format::concatcp!(SUBJECT, ".ListVendors"); diff --git a/src/c2se/frontend/mod.rs b/src/c2se/frontend/mod.rs index 9d6221e..771e86d 100644 --- a/src/c2se/frontend/mod.rs +++ b/src/c2se/frontend/mod.rs @@ -1,3 +1,4 @@ +pub mod api; pub mod bank; pub mod identity; // pub mod member_bank_account;