feat(gpapi): expose connection gateway choices

This commit is contained in:
Kevin Yue committed 2026-11-01 23:35:54 +08:00
1 parent 4635b1b4b8
commit e7ddc2ca2a
1 file changed
+4
+4
View File
@@ -105,6 +105,10 @@ impl ConnectInfo {
pub fn gateway(&self) -> &Gateway {
&self.gateway
}
pub fn gateways(&self) -> &[Gateway] {
&self.gateways
}
}
#[derive(Debug, Serialize, Deserialize, Clone)]