Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
railgun-routing-server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Railgun
railgun-routing-server
Commits
0da5fc8b
Commit
0da5fc8b
authored
Jan 10, 2026
by
nanamicat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
41c1c307
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/shared/data.rs
src/shared/data.rs
+2
-0
No files found.
src/shared/data.rs
View file @
0da5fc8b
...
@@ -111,6 +111,7 @@ pub struct Database {
...
@@ -111,6 +111,7 @@ pub struct Database {
pub
gateways
:
Vec
<
Gateway
>
,
pub
gateways
:
Vec
<
Gateway
>
,
pub
gateway_groups
:
Vec
<
GatewayGroup
>
,
pub
gateway_groups
:
Vec
<
GatewayGroup
>
,
pub
regions
:
Vec
<
Region
>
,
pub
regions
:
Vec
<
Region
>
,
pub
subnets
:
Vec
<
Subnet
>
,
pub
connections
:
BTreeMap
<
RouterID
,
BTreeMap
<
RouterID
,
Connection
>>
,
pub
connections
:
BTreeMap
<
RouterID
,
BTreeMap
<
RouterID
,
Connection
>>
,
}
}
...
@@ -119,6 +120,7 @@ pub static DATABASE: std::sync::LazyLock<Database> = std::sync::LazyLock::new(||
...
@@ -119,6 +120,7 @@ pub static DATABASE: std::sync::LazyLock<Database> = std::sync::LazyLock::new(||
gateways
:
load_file
(
"import/data/Gateway.json"
),
gateways
:
load_file
(
"import/data/Gateway.json"
),
gateway_groups
:
load_file
(
"import/data/GatewayGroup.json"
),
gateway_groups
:
load_file
(
"import/data/GatewayGroup.json"
),
regions
:
load_file
(
"import/data/Region.json"
),
regions
:
load_file
(
"import/data/Region.json"
),
subnets
:
load_file
(
"import/data/Subnet.json"
),
connections
:
load_file
(
"import/connections.json"
),
connections
:
load_file
(
"import/connections.json"
),
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment