summaryrefslogtreecommitdiff
path: root/src/routing.rs
diff options
context:
space:
mode:
authornamilsk <namilsk@namilsk.tech>2026-03-17 19:19:14 +0300
committernamilsk <namilsk@namilsk.tech>2026-03-17 19:19:14 +0300
commit0d8f7c437399531d700c2e01b4e0b33ba72bd689 (patch)
tree57677d4efa4766b19dda5da6354674cf7ef77d0c /src/routing.rs
parentb2e7bb0317cd75946c275620de0aa9e579c0fae5 (diff)
Working on IP geo parsers && packet router
Diffstat (limited to 'src/routing.rs')
-rw-r--r--src/routing.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/routing.rs b/src/routing.rs
index e69de29..21e355b 100644
--- a/src/routing.rs
+++ b/src/routing.rs
@@ -0,0 +1,9 @@
+use crate::geoparsers::geoip2::GeoIpService;
+
+struct Router {
+ geoip: GeoIpService,
+ // geosite: GeoSiteService
+ // sniffer: Sniffer
+}
+
+