feat(connection): test SSH tunnel profiles
This commit is contained in:
1 parent
27c60f0d30
commit
c7991b316e
19 files changed
+256
-4
No files matched your search
@@ -17,3 +17,11 @@ pub async fn save_tunnel_profiles(
|
||||
) -> Result<(), String> {
|
||||
state.storage.save_tunnel_profiles(&profiles).await
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub async fn test_tunnel_profile(
|
||||
state: State<'_, Arc<AppState>>,
|
||||
profile: TransportLayerConfig,
|
||||
) -> Result<String, String> {
|
||||
state.test_tunnel_profile(&profile).await
|
||||
}
|
||||
Reference in new issue
Block a user